Create PDF to JSONL processor using PyPDF and LangChain

Switch `pydantic' to >= 1.9.1 else `langchain.document_loaders' starts
throwing typing error for python 3.8, 3.9
This commit is contained in:
Debanjum Singh Solanky
2023-06-01 09:31:18 +05:30
parent 1b3effd8e6
commit 286b500f66
2 changed files with 16 additions and 28 deletions

View File

@@ -44,7 +44,7 @@ dependencies = [
"tiktoken >= 0.3.0",
"tenacity >= 8.2.2",
"pillow == 9.3.0",
"pydantic == 1.9.1",
"pydantic >= 1.9.1",
"pyqt6 == 6.3.1",
"pyyaml == 6.0",
"rich >= 13.3.1",
@@ -54,6 +54,7 @@ dependencies = [
"uvicorn == 0.17.6",
"aiohttp == 3.8.4",
"langchain >= 0.0.187",
"pypdf >= 3.9.0",
]
dynamic = ["version"]