# GLAM API Requirements # FastAPI backend for DSPy SPARQL generation # # This file is deployed to the server and used to install dependencies # in the virtual environment at /var/lib/glam/api/venv # Web framework fastapi>=0.115.0,<1.0.0 uvicorn[standard]>=0.32.0,<1.0.0 pydantic>=2.0.0,<3.0.0 pydantic-settings>=2.0.0,<3.0.0 # DSPy for LLM-based SPARQL generation dspy-ai>=2.5.0,<3.0.0 # LLM providers (at least one is required) anthropic>=0.39.0,<1.0.0 openai>=1.0.0,<2.0.0 # HTTP client for SPARQL endpoint httpx>=0.27.0,<1.0.0 # Vector database for RAG qdrant-client>=1.12.0,<2.0.0