Spaces:
Running
Running
Update requirements.txt
Browse files- requirements.txt +15 -52
requirements.txt
CHANGED
|
@@ -1,71 +1,34 @@
|
|
| 1 |
-
# Core
|
| 2 |
-
langchain==0.3.0
|
| 3 |
-
langchain-community
|
| 4 |
-
langchain-core
|
| 5 |
-
|
| 6 |
-
# Google Gemini Integration
|
| 7 |
-
langchain-google-genai
|
| 8 |
-
google-generativeai
|
| 9 |
-
|
| 10 |
-
# Database & Vector Store
|
| 11 |
-
sqlalchemy
|
| 12 |
-
pymysql
|
| 13 |
-
chromadb
|
| 14 |
-
langchain-chroma
|
| 15 |
-
|
| 16 |
-
# Utilities
|
| 17 |
-
python-dotenv
|
| 18 |
-
streamlit
|
| 19 |
-
|
| 20 |
-
# Critical Version Fixes
|
| 21 |
-
numpy<2.0.0
|
| 22 |
-
|
| 23 |
fastapi
|
| 24 |
uvicorn
|
| 25 |
requests
|
| 26 |
python-multipart
|
| 27 |
pydantic
|
| 28 |
-
mysql-connector-python
|
| 29 |
-
python-dotenv
|
| 30 |
|
| 31 |
-
#
|
| 32 |
langchain==0.3.0
|
| 33 |
langchain-community
|
| 34 |
langchain-core
|
| 35 |
-
|
| 36 |
-
# Google Gemini Integration
|
| 37 |
langchain-google-genai
|
|
|
|
|
|
|
|
|
|
| 38 |
google-generativeai
|
|
|
|
|
|
|
| 39 |
|
| 40 |
-
# Database & Vector Store
|
| 41 |
sqlalchemy
|
| 42 |
pymysql
|
|
|
|
| 43 |
chromadb
|
| 44 |
-
|
|
|
|
| 45 |
|
| 46 |
-
# Utilities
|
| 47 |
python-dotenv
|
| 48 |
streamlit
|
| 49 |
-
|
| 50 |
-
# Critical Version Fixes
|
| 51 |
-
numpy<2.0.0
|
| 52 |
-
|
| 53 |
-
# Additional Dependencies from Code Analysis
|
| 54 |
-
huggingface_hub
|
| 55 |
-
faker
|
| 56 |
-
fastapi
|
| 57 |
-
uvicorn
|
| 58 |
-
pydantic
|
| 59 |
pandas
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
uvicorn
|
| 64 |
-
requests
|
| 65 |
-
python-multipart
|
| 66 |
-
pydantic
|
| 67 |
-
mysql-connector-python
|
| 68 |
-
python-dotenv
|
| 69 |
-
chromadb
|
| 70 |
-
pysqlite3-binary
|
| 71 |
-
huggingface_hub>=0.24.0
|
|
|
|
| 1 |
+
# --- Core Backend ---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
fastapi
|
| 3 |
uvicorn
|
| 4 |
requests
|
| 5 |
python-multipart
|
| 6 |
pydantic
|
|
|
|
|
|
|
| 7 |
|
| 8 |
+
# --- AI Frameworks (LangChain) ---
|
| 9 |
langchain==0.3.0
|
| 10 |
langchain-community
|
| 11 |
langchain-core
|
|
|
|
|
|
|
| 12 |
langchain-google-genai
|
| 13 |
+
langchain-chroma
|
| 14 |
+
|
| 15 |
+
# --- AI Models & APIs ---
|
| 16 |
google-generativeai
|
| 17 |
+
# Critical: Updated to support new Inference Providers (fixes 404/410 errors)
|
| 18 |
+
huggingface_hub>=0.27.0
|
| 19 |
|
| 20 |
+
# --- Database & Vector Store ---
|
| 21 |
sqlalchemy
|
| 22 |
pymysql
|
| 23 |
+
mysql-connector-python
|
| 24 |
chromadb
|
| 25 |
+
# Critical: Required for ChromaDB on Hugging Face Spaces/Linux
|
| 26 |
+
pysqlite3-binary
|
| 27 |
|
| 28 |
+
# --- Data & Utilities ---
|
| 29 |
python-dotenv
|
| 30 |
streamlit
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 31 |
pandas
|
| 32 |
+
faker
|
| 33 |
+
# Critical: Prevents binary incompatibility with Pandas/LangChain
|
| 34 |
+
numpy<2.0.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|