build: make langchain-serve optional
This commit is contained in:
parent
1ba8d775c1
commit
8e4e627451
1 changed files with 4 additions and 1 deletions
|
|
@ -51,7 +51,7 @@ websockets = "^11.0.2"
|
||||||
tiktoken = "^0.3.3"
|
tiktoken = "^0.3.3"
|
||||||
wikipedia = "^1.4.0"
|
wikipedia = "^1.4.0"
|
||||||
gptcache = "^0.1.23"
|
gptcache = "^0.1.23"
|
||||||
langchain-serve = "^0.0.30"
|
langchain-serve = { version = "^0.0.31", optional = true }
|
||||||
|
|
||||||
[tool.poetry.group.dev.dependencies]
|
[tool.poetry.group.dev.dependencies]
|
||||||
black = "^23.1.0"
|
black = "^23.1.0"
|
||||||
|
|
@ -67,6 +67,9 @@ pandas-stubs = "^2.0.0.230412"
|
||||||
types-pillow = "^9.5.0.2"
|
types-pillow = "^9.5.0.2"
|
||||||
|
|
||||||
|
|
||||||
|
[tool.poetry.extras]
|
||||||
|
production = ["langchain-serve"]
|
||||||
|
|
||||||
[tool.ruff]
|
[tool.ruff]
|
||||||
line-length = 120
|
line-length = 120
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue