FastApiAssistant #2
| @@ -1,6 +1,6 @@ | |||||||
| from fastapi import FastAPI, Request | from fastapi import FastAPI, Request | ||||||
| from fastapi.responses import JSONResponse, RedirectResponse | from fastapi.responses import JSONResponse, RedirectResponse | ||||||
| from langchain_community.chat_models import ChatOpenAI | from langchain_openai import ChatOpenAI | ||||||
| from langserve import add_routes | from langserve import add_routes | ||||||
|  |  | ||||||
| from langchain_core.prompts import ChatPromptTemplate | from langchain_core.prompts import ChatPromptTemplate | ||||||
|   | |||||||
							
								
								
									
										21
									
								
								poetry.lock
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										21
									
								
								poetry.lock
									
									
									
										generated
									
									
									
								
							| @@ -2936,6 +2936,25 @@ files = [ | |||||||
| [package.extras] | [package.extras] | ||||||
| diagrams = ["jinja2", "railroad-diagrams"] | diagrams = ["jinja2", "railroad-diagrams"] | ||||||
|  |  | ||||||
|  | [[package]] | ||||||
|  | name = "pypdf" | ||||||
|  | version = "5.1.0" | ||||||
|  | description = "A pure-python PDF library capable of splitting, merging, cropping, and transforming PDF files" | ||||||
|  | optional = false | ||||||
|  | python-versions = ">=3.8" | ||||||
|  | files = [ | ||||||
|  |     {file = "pypdf-5.1.0-py3-none-any.whl", hash = "sha256:3bd4f503f4ebc58bae40d81e81a9176c400cbbac2ba2d877367595fb524dfdfc"}, | ||||||
|  |     {file = "pypdf-5.1.0.tar.gz", hash = "sha256:425a129abb1614183fd1aca6982f650b47f8026867c0ce7c4b9f281c443d2740"}, | ||||||
|  | ] | ||||||
|  |  | ||||||
|  | [package.extras] | ||||||
|  | crypto = ["cryptography"] | ||||||
|  | cryptodome = ["PyCryptodome"] | ||||||
|  | dev = ["black", "flit", "pip-tools", "pre-commit (<2.18.0)", "pytest-cov", "pytest-socket", "pytest-timeout", "pytest-xdist", "wheel"] | ||||||
|  | docs = ["myst_parser", "sphinx", "sphinx_rtd_theme"] | ||||||
|  | full = ["Pillow (>=8.0.0)", "cryptography"] | ||||||
|  | image = ["Pillow (>=8.0.0)"] | ||||||
|  |  | ||||||
| [[package]] | [[package]] | ||||||
| name = "pypika" | name = "pypika" | ||||||
| version = "0.48.9" | version = "0.48.9" | ||||||
| @@ -4300,4 +4319,4 @@ type = ["pytest-mypy"] | |||||||
| [metadata] | [metadata] | ||||||
| lock-version = "2.0" | lock-version = "2.0" | ||||||
| python-versions = "^3.11" | python-versions = "^3.11" | ||||||
| content-hash = "8880baf1589d36f8b10462ccaec00ae7f20346a3d7e61383c9bfbd7d8ff1dadc" | content-hash = "f53d4ac516ba79f844b58552da162a79b030be6080172951005c7e132d29cec2" | ||||||
|   | |||||||
| @@ -29,6 +29,7 @@ jsonify = "^0.5" | |||||||
| protobuf = "^3.20.3" | protobuf = "^3.20.3" | ||||||
| pytz = "^2024.2" | pytz = "^2024.2" | ||||||
| telebot = "^0.0.5" | telebot = "^0.0.5" | ||||||
|  | pypdf = "^5.1.0" | ||||||
|  |  | ||||||
|  |  | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user