Spaces:
Sleeping
Sleeping
| # ============================================================ | |
| # requirements.txt — RENDER PRODUCTION (lightweight) | |
| # No torch · no sentence-transformers · no ragas · no CUDA | |
| # Uses OpenAI embeddings (text-embedding-3-small) instead | |
| # ============================================================ | |
| # Core LLM & Orchestration | |
| langchain==0.3.25 | |
| langchain-openai==0.3.16 | |
| langchain-community==0.3.24 | |
| langchain-text-splitters==0.3.8 | |
| langgraph==0.4.1 | |
| openai==1.78.0 | |
| # Vector Stores | |
| faiss-cpu==1.9.0.post1 | |
| # pinecone==6.0.0 # Optional — only needed if VECTOR_STORE_TYPE=pinecone | |
| # # Uncomment and set PINECONE_API_KEY in .env to enable | |
| # API Backend | |
| fastapi==0.115.12 | |
| uvicorn[standard]==0.34.2 | |
| pydantic==2.11.4 | |
| python-multipart==0.0.20 | |
| # Keyword search | |
| rank-bm25==0.2.2 | |
| # Data & Utilities | |
| pypdf==5.4.0 | |
| pdfplumber==0.11.4 | |
| # pytesseract==0.3.13 # requires system Tesseract binary — not on Render free tier | |
| # pdf2image==1.17.0 # requires system poppler — not on Render free tier | |
| Pillow==11.0.0 | |
| tiktoken==0.9.0 | |
| numpy>=1.26.4 | |
| pandas==2.2.3 | |
| python-dotenv==1.1.0 | |
| httpx==0.28.1 | |
| # Monitoring & Logging | |
| loguru==0.7.3 | |
| prometheus-client==0.22.0 | |
| sentry-sdk | |
| # Authentication & Security | |
| pyjwt==2.10.1 | |
| bcrypt==4.2.1 | |
| # Database | |
| sqlalchemy==2.0.36 | |
| # Data Visualization | |
| plotly==5.24.1 | |
| # Medical-domain embeddings + NER (lazy-imported — ~1 GB download on first use) | |
| # BioBERT embeddings: pritamdeka/S-BioBert-snli-multinli-stsb | |
| # Medical NER: blaze999/Medical-NER | |
| sentence-transformers>=2.7.0 | |
| transformers>=4.40.0 | |
| # PDF export (Ask AI page download button) | |
| fpdf2>=2.7.0 | |
| # Multi-Agent External Tools (optional — lazy-imported, not required on Render) | |
| # tavily-python==0.7.23 | |
| # langchain-nvidia-ai-endpoints==1.2.1 | |