# Required for Vector DB integration
WIKIDATA_VECTORDB_API_KEY=your_vectordb_api_key_here
# Server configuration
HOST=0.0.0.0
PORT=8000
WORKERS=4
TIMEOUT=120
KEEPALIVE=5
# Cache configuration
CACHE_TTL_SECONDS=3600 # Cache time-to-live in seconds (1 hour)
CACHE_MAX_SIZE=1000 # Maximum number of items in cache
# Feature toggles (true/false)
USE_VECTOR_DB=true # Enable/disable vector DB integration
USE_CACHE=true # Enable/disable caching system
USE_FEEDBACK=true # Enable/disable feedback system for query improvements
# Logging
LOG_LEVEL=INFO # DEBUG, INFO, WARNING, ERROR, CRITICAL
# Debugging
DEBUG=false # Set to true for development
PYTHONUNBUFFERED=1 # Enable unbuffered logging
PYTHONDONTWRITEBYTECODE=1 # Don't create .pyc files
# Optional: External services
# WIKIDATA_SPARQL_ENDPOINT=https://query.wikidata.org/sparql
# WIKIDATA_API_ENDPOINT=https://www.wikidata.org/w/api.php
# Optional: Redis configuration (if using Redis for caching)
# REDIS_URL=redis://redis:6379/0
# REDIS_PASSWORD=your_redis_password
# Optional: Sentry for error tracking
# SENTRY_DSN=your_sentry_dsn_here