Spaces:
Sleeping
Sleeping
Upload requirements.txt with huggingface_hub
Browse files- requirements.txt +45 -0
requirements.txt
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Web framework
|
| 2 |
+
fastapi>=0.111.0
|
| 3 |
+
uvicorn[standard]>=0.29.0
|
| 4 |
+
python-multipart>=0.0.9
|
| 5 |
+
|
| 6 |
+
# Data validation
|
| 7 |
+
pydantic>=2.0.0
|
| 8 |
+
pydantic-settings>=2.0.0
|
| 9 |
+
|
| 10 |
+
# LangChain stack
|
| 11 |
+
langchain-core>=0.2.0
|
| 12 |
+
langchain-community>=0.2.0
|
| 13 |
+
langchain-huggingface>=0.0.3
|
| 14 |
+
langchain-openai>=0.1.0
|
| 15 |
+
langchain-text-splitters>=0.2.0
|
| 16 |
+
|
| 17 |
+
# Vector DB
|
| 18 |
+
faiss-cpu>=1.7.4
|
| 19 |
+
|
| 20 |
+
# Embeddings & reranking
|
| 21 |
+
sentence-transformers>=2.7.0
|
| 22 |
+
transformers>=4.40.0
|
| 23 |
+
torch>=2.0.0
|
| 24 |
+
huggingface-hub>=0.23.0
|
| 25 |
+
|
| 26 |
+
# Sparse retrieval
|
| 27 |
+
rank-bm25>=0.2.2
|
| 28 |
+
|
| 29 |
+
# LLM API
|
| 30 |
+
openai>=1.30.0
|
| 31 |
+
|
| 32 |
+
# Tokenisation
|
| 33 |
+
tiktoken>=0.7.0
|
| 34 |
+
|
| 35 |
+
# Document loading
|
| 36 |
+
pypdf>=4.2.0
|
| 37 |
+
|
| 38 |
+
# Caching (Redis optional — falls back to in-memory)
|
| 39 |
+
redis>=5.0.0
|
| 40 |
+
|
| 41 |
+
# Utilities
|
| 42 |
+
numpy>=1.26.0
|
| 43 |
+
scikit-learn>=1.4.0
|
| 44 |
+
httpx>=0.27.0
|
| 45 |
+
google-crc32c>=1.5.0
|