glam/infrastructure/api-requirements.txt
2025-12-06 19:50:04 +01:00

21 lines
535 B
Text

# 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