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.
Chat request flow
FastAPI checks request-level guards
app.py checks IP-based in-memory rate limiting and prompt-injection
patterns before delegating to answer_chat.Chat service builds search context
search_text_from_request decides whether history is needed. Explicit new
topics do not reuse old history, preventing stale answers from bleeding into
a new question.Deterministic answers run first
Payment terms, price, and infoabend logic can answer without OpenAI when the
current question matches those topics.
Model answer is built if needed
If there is no deterministic answer, the service selects relevant
knowledge-base entries and calls OpenAI with a constrained system prompt.