Abbasid commited on
Commit
0792a85
·
verified ·
1 Parent(s): c9db50f

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +29 -16
requirements.txt CHANGED
@@ -1,21 +1,34 @@
1
  gradio
2
  requests
3
- # --- Vector & retrieval
4
- faiss-cpu==1.8.0.post1
5
- sentence-transformers==2.7.0
6
- langchain-community==0.2.10
7
- langchain-core==0.2.23
8
- langchain-huggingface==0.0.3
9
 
10
- # --- LangGraph agent framework
11
- langgraph==0.2.15
 
 
 
 
12
 
13
- # --- LLM providers
14
- langchain-google-genai==1.0.8
15
- langchain-groq==0.1.6
16
- langchain-huggingface==0.0.3 # (listed twice, safe)
17
 
18
- # --- Tools & utilities
19
- pillow==10.4.0
20
- cachetools==5.4.0
21
- python-dotenv==1.0.1
 
 
 
 
 
 
 
 
 
 
 
 
1
  gradio
2
  requests
3
+ # Core LangChain and LangGraph Framework
4
+ # These are the fundamental building blocks for your agent.
5
+ langchain
6
+ langgraph
 
 
7
 
8
+ # LangChain Community and Integration Packages
9
+ # These packages allow LangChain to connect to various models, services, and data sources.
10
+ langchain-community
11
+ langchain-google-genai # For Google Gemini models
12
+ langchain-groq # For Groq models
13
+ langchain-huggingface # For Hugging Face models and embeddings
14
 
15
+ # Vector Store and Embeddings
16
+ # Used for creating and searching your local knowledge base of Q&A examples.
17
+ faiss-cpu # For the FAISS vector store (CPU version is best for HF Spaces)
18
+ sentence-transformers # The model used to generate text embeddings
19
 
20
+ # Tool-Specific Dependencies
21
+ # Each tool that connects to an external service needs its own client library.
22
+ tavily-python # For the Tavily web search tool
23
+ wikipedia # For the Wikipedia search tool
24
+ arxiv # For the Arxiv scientific paper search tool
25
+
26
+ # Utility Libraries
27
+ python-dotenv # For loading API keys from a .env file
28
+ requests # For making HTTP requests (used in the describe_image tool)
29
+ Pillow # For image processing (used in the describe_image tool)
30
+ cachetools # For in-memory caching of API results to improve speed
31
+
32
+ # This is often installed as a dependency of other HF packages, but it's good
33
+ # practice to list it explicitly as HuggingFaceEndpoint is used.
34
+ huggingface_hub