Spaces:
Sleeping
Sleeping
add gemini to requirement.py
Browse files- requirements.txt +16 -9
requirements.txt
CHANGED
|
@@ -1,15 +1,27 @@
|
|
| 1 |
-
#
|
| 2 |
fastapi>=0.110.0
|
| 3 |
uvicorn[standard]>=0.29.0
|
| 4 |
python-multipart
|
| 5 |
pydantic>=2.7.0
|
| 6 |
python-dotenv
|
|
|
|
| 7 |
|
| 8 |
-
#
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
asyncpg>=0.29.0
|
| 10 |
qdrant-client>=1.9.0
|
| 11 |
|
| 12 |
-
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
langchain>=0.2.0
|
| 14 |
langchain-community>=0.2.0
|
| 15 |
langchain-core>=0.2.0
|
|
@@ -17,13 +29,8 @@ langchain-text-splitters>=0.2.0
|
|
| 17 |
langchain-qdrant
|
| 18 |
langchain-huggingface
|
| 19 |
langchain-groq
|
| 20 |
-
langchain-ollama
|
| 21 |
-
|
| 22 |
-
# --- NLP / Rerank / Embeddings ---
|
| 23 |
-
sentence-transformers
|
| 24 |
-
rank-bm25
|
| 25 |
|
| 26 |
-
#
|
| 27 |
python-docx
|
| 28 |
pdfplumber
|
| 29 |
pypdf
|
|
|
|
| 1 |
+
#Core Framework & Utils
|
| 2 |
fastapi>=0.110.0
|
| 3 |
uvicorn[standard]>=0.29.0
|
| 4 |
python-multipart
|
| 5 |
pydantic>=2.7.0
|
| 6 |
python-dotenv
|
| 7 |
+
tenacity>=8.3.0
|
| 8 |
|
| 9 |
+
# AI Providers
|
| 10 |
+
groq>=0.9.0
|
| 11 |
+
google-generativeai>=0.7.0
|
| 12 |
+
|
| 13 |
+
# Database & Vector Store
|
| 14 |
asyncpg>=0.29.0
|
| 15 |
qdrant-client>=1.9.0
|
| 16 |
|
| 17 |
+
#Embedding Models & Transformers
|
| 18 |
+
# Dùng torch bản CPU để tiết kiệm dung lượng trên Hugging Face
|
| 19 |
+
torch>=2.0.0 --index-url https://download.pytorch.org/whl/cpu
|
| 20 |
+
sentence-transformers>=3.0.0
|
| 21 |
+
transformers>=4.40.0
|
| 22 |
+
rank-bm25
|
| 23 |
+
|
| 24 |
+
#LangChain Ecosystem
|
| 25 |
langchain>=0.2.0
|
| 26 |
langchain-community>=0.2.0
|
| 27 |
langchain-core>=0.2.0
|
|
|
|
| 29 |
langchain-qdrant
|
| 30 |
langchain-huggingface
|
| 31 |
langchain-groq
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
|
| 33 |
+
#File Loaders
|
| 34 |
python-docx
|
| 35 |
pdfplumber
|
| 36 |
pypdf
|