-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpyproject.toml
48 lines (40 loc) · 1.43 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
[tool.poetry]
name = "langchain-openai-api-bridge"
version = "0.11.3"
description = "A bridge to use Langchain output as an OpenAI-compatible API."
authors = ["Samuel Magny <[email protected]>"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/samuelint/langchain-openai-api-bridge"
[tool.poetry.dependencies]
python = ">=3.9,<4.0"
openai = "^1.35.1"
langchain = { version = "^0.2.6", optional = true }
langchain-openai = { version = "^0.1.8", optional = true }
fastapi = { version = "^0.111.0", optional = true }
python-dotenv = { version = "^1.0.1", optional = true }
langgraph = { version = "^0.2.16", optional = true }
langchain-anthropic = { version = "^0.1.19", optional = true }
langchain-groq = { version = "^0.1.6", optional = true }
[tool.poetry.group.dev.dependencies]
flake8 = "^7.0.0"
validators = "^0.28.3"
pytest-mock = "^3.14.0"
[tool.poetry.group.test.dependencies]
pytest-asyncio = "^0.23.7"
pytest = "^8.2.2"
pytest-watch = "^4.2.0"
decoy = "^2.1.1"
injector = "^0.21.0"
langchain-llamacpp-chat-model = "^0.2.2"
langchain-community = "^0.2.9"
langchain-experimental = "^0.0.62"
fastapi-injector = { version = "^0.6.0", python = ">=3.9,<3.13" }
[tool.poetry.extras]
langchain = ["langchain", "langchain-openai", "langgraph"]
anthropic = ["langchain-anthropic"]
groq = ["langchain-groq"]
langchain_serve = ["fastapi", "python-dotenv"]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"