Spaces:
Sleeping
Sleeping
Update requirements.txt
Browse files- requirements.txt +28 -4
requirements.txt
CHANGED
|
@@ -1,12 +1,36 @@
|
|
|
|
|
| 1 |
fastapi
|
| 2 |
uvicorn[standard]
|
| 3 |
python-multipart
|
| 4 |
aiofiles
|
| 5 |
-
|
|
|
|
| 6 |
langchain
|
| 7 |
-
langchain-
|
| 8 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
faiss-cpu
|
|
|
|
|
|
|
| 10 |
tiktoken
|
|
|
|
|
|
|
| 11 |
pydantic
|
| 12 |
-
python-dotenv
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# FastAPI and Server
|
| 2 |
fastapi
|
| 3 |
uvicorn[standard]
|
| 4 |
python-multipart
|
| 5 |
aiofiles
|
| 6 |
+
|
| 7 |
+
# LangChain Core
|
| 8 |
langchain
|
| 9 |
+
langchain-community
|
| 10 |
+
|
| 11 |
+
# OpenAI Integration (replaces Google Generative AI)
|
| 12 |
+
langchain-openai
|
| 13 |
+
openai
|
| 14 |
+
|
| 15 |
+
# Vector Store and Embeddings
|
| 16 |
faiss-cpu
|
| 17 |
+
|
| 18 |
+
# Text Processing and Tokenization
|
| 19 |
tiktoken
|
| 20 |
+
|
| 21 |
+
# Data Models and Configuration
|
| 22 |
pydantic
|
| 23 |
+
python-dotenv
|
| 24 |
+
|
| 25 |
+
# Additional Dependencies for Better Compatibility
|
| 26 |
+
httpx
|
| 27 |
+
requests
|
| 28 |
+
numpy
|
| 29 |
+
|
| 30 |
+
# Optional: For enhanced text processing
|
| 31 |
+
unstructured[local-inference]
|
| 32 |
+
sentence-transformers
|
| 33 |
+
|
| 34 |
+
# Optional: For better async support
|
| 35 |
+
asyncio
|
| 36 |
+
aiohttp
|