Move message truncation logic into a separate function. Add unit tests with factory boy.

This commit is contained in:
Saba
2023-06-05 18:58:29 -07:00
parent 5f4223efb4
commit f65ff9815d
3 changed files with 98 additions and 8 deletions

View File

@@ -56,6 +56,8 @@ dependencies = [
"aiohttp == 3.8.4",
"langchain >= 0.0.187",
"pypdf >= 3.9.0",
"factory-boy==3.2.1",
"Faker==18.10.1"
]
dynamic = ["version"]