James Edmunds Claude Opus 4.6 commited on
Commit
49f188e
·
1 Parent(s): 4b3ff7e

Pin langchain dependencies to 0.2.x for compatibility

Browse files

langchain 1.x removed langchain.chains module, breaking the
ConversationalRetrievalChain import. Pinning to 0.2.x which
still supports the legacy chains API.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

Files changed (1) hide show
  1. requirements.txt +6 -6
requirements.txt CHANGED
@@ -1,8 +1,8 @@
1
- langchain>=0.1.0
2
- langchain-openai>=0.0.2
3
- langchain-community>=0.0.16
4
- langchain-chroma>=0.0.5
5
- chromadb>=0.4.22
6
  streamlit==1.41.0
7
  python-dotenv==1.0.1
8
  huggingface-hub>=0.19.4
@@ -12,4 +12,4 @@ flake8>=6.0.0
12
  numpy>=1.24.0
13
  chardet>=5.0.0
14
  tenacity>=8.2.3
15
- datasets==3.2.0
 
1
+ langchain>=0.2.0,<0.3.0
2
+ langchain-openai>=0.1.0,<0.3.0
3
+ langchain-community>=0.2.0,<0.3.0
4
+ langchain-chroma>=0.1.0,<0.3.0
5
+ chromadb>=0.4.22,<0.6.0
6
  streamlit==1.41.0
7
  python-dotenv==1.0.1
8
  huggingface-hub>=0.19.4
 
12
  numpy>=1.24.0
13
  chardet>=5.0.0
14
  tenacity>=8.2.3
15
+ datasets==3.2.0