Skip to content

Commit f86d047

Browse files
authored
chore(deps): add nvaie and update lc community package range (#1105)
* chore(deps): add nvaie langchain pakcage as extra dep and update lc community version range * chore: increase lower bound as there is a bug with langchain_hugginface pre 2.5
1 parent 0a6968b commit f86d047

File tree

2 files changed

+25
-32
lines changed

2 files changed

+25
-32
lines changed

poetry.lock

+18-30
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

+7-2
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ httpx = ">=0.24.1"
6262
jinja2 = ">=3.1.6"
6363
langchain = ">=0.2.14,<0.4.0"
6464
langchain-core = ">=0.2.14,<0.4.0"
65-
langchain-community = ">=0.0.16,<0.4.0"
65+
langchain-community = ">=0.2.5,<0.4.0"
6666
lark = ">=1.1.7"
6767
nest-asyncio = ">=1.5.6,"
6868
prompt-toolkit = ">=3.0"
@@ -95,6 +95,9 @@ presidio-anonymizer = { version = ">=2.2", optional = true }
9595
# poetry 3.8.4 does not exist for python 3.9
9696
spacy = { version = ">=3.7.2,<3.8.0", optional = true } # Capping spacy to spacy<3.8.0 see https://github.com/explosion/cython-blis/issues/117
9797

98+
# nim
99+
langchain-nvidia-ai-endpoints = { version = ">= 0.2.0", optional = true }
100+
98101
# gpc
99102
google-cloud-language = { version = ">=2.14.0", optional = true }
100103

@@ -104,6 +107,7 @@ eval = ["tqdm", "numpy", "streamlit"]
104107
openai = ["langchain-openai"]
105108
gcp = ["google-cloud-language"]
106109
tracing = ["opentelemetry-api", "opentelemetry-sdk", "aiofiles"]
110+
nvidia = ["langchain-nvidia-ai-endpoints"]
107111
# Poetry does not support recursive dependencies, so we need to add all the dependencies here.
108112
# I also support their decision. There is no PEP for recursive dependencies, but it has been supported in pip since version 21.2.
109113
# It is here for backward compatibility.
@@ -119,6 +123,7 @@ all = [
119123
"opentelemetry-api",
120124
"opentelemetry-sdk",
121125
"aiofiles",
126+
"langchain-nvidia-ai-endpoints",
122127
]
123128

124129
[tool.poetry.group.dev]
@@ -149,7 +154,7 @@ sphinx-reredirects = "<0.2"
149154
sphinx = "<=7.5"
150155
myst-parser = "<=5"
151156
sphinx-copybutton = "<=0.6"
152-
nvidia-sphinx-theme = { version = ">=0.0.8", python = ">=3.10"}
157+
nvidia-sphinx-theme = { version = ">=0.0.8", python = ">=3.10" }
153158

154159

155160
[tool.pytest.ini_options]

0 commit comments

Comments
 (0)