| # Production Requirements - Core dependencies only | |
| # Keep this minimal for production deployments | |
| # Core API dependencies | |
| fastapi | |
| uvicorn[standard] | |
| python-dotenv | |
| python-multipart | |
| # Data processing | |
| numpy | |
| requests | |
| # LLM Providers | |
| openai | |
| google-generativeai | |
| # Vector Store & Embeddings (optional - choose based on needs) | |
| # Uncomment if needed in production | |
| chromadb | |
| langchain-mongodb | |
| pymongo | |
| # MongoDB Atlas Vector Store (optional) | |
| pymongo[srv] | |
| # HuggingFace dependencies | |
| # transformers | |
| # accelerate | |
| # Sentence Transformers - Choose ONE option below: | |
| # FULL sentence-transformers (easier to use, ~800MB+ ) | |
| # sentence-transformers | |
| # Note: sentence-transformers will automatically use CPU-only PyTorch if CUDA is not available (easier to use, ~200MB - 300MB ) | |
| # To force CPU-only installation: pip install torch --index-url https://download.pytorch.org/whl/cpu && pip install sentence-transformers | |
| # LangChain for RAG | |
| langchain | |
| langchain-core | |
| langchain-text-splitters | |
| langchain-openai | |
| langchain-chroma | |
| langchain_google_genai | |
| langchain-huggingface | |
| langchain-community | |
| bs4 | |
| lxml | |