mohamedashraf11 commited on
Commit
17bb60b
Β·
verified Β·
1 Parent(s): d7a8424

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +11 -11
requirements.txt CHANGED
@@ -1,12 +1,12 @@
1
  huggingface-hub>=0.23.0
2
- langchain==0.0.208 # Core Langchain library
3
- langchain-core==0.3.0 # Compatible with langchain-huggingface
4
- langchain-huggingface==0.1.0 # Latest version to avoid conflicts
5
- gradio==3.41.2 # Chatbot UI framework
6
- datasets # Dataset loading library
7
- pandas==2.1.1 # Data handling
8
- sentence-transformers==2.2.2 # For embeddings
9
- chromadb==0.4.2 # Vector store for document embeddings
10
- nltk==3.8.1 # Text processing
11
- ollama==0.3.0 # LLaMA integration with Langchain
12
- pydantic==2.5.2
 
1
  huggingface-hub>=0.23.0
2
+ langchain==0.0.208 # Version compatible with pydantic <2
3
+ langchain-core==0.1.0 # Downgrade to a version that supports pydantic 1.x
4
+ langchain-huggingface==0.0.4 # Compatible with this version of langchain-core
5
+ gradio==3.41.2
6
+ datasets==2.15.1
7
+ pandas==2.1.1
8
+ sentence-transformers==2.2.2
9
+ chromadb==0.4.2
10
+ nltk==3.8.1
11
+ ollama
12
+ pydantic==1.10.12 # Aligned with langchain