Skip to main content

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.

Analytics are intentionally local and small. There is no external analytics provider.

Enable analytics

ADMIN_TOKEN=<long-random-token>
ANALYTICS_ENABLED=true
If ANALYTICS_ENABLED is unset, it defaults to enabled. Set it to false to disable event writes.

Storage

Events are written to:
data/chat_events.jsonl
This file is ignored by Git.

Privacy model

Stored

Timestamp, day, truncated question, keywords, topics, source count, fallback flag, and response time.

Not stored

IP addresses, User-Agent, cookies, full chat history, OpenAI keys, or admin tokens.

Scrubbing

scrub_question replaces common contact data before writing events:
text = re.sub(r"[\w.+-]+@[\w-]+\.[\w.-]+", "[email]", text)
text = re.sub(r"\+?\d[\d\s()./-]{6,}\d", "[phone]", text)
text = re.sub(r"\b\d{5}\b", "[zip]", text)

Admin dashboard

Open:
https://chat.die-coaching-akademie.de/admin/dashboard?token=<token>
Or query endpoints directly:
curl -H "X-Admin-Token: <token>" \
  https://chat.die-coaching-akademie.de/admin/analytics/summary
For CLI and automated checks, prefer the X-Admin-Token header over query parameters.