Skip to content

Commit 405258b

Browse files
authoredSep 24, 2024··
Upgrade chatbot example to langchain 0.3 (#332)
1 parent b59f3c7 commit 405258b

File tree

2 files changed

+63
-32
lines changed

2 files changed

+63
-32
lines changed
 

‎example-apps/chatbot-rag-app/requirements.in

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ pip-tools
44
# core dependencies
55
elasticsearch
66
langchain
7+
langchain-community
78
langchain-elasticsearch
89
tiktoken
910
flask

‎example-apps/chatbot-rag-app/requirements.txt

+62-32
Original file line numberDiff line numberDiff line change
@@ -7,24 +7,26 @@
77
aiohappyeyeballs==2.4.0
88
# via aiohttp
99
aiohttp==3.10.5
10-
# via langchain
10+
# via
11+
# langchain
12+
# langchain-community
1113
aiosignal==1.3.1
1214
# via aiohttp
1315
annotated-types==0.7.0
1416
# via pydantic
15-
anyio==4.4.0
17+
anyio==4.6.0
1618
# via
1719
# httpx
1820
# openai
1921
attrs==24.2.0
2022
# via aiohttp
2123
blinker==1.8.2
2224
# via flask
23-
boto3==1.35.15
25+
boto3==1.35.24
2426
# via
2527
# -r requirements.in
2628
# cohere
27-
botocore==1.35.15
29+
botocore==1.35.24
2830
# via
2931
# boto3
3032
# s3transfer
@@ -44,8 +46,10 @@ click==8.1.7
4446
# via
4547
# flask
4648
# pip-tools
47-
cohere==5.9.1
49+
cohere==5.9.4
4850
# via -r requirements.in
51+
dataclasses-json==0.6.7
52+
# via langchain-community
4953
distro==1.9.0
5054
# via openai
5155
docstring-parser==0.16
@@ -60,7 +64,7 @@ exceptiongroup==1.2.2
6064
# via -r requirements.in
6165
fastavro==1.9.7
6266
# via cohere
63-
filelock==3.16.0
67+
filelock==3.16.1
6468
# via huggingface-hub
6569
flask==3.0.3
6670
# via
@@ -74,22 +78,22 @@ frozenlist==1.4.1
7478
# aiosignal
7579
fsspec==2024.9.0
7680
# via huggingface-hub
77-
google-api-core[grpc]==2.19.2
81+
google-api-core[grpc]==2.20.0
7882
# via
7983
# google-cloud-aiplatform
8084
# google-cloud-bigquery
8185
# google-cloud-core
8286
# google-cloud-resource-manager
8387
# google-cloud-storage
84-
google-auth==2.34.0
88+
google-auth==2.35.0
8589
# via
8690
# google-api-core
8791
# google-cloud-aiplatform
8892
# google-cloud-bigquery
8993
# google-cloud-core
9094
# google-cloud-resource-manager
9195
# google-cloud-storage
92-
google-cloud-aiplatform==1.65.0
96+
google-cloud-aiplatform==1.67.1
9397
# via -r requirements.in
9498
google-cloud-bigquery==3.25.0
9599
# via google-cloud-aiplatform
@@ -140,15 +144,15 @@ httpx-sse==0.4.0
140144
# via
141145
# cohere
142146
# langchain-mistralai
143-
huggingface-hub==0.24.6
147+
huggingface-hub==0.25.1
144148
# via tokenizers
145-
idna==3.8
149+
idna==3.10
146150
# via
147151
# anyio
148152
# httpx
149153
# requests
150154
# yarl
151-
importlib-metadata==8.4.0
155+
importlib-metadata==8.5.0
152156
# via -r requirements.in
153157
itsdangerous==2.2.0
154158
# via flask
@@ -164,41 +168,52 @@ jsonpatch==1.33
164168
# via langchain-core
165169
jsonpointer==3.0.0
166170
# via jsonpatch
167-
langchain==0.2.16
171+
langchain==0.3.0
172+
# via
173+
# -r requirements.in
174+
# langchain-community
175+
langchain-community==0.3.0
168176
# via -r requirements.in
169-
langchain-core==0.2.38
177+
langchain-core==0.3.5
170178
# via
171179
# langchain
180+
# langchain-community
172181
# langchain-elasticsearch
173182
# langchain-mistralai
174183
# langchain-text-splitters
175-
langchain-elasticsearch==0.2.2
184+
langchain-elasticsearch==0.3.0
176185
# via -r requirements.in
177-
langchain-mistralai==0.1.13
186+
langchain-mistralai==0.2.0
178187
# via -r requirements.in
179-
langchain-text-splitters==0.2.4
188+
langchain-text-splitters==0.3.0
180189
# via langchain
181-
langsmith==0.1.117
190+
langsmith==0.1.125
182191
# via
183192
# langchain
193+
# langchain-community
184194
# langchain-core
185195
markupsafe==2.1.5
186196
# via
187197
# jinja2
188198
# werkzeug
199+
marshmallow==3.22.0
200+
# via dataclasses-json
189201
multidict==6.1.0
190202
# via
191203
# aiohttp
192204
# yarl
205+
mypy-extensions==1.0.0
206+
# via typing-inspect
193207
numexpr==2.10.1
194208
# via -r requirements.in
195209
numpy==1.26.4
196210
# via
197211
# elasticsearch
198212
# langchain
213+
# langchain-community
199214
# numexpr
200215
# shapely
201-
openai==1.44.1
216+
openai==1.47.0
202217
# via -r requirements.in
203218
orjson==3.10.7
204219
# via langsmith
@@ -209,6 +224,7 @@ packaging==24.1
209224
# google-cloud-bigquery
210225
# huggingface-hub
211226
# langchain-core
227+
# marshmallow
212228
parameterized==0.9.0
213229
# via cohere
214230
pip-tools==7.4.1
@@ -218,7 +234,7 @@ proto-plus==1.24.0
218234
# google-api-core
219235
# google-cloud-aiplatform
220236
# google-cloud-resource-manager
221-
protobuf==5.28.0
237+
protobuf==5.28.2
222238
# via
223239
# google-api-core
224240
# google-cloud-aiplatform
@@ -227,24 +243,28 @@ protobuf==5.28.0
227243
# grpc-google-iam-v1
228244
# grpcio-status
229245
# proto-plus
230-
pyasn1==0.6.0
246+
pyasn1==0.6.1
231247
# via
232248
# pyasn1-modules
233249
# rsa
234-
pyasn1-modules==0.4.0
250+
pyasn1-modules==0.4.1
235251
# via google-auth
236-
pydantic==2.9.1
252+
pydantic==2.9.2
237253
# via
238254
# cohere
239255
# google-cloud-aiplatform
240256
# langchain
241257
# langchain-core
258+
# langchain-mistralai
242259
# langsmith
243260
# openai
244-
pydantic-core==2.23.3
261+
# pydantic-settings
262+
pydantic-core==2.23.4
245263
# via
246264
# cohere
247265
# pydantic
266+
pydantic-settings==2.5.2
267+
# via langchain-community
248268
pyproject-hooks==1.1.0
249269
# via
250270
# build
@@ -254,13 +274,16 @@ python-dateutil==2.9.0.post0
254274
# botocore
255275
# google-cloud-bigquery
256276
python-dotenv==1.0.1
257-
# via -r requirements.in
277+
# via
278+
# -r requirements.in
279+
# pydantic-settings
258280
pyyaml==6.0.2
259281
# via
260282
# huggingface-hub
261283
# langchain
284+
# langchain-community
262285
# langchain-core
263-
regex==2024.7.24
286+
regex==2024.9.11
264287
# via tiktoken
265288
requests==2.32.3
266289
# via
@@ -270,6 +293,7 @@ requests==2.32.3
270293
# google-cloud-storage
271294
# huggingface-hub
272295
# langchain
296+
# langchain-community
273297
# langsmith
274298
# tiktoken
275299
rsa==4.9
@@ -278,7 +302,7 @@ s3transfer==0.10.2
278302
# via boto3
279303
shapely==2.0.6
280304
# via google-cloud-aiplatform
281-
simsimd==5.1.2
305+
simsimd==5.4.2
282306
# via elasticsearch
283307
six==1.16.0
284308
# via python-dateutil
@@ -287,11 +311,14 @@ sniffio==1.3.1
287311
# anyio
288312
# httpx
289313
# openai
290-
sqlalchemy==2.0.34
291-
# via langchain
314+
sqlalchemy==2.0.35
315+
# via
316+
# langchain
317+
# langchain-community
292318
tenacity==8.5.0
293319
# via
294320
# langchain
321+
# langchain-community
295322
# langchain-core
296323
tiktoken==0.7.0
297324
# via -r requirements.in
@@ -303,7 +330,7 @@ tqdm==4.66.5
303330
# via
304331
# huggingface-hub
305332
# openai
306-
types-requests==2.32.0.20240907
333+
types-requests==2.32.0.20240914
307334
# via cohere
308335
typing-extensions==4.12.2
309336
# via
@@ -314,7 +341,10 @@ typing-extensions==4.12.2
314341
# pydantic
315342
# pydantic-core
316343
# sqlalchemy
317-
urllib3==2.2.2
344+
# typing-inspect
345+
typing-inspect==0.9.0
346+
# via dataclasses-json
347+
urllib3==2.2.3
318348
# via
319349
# botocore
320350
# elastic-transport
@@ -326,7 +356,7 @@ wheel==0.44.0
326356
# via pip-tools
327357
yarl==1.11.1
328358
# via aiohttp
329-
zipp==3.20.1
359+
zipp==3.20.2
330360
# via importlib-metadata
331361

332362
# The following packages are considered to be unsafe in a requirements file:

0 commit comments

Comments
 (0)