The application is intentionally small and modular.Documentation 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.
app.py owns HTTP routing,
while most business logic lives in service modules.
Runtime responsibilities
app.py
FastAPI routes, CORS, static files, templates, rate-limit entrypoint, admin
auth dependency, and analytics instrumentation.
services/chat_service.py
Knowledge-base loading, keyword search, deterministic price/payment/workshop
handling, funnel hints, cache, and OpenAI calls.
services/analytics_service.py
Privacy-friendly JSONL events and summary functions for admin endpoints.
static/chatbot.js
Self-contained embeddable widget script for the customer website.
Public and internal surfaces
- Public
- Protected admin
GET /healthGET /POST /chat/static/chatbot.js/static/chatbot.css
/admin/... endpoints require ADMIN_TOKEN. If the token is missing or still
set to the placeholder, the app returns 404 for admin routes.