Spaces:
Sleeping
Sleeping
| # ============================================================================ | |
| # MINIMAL Requirements for Hugging Face Space | |
| # Only absolutely essential packages - others will be installed as dependencies | |
| # ============================================================================ | |
| # Web Framework | |
| fastapi==0.118.2 | |
| uvicorn[standard]==0.37.0 | |
| slowapi==0.1.9 | |
| # LangChain & LangGraph - Core only (dependencies will pull others) | |
| langgraph==0.6.8 | |
| langchain==0.3.27 | |
| langchain-openai==0.3.35 | |
| langchain-mongodb==0.7.0 | |
| # LangGraph Checkpointing | |
| langgraph-checkpoint-postgres==2.0.25 | |
| # Database - CRITICAL: Use psycopg-binary for Hugging Face | |
| psycopg[binary]==3.2.10 | |
| psycopg-binary==3.2.10 | |
| psycopg-pool==3.2.6 | |
| pymongo==4.15.3 | |
| # OpenAI | |
| openai==1.109.1 | |
| # Pydantic - MUST specify exact versions for serialization | |
| pydantic==2.11.10 | |
| pydantic-core==2.33.2 | |
| # Document Processing | |
| pypdf==6.1.1 | |
| # Utilities | |
| python-dotenv==1.1.1 | |
| lxml==6.0.2 | |
| # Optional but recommended | |
| langsmith==0.4.33 | |
| rich==14.1.0 |