Spaces:
Sleeping
Sleeping
lucianotonet
commited on
Commit
·
b57470a
1
Parent(s):
6fca5d8
Udpate
Browse files- Dockerfile +1 -1
- app/server.py +6 -2
- poetry.lock +52 -62
- pyproject.toml +2 -2
Dockerfile
CHANGED
@@ -17,4 +17,4 @@ RUN poetry install --no-interaction --no-ansi
|
|
17 |
|
18 |
EXPOSE 7860
|
19 |
|
20 |
-
CMD exec uvicorn app.server:app --host 0.0.0.0 --port 7860 --root-path $PROXY_URL
|
|
|
17 |
|
18 |
EXPOSE 7860
|
19 |
|
20 |
+
CMD exec uvicorn app.server:app --host 0.0.0.0 --port 7860 --root-path $PROXY_URL
|
app/server.py
CHANGED
@@ -15,7 +15,9 @@ app = FastAPI(
|
|
15 |
title="Mav AI API",
|
16 |
version="1.0",
|
17 |
description="A simple api server using Langchain's Runnable interfaces",
|
18 |
-
|
|
|
|
|
19 |
)
|
20 |
|
21 |
@app.get("/")
|
@@ -27,14 +29,16 @@ add_routes(
|
|
27 |
path = "/openai",
|
28 |
app = app,
|
29 |
runnable= ChatOpenAI(model="gpt-4-1106-preview"),
|
|
|
30 |
)
|
31 |
|
32 |
add_routes(
|
33 |
path = "/google",
|
34 |
app = app,
|
35 |
runnable= ChatGoogleGenerativeAI(model="gemini-pro"),
|
|
|
36 |
)
|
37 |
|
38 |
if __name__ == "__main__":
|
39 |
import uvicorn
|
40 |
-
uvicorn.run(app, host="localhost", port=7860, root_path=api_url
|
|
|
15 |
title="Mav AI API",
|
16 |
version="1.0",
|
17 |
description="A simple api server using Langchain's Runnable interfaces",
|
18 |
+
root_path_in_servers=True,
|
19 |
+
root_path=api_url,
|
20 |
+
debug=True,
|
21 |
)
|
22 |
|
23 |
@app.get("/")
|
|
|
29 |
path = "/openai",
|
30 |
app = app,
|
31 |
runnable= ChatOpenAI(model="gpt-4-1106-preview"),
|
32 |
+
disabled_endpoints=["playground"]
|
33 |
)
|
34 |
|
35 |
add_routes(
|
36 |
path = "/google",
|
37 |
app = app,
|
38 |
runnable= ChatGoogleGenerativeAI(model="gemini-pro"),
|
39 |
+
disabled_endpoints=["playground"]
|
40 |
)
|
41 |
|
42 |
if __name__ == "__main__":
|
43 |
import uvicorn
|
44 |
+
uvicorn.run(app, host="localhost", port=7860, root_path=api_url)
|
poetry.lock
CHANGED
@@ -975,26 +975,28 @@ name = "langserve"
|
|
975 |
version = "0.0.37"
|
976 |
description = ""
|
977 |
optional = false
|
978 |
-
python-versions = "
|
979 |
-
files = [
|
980 |
-
|
981 |
-
{file = "langserve-0.0.37.tar.gz", hash = "sha256:ff828558b4d30a23272dfa055763ccc0587df66029bc04d868f61c6143b94fc3"},
|
982 |
-
]
|
983 |
|
984 |
[package.dependencies]
|
985 |
-
fastapi = {version = ">=0.90.1,<1", optional = true
|
986 |
httpx = ">=0.23.0"
|
987 |
-
httpx-sse = {version = ">=0.3.1", optional = true
|
988 |
langchain = ">=0.0.333"
|
989 |
orjson = ">=2"
|
990 |
pydantic = ">=1"
|
991 |
-
sse-starlette = {version = "
|
992 |
|
993 |
[package.extras]
|
994 |
all = ["fastapi (>=0.90.1,<1)", "httpx-sse (>=0.3.1)", "sse-starlette (>=1.3.0,<2.0.0)"]
|
995 |
client = ["httpx-sse (>=0.3.1)"]
|
996 |
server = ["fastapi (>=0.90.1,<1)", "sse-starlette (>=1.3.0,<2.0.0)"]
|
997 |
|
|
|
|
|
|
|
|
|
998 |
[[package]]
|
999 |
name = "langsmith"
|
1000 |
version = "0.0.75"
|
@@ -1665,60 +1667,48 @@ files = [
|
|
1665 |
|
1666 |
[[package]]
|
1667 |
name = "sqlalchemy"
|
1668 |
-
version = "2.0.
|
1669 |
description = "Database Abstraction Library"
|
1670 |
optional = false
|
1671 |
python-versions = ">=3.7"
|
1672 |
files = [
|
1673 |
-
{file = "SQLAlchemy-2.0.
|
1674 |
-
{file = "SQLAlchemy-2.0.
|
1675 |
-
{file = "SQLAlchemy-2.0.
|
1676 |
-
{file = "SQLAlchemy-2.0.
|
1677 |
-
{file = "SQLAlchemy-2.0.
|
1678 |
-
{file = "SQLAlchemy-2.0.
|
1679 |
-
{file = "SQLAlchemy-2.0.
|
1680 |
-
{file = "SQLAlchemy-2.0.
|
1681 |
-
{file = "SQLAlchemy-2.0.
|
1682 |
-
{file = "SQLAlchemy-2.0.
|
1683 |
-
{file = "SQLAlchemy-2.0.
|
1684 |
-
{file = "SQLAlchemy-2.0.
|
1685 |
-
{file = "SQLAlchemy-2.0.
|
1686 |
-
{file = "SQLAlchemy-2.0.
|
1687 |
-
{file = "SQLAlchemy-2.0.
|
1688 |
-
{file = "SQLAlchemy-2.0.
|
1689 |
-
{file = "SQLAlchemy-2.0.
|
1690 |
-
{file = "SQLAlchemy-2.0.
|
1691 |
-
{file = "SQLAlchemy-2.0.
|
1692 |
-
{file = "SQLAlchemy-2.0.
|
1693 |
-
{file = "SQLAlchemy-2.0.
|
1694 |
-
{file = "SQLAlchemy-2.0.
|
1695 |
-
{file = "SQLAlchemy-2.0.
|
1696 |
-
{file = "SQLAlchemy-2.0.
|
1697 |
-
{file = "SQLAlchemy-2.0.
|
1698 |
-
{file = "SQLAlchemy-2.0.
|
1699 |
-
{file = "SQLAlchemy-2.0.
|
1700 |
-
{file = "SQLAlchemy-2.0.
|
1701 |
-
{file = "SQLAlchemy-2.0.
|
1702 |
-
{file = "SQLAlchemy-2.0.
|
1703 |
-
{file = "SQLAlchemy-2.0.
|
1704 |
-
{file = "SQLAlchemy-2.0.
|
1705 |
-
{file = "SQLAlchemy-2.0.
|
1706 |
-
{file = "SQLAlchemy-2.0.
|
1707 |
-
{file = "SQLAlchemy-2.0.
|
1708 |
-
{file = "SQLAlchemy-2.0.
|
1709 |
-
{file = "SQLAlchemy-2.0.
|
1710 |
-
{file = "SQLAlchemy-2.0.23-cp38-cp38-win32.whl", hash = "sha256:42ede90148b73fe4ab4a089f3126b2cfae8cfefc955c8174d697bb46210c8306"},
|
1711 |
-
{file = "SQLAlchemy-2.0.23-cp38-cp38-win_amd64.whl", hash = "sha256:964971b52daab357d2c0875825e36584d58f536e920f2968df8d581054eada4b"},
|
1712 |
-
{file = "SQLAlchemy-2.0.23-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:616fe7bcff0a05098f64b4478b78ec2dfa03225c23734d83d6c169eb41a93e55"},
|
1713 |
-
{file = "SQLAlchemy-2.0.23-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:0e680527245895aba86afbd5bef6c316831c02aa988d1aad83c47ffe92655e74"},
|
1714 |
-
{file = "SQLAlchemy-2.0.23-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:9585b646ffb048c0250acc7dad92536591ffe35dba624bb8fd9b471e25212a35"},
|
1715 |
-
{file = "SQLAlchemy-2.0.23-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4895a63e2c271ffc7a81ea424b94060f7b3b03b4ea0cd58ab5bb676ed02f4221"},
|
1716 |
-
{file = "SQLAlchemy-2.0.23-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:cc1d21576f958c42d9aec68eba5c1a7d715e5fc07825a629015fe8e3b0657fb0"},
|
1717 |
-
{file = "SQLAlchemy-2.0.23-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:967c0b71156f793e6662dd839da54f884631755275ed71f1539c95bbada9aaab"},
|
1718 |
-
{file = "SQLAlchemy-2.0.23-cp39-cp39-win32.whl", hash = "sha256:0a8c6aa506893e25a04233bc721c6b6cf844bafd7250535abb56cb6cc1368884"},
|
1719 |
-
{file = "SQLAlchemy-2.0.23-cp39-cp39-win_amd64.whl", hash = "sha256:f3420d00d2cb42432c1d0e44540ae83185ccbbc67a6054dcc8ab5387add6620b"},
|
1720 |
-
{file = "SQLAlchemy-2.0.23-py3-none-any.whl", hash = "sha256:31952bbc527d633b9479f5f81e8b9dfada00b91d6baba021a869095f1a97006d"},
|
1721 |
-
{file = "SQLAlchemy-2.0.23.tar.gz", hash = "sha256:c1bda93cbbe4aa2aa0aa8655c5aeda505cd219ff3e8da91d1d329e143e4aff69"},
|
1722 |
]
|
1723 |
|
1724 |
[package.dependencies]
|
@@ -1728,7 +1718,7 @@ typing-extensions = ">=4.2.0"
|
|
1728 |
[package.extras]
|
1729 |
aiomysql = ["aiomysql (>=0.2.0)", "greenlet (!=0.4.17)"]
|
1730 |
aioodbc = ["aioodbc", "greenlet (!=0.4.17)"]
|
1731 |
-
aiosqlite = ["aiosqlite", "greenlet (!=0.4.17)", "
|
1732 |
asyncio = ["greenlet (!=0.4.17)"]
|
1733 |
asyncmy = ["asyncmy (>=0.2.3,!=0.2.4,!=0.2.6)", "greenlet (!=0.4.17)"]
|
1734 |
mariadb-connector = ["mariadb (>=1.0.1,!=1.1.2,!=1.1.5)"]
|
@@ -1738,7 +1728,7 @@ mssql-pyodbc = ["pyodbc"]
|
|
1738 |
mypy = ["mypy (>=0.910)"]
|
1739 |
mysql = ["mysqlclient (>=1.4.0)"]
|
1740 |
mysql-connector = ["mysql-connector-python"]
|
1741 |
-
oracle = ["
|
1742 |
oracle-oracledb = ["oracledb (>=1.0.1)"]
|
1743 |
postgresql = ["psycopg2 (>=2.7)"]
|
1744 |
postgresql-asyncpg = ["asyncpg", "greenlet (!=0.4.17)"]
|
@@ -1748,7 +1738,7 @@ postgresql-psycopg2binary = ["psycopg2-binary"]
|
|
1748 |
postgresql-psycopg2cffi = ["psycopg2cffi"]
|
1749 |
postgresql-psycopgbinary = ["psycopg[binary] (>=3.0.7)"]
|
1750 |
pymysql = ["pymysql"]
|
1751 |
-
sqlcipher = ["
|
1752 |
|
1753 |
[[package]]
|
1754 |
name = "sse-starlette"
|
@@ -2019,4 +2009,4 @@ multidict = ">=4.0"
|
|
2019 |
[metadata]
|
2020 |
lock-version = "2.0"
|
2021 |
python-versions = "3.11.6"
|
2022 |
-
content-hash = "
|
|
|
975 |
version = "0.0.37"
|
976 |
description = ""
|
977 |
optional = false
|
978 |
+
python-versions = "^3.8.1"
|
979 |
+
files = []
|
980 |
+
develop = false
|
|
|
|
|
981 |
|
982 |
[package.dependencies]
|
983 |
+
fastapi = {version = ">=0.90.1,<1", optional = true}
|
984 |
httpx = ">=0.23.0"
|
985 |
+
httpx-sse = {version = ">=0.3.1", optional = true}
|
986 |
langchain = ">=0.0.333"
|
987 |
orjson = ">=2"
|
988 |
pydantic = ">=1"
|
989 |
+
sse-starlette = {version = "^1.3.0", optional = true}
|
990 |
|
991 |
[package.extras]
|
992 |
all = ["fastapi (>=0.90.1,<1)", "httpx-sse (>=0.3.1)", "sse-starlette (>=1.3.0,<2.0.0)"]
|
993 |
client = ["httpx-sse (>=0.3.1)"]
|
994 |
server = ["fastapi (>=0.90.1,<1)", "sse-starlette (>=1.3.0,<2.0.0)"]
|
995 |
|
996 |
+
[package.source]
|
997 |
+
type = "directory"
|
998 |
+
url = "../../../lucianotonet/langserve"
|
999 |
+
|
1000 |
[[package]]
|
1001 |
name = "langsmith"
|
1002 |
version = "0.0.75"
|
|
|
1667 |
|
1668 |
[[package]]
|
1669 |
name = "sqlalchemy"
|
1670 |
+
version = "2.0.24"
|
1671 |
description = "Database Abstraction Library"
|
1672 |
optional = false
|
1673 |
python-versions = ">=3.7"
|
1674 |
files = [
|
1675 |
+
{file = "SQLAlchemy-2.0.24-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:5f801d85ba4753d4ed97181d003e5d3fa330ac7c4587d131f61d7f968f416862"},
|
1676 |
+
{file = "SQLAlchemy-2.0.24-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:b35c35e3923ade1e7ac44e150dec29f5863513246c8bf85e2d7d313e3832bcfb"},
|
1677 |
+
{file = "SQLAlchemy-2.0.24-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7a6209e689d0ff206c40032b6418e3cfcfc5af044b3f66e381d7f1ae301544b4"},
|
1678 |
+
{file = "SQLAlchemy-2.0.24-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:c6910eb4ea90c0889f363965cd3c8c45a620ad27b526a7899f0054f6c1b9219e"},
|
1679 |
+
{file = "SQLAlchemy-2.0.24-cp310-cp310-win32.whl", hash = "sha256:d8e7e8a150e7b548e7ecd6ebb9211c37265991bf2504297d9454e01b58530fc6"},
|
1680 |
+
{file = "SQLAlchemy-2.0.24-cp310-cp310-win_amd64.whl", hash = "sha256:396f05c552f7fa30a129497c41bef5b4d1423f9af8fe4df0c3dcd38f3e3b9a14"},
|
1681 |
+
{file = "SQLAlchemy-2.0.24-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:adbd67dac4ebf54587198b63cd30c29fd7eafa8c0cab58893d9419414f8efe4b"},
|
1682 |
+
{file = "SQLAlchemy-2.0.24-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:a0f611b431b84f55779cbb7157257d87b4a2876b067c77c4f36b15e44ced65e2"},
|
1683 |
+
{file = "SQLAlchemy-2.0.24-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6db686a1d9f183c639f7e06a2656af25d4ed438eda581de135d15569f16ace33"},
|
1684 |
+
{file = "SQLAlchemy-2.0.24-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:4a1d4856861ba9e73bac05030cec5852eabfa9ef4af8e56c19d92de80d46fc34"},
|
1685 |
+
{file = "SQLAlchemy-2.0.24-cp311-cp311-win32.whl", hash = "sha256:a3c2753bf4f48b7a6024e5e8a394af49b1b12c817d75d06942cae03d14ff87b3"},
|
1686 |
+
{file = "SQLAlchemy-2.0.24-cp311-cp311-win_amd64.whl", hash = "sha256:38732884eabc64982a09a846bacf085596ff2371e4e41d20c0734f7e50525d01"},
|
1687 |
+
{file = "SQLAlchemy-2.0.24-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:9f992e0f916201731993eab8502912878f02287d9f765ef843677ff118d0e0b1"},
|
1688 |
+
{file = "SQLAlchemy-2.0.24-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:2587e108463cc2e5b45a896b2e7cc8659a517038026922a758bde009271aed11"},
|
1689 |
+
{file = "SQLAlchemy-2.0.24-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:83fa6df0e035689df89ff77a46bf8738696785d3156c2c61494acdcddc75c69d"},
|
1690 |
+
{file = "SQLAlchemy-2.0.24-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:57ef6f2cb8b09a042d0dbeaa46a30f2df5dd1e1eb889ba258b0d5d7d6011b81c"},
|
1691 |
+
{file = "SQLAlchemy-2.0.24-cp312-cp312-win32.whl", hash = "sha256:ea490564435b5b204d8154f0e18387b499ea3cedc1e6af3b3a2ab18291d85aa7"},
|
1692 |
+
{file = "SQLAlchemy-2.0.24-cp312-cp312-win_amd64.whl", hash = "sha256:ccfd336f96d4c9bbab0309f2a565bf15c468c2d8b2d277a32f89c5940f71fcf9"},
|
1693 |
+
{file = "SQLAlchemy-2.0.24-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:9aaaaa846b10dfbe1bda71079d0e31a7e2cebedda9409fa7dba3dfed1ae803e8"},
|
1694 |
+
{file = "SQLAlchemy-2.0.24-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a04191a7c8d77e63f6fc1e8336d6c6e93176c0c010833e74410e647f0284f5a1"},
|
1695 |
+
{file = "SQLAlchemy-2.0.24-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:00d76fe5d7cdb5d84d625ce002ce29fefba0bfd98e212ae66793fed30af73931"},
|
1696 |
+
{file = "SQLAlchemy-2.0.24-cp37-cp37m-win32.whl", hash = "sha256:29e51f848f843bbd75d74ae64ab1ab06302cb1dccd4549d1f5afe6b4a946edb2"},
|
1697 |
+
{file = "SQLAlchemy-2.0.24-cp37-cp37m-win_amd64.whl", hash = "sha256:e9d036e343a604db3f5a6c33354018a84a1d3f6dcae3673358b404286204798c"},
|
1698 |
+
{file = "SQLAlchemy-2.0.24-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:9bafaa05b19dc07fa191c1966c5e852af516840b0d7b46b7c3303faf1a349bc9"},
|
1699 |
+
{file = "SQLAlchemy-2.0.24-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:e69290b921b7833c04206f233d6814c60bee1d135b09f5ae5d39229de9b46cd4"},
|
1700 |
+
{file = "SQLAlchemy-2.0.24-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f073321a79c81e1a009218a21089f61d87ee5fa3c9563f6be94f8b41ff181812"},
|
1701 |
+
{file = "SQLAlchemy-2.0.24-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:fcf84fe93397a0f67733aa2a38ed4eab9fc6348189fc950e656e1ea198f45668"},
|
1702 |
+
{file = "SQLAlchemy-2.0.24-cp38-cp38-win32.whl", hash = "sha256:6f5e75de91c754365c098ac08c13fdb267577ce954fa239dd49228b573ca88d7"},
|
1703 |
+
{file = "SQLAlchemy-2.0.24-cp38-cp38-win_amd64.whl", hash = "sha256:9f29c7f0f4b42337ec5a779e166946a9f86d7d56d827e771b69ecbdf426124ac"},
|
1704 |
+
{file = "SQLAlchemy-2.0.24-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:07cc423892f2ceda9ae1daa28c0355757f362ecc7505b1ab1a3d5d8dc1c44ac6"},
|
1705 |
+
{file = "SQLAlchemy-2.0.24-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:2a479aa1ab199178ff1956b09ca8a0693e70f9c762875d69292d37049ffd0d8f"},
|
1706 |
+
{file = "SQLAlchemy-2.0.24-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e17e7e27af178d31b436dda6a596703b02a89ba74a15e2980c35ecd9909eea3a"},
|
1707 |
+
{file = "SQLAlchemy-2.0.24-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:db09e424d7bb89b6215a184ca93b4f29d7f00ea261b787918a1af74143b98c06"},
|
1708 |
+
{file = "SQLAlchemy-2.0.24-cp39-cp39-win32.whl", hash = "sha256:a5cd7d30e47f87b21362beeb3e86f1b5886e7d9b0294b230dde3d3f4a1591375"},
|
1709 |
+
{file = "SQLAlchemy-2.0.24-cp39-cp39-win_amd64.whl", hash = "sha256:7ae5d44517fe81079ce75cf10f96978284a6db2642c5932a69c82dbae09f009a"},
|
1710 |
+
{file = "SQLAlchemy-2.0.24-py3-none-any.whl", hash = "sha256:8f358f5cfce04417b6ff738748ca4806fe3d3ae8040fb4e6a0c9a6973ccf9b6e"},
|
1711 |
+
{file = "SQLAlchemy-2.0.24.tar.gz", hash = "sha256:6db97656fd3fe3f7e5b077f12fa6adb5feb6e0b567a3e99f47ecf5f7ea0a09e3"},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1712 |
]
|
1713 |
|
1714 |
[package.dependencies]
|
|
|
1718 |
[package.extras]
|
1719 |
aiomysql = ["aiomysql (>=0.2.0)", "greenlet (!=0.4.17)"]
|
1720 |
aioodbc = ["aioodbc", "greenlet (!=0.4.17)"]
|
1721 |
+
aiosqlite = ["aiosqlite", "greenlet (!=0.4.17)", "typing_extensions (!=3.10.0.1)"]
|
1722 |
asyncio = ["greenlet (!=0.4.17)"]
|
1723 |
asyncmy = ["asyncmy (>=0.2.3,!=0.2.4,!=0.2.6)", "greenlet (!=0.4.17)"]
|
1724 |
mariadb-connector = ["mariadb (>=1.0.1,!=1.1.2,!=1.1.5)"]
|
|
|
1728 |
mypy = ["mypy (>=0.910)"]
|
1729 |
mysql = ["mysqlclient (>=1.4.0)"]
|
1730 |
mysql-connector = ["mysql-connector-python"]
|
1731 |
+
oracle = ["cx_oracle (>=8)"]
|
1732 |
oracle-oracledb = ["oracledb (>=1.0.1)"]
|
1733 |
postgresql = ["psycopg2 (>=2.7)"]
|
1734 |
postgresql-asyncpg = ["asyncpg", "greenlet (!=0.4.17)"]
|
|
|
1738 |
postgresql-psycopg2cffi = ["psycopg2cffi"]
|
1739 |
postgresql-psycopgbinary = ["psycopg[binary] (>=3.0.7)"]
|
1740 |
pymysql = ["pymysql"]
|
1741 |
+
sqlcipher = ["sqlcipher3_binary"]
|
1742 |
|
1743 |
[[package]]
|
1744 |
name = "sse-starlette"
|
|
|
2009 |
[metadata]
|
2010 |
lock-version = "2.0"
|
2011 |
python-versions = "3.11.6"
|
2012 |
+
content-hash = "078e67133ab722ab0beee3213e3f5b1da6a5688eb379f4614ebdb9c7bd4354ab"
|
pyproject.toml
CHANGED
@@ -11,14 +11,14 @@ packages = [
|
|
11 |
[tool.poetry.dependencies]
|
12 |
python = "3.11.6"
|
13 |
uvicorn = "^0.23.2"
|
14 |
-
|
15 |
-
pydantic = "<2"
|
16 |
python-dotenv = "^1.0.0"
|
17 |
langchain-google-genai = "^0.0.5"
|
18 |
pillow = "^10.1.0"
|
19 |
fastapi = "^0.105.0"
|
20 |
openai = "^1.6.1"
|
21 |
google = "^3.0.0"
|
|
|
22 |
|
23 |
|
24 |
[tool.poetry.group.dev.dependencies]
|
|
|
11 |
[tool.poetry.dependencies]
|
12 |
python = "3.11.6"
|
13 |
uvicorn = "^0.23.2"
|
14 |
+
pydantic = "1.10.13"
|
|
|
15 |
python-dotenv = "^1.0.0"
|
16 |
langchain-google-genai = "^0.0.5"
|
17 |
pillow = "^10.1.0"
|
18 |
fastapi = "^0.105.0"
|
19 |
openai = "^1.6.1"
|
20 |
google = "^3.0.0"
|
21 |
+
langserve = {path = "D:/lucianotonet/langserve"}
|
22 |
|
23 |
|
24 |
[tool.poetry.group.dev.dependencies]
|