The app loadsDocumentation Index
Fetch the complete documentation index at: https://docs-chat.die-coaching-akademie.de/llms.txt
Use this file to discover all available pages before exploring further.
.env from the repository root at runtime using python-dotenv.
The real .env is intentionally ignored by Git.
Environment variables
| Variable | Required | Purpose |
|---|---|---|
OPENAI_API_KEY | Yes for model responses | OpenAI API key used by services/chat_service.py |
OPENAI_MODEL | No | Defaults to gpt-4o-mini in the model call |
ALLOWED_ORIGINS | Yes | Comma-separated CORS allowlist |
LOG_LEVEL | No | Python logging level, for example INFO |
RESPONSE_CACHE_TTL_SECONDS | No | In-memory answer cache TTL |
RESPONSE_CACHE_MAX_ITEMS | No | Max in-memory cached answer count |
ADMIN_TOKEN | Yes for /admin/... | Token for protected admin endpoints |
ANALYTICS_ENABLED | No | Enables local JSONL analytics unless set to false |
- Local
- Production
Guardrails in config
core/config.py treats placeholder values as unconfigured: