Spaces:
Sleeping
Sleeping
Update requirements.txt
Browse files- requirements.txt +29 -16
requirements.txt
CHANGED
|
@@ -1,21 +1,34 @@
|
|
| 1 |
gradio
|
| 2 |
requests
|
| 3 |
-
#
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
langchain-core==0.2.23
|
| 8 |
-
langchain-huggingface==0.0.3
|
| 9 |
|
| 10 |
-
#
|
| 11 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
|
| 13 |
-
#
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
|
| 18 |
-
#
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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
|