Files
pruefwerk/docs/features/help-chat.md
T
sharang b247c5b359
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Docs (push) Successful in 1m25s
CI / Deploy MCP (push) Successful in 5m21s
CI / Deploy Agent (push) Successful in 10m24s
CI / Deploy Dashboard (push) Successful in 11m57s
fix(llm): nightly uses the gateway's models; no OpenAI defaults (#575)
2026-10-29 07:43:21 +00:00

2.2 KiB

Help Chat Assistant

The help assistant (Hilfe-Assistent) is available on every page of Prüfwerk. It answers questions about Prüfwerk from this documentation.

How It Works

  1. Click Hilfe (the question-mark button in the bottom-right corner of any page)
  2. Type your question and press Enter, or pick one of the suggested questions
  3. The assistant answers from the documentation, in the language you asked in

The chat keeps the conversation, so you can ask follow-up questions. Answers are AI-generated; check important details in the documentation.

What You Can Ask

  • Getting started: "Wie lege ich ein Prüfobjekt an?" / "Wie starte ich eine Prüfung?"
  • Scans: "Werden Git-Submodule mitgeprüft?" / "Warum steht ein Schritt unter Nicht ausgeführt?"
  • Uploads: "Wie lade ich ein passwortgeschütztes Archiv hoch?"
  • Findings: "Was ist der Unterschied zwischen den beiden Fehlalarm-Arten?"
  • SBOM and CRA: "Wie exportiere ich die Stückliste?" / "Was bedeutet Nicht bewertet?"

Technical Details

The assistant loads README.md and every published page under docs/ once, at startup (internal design notes are left out). For each question it sends the question, the conversation so far and the documentation to the LLM, and asks it to answer from the documentation and to say so when the documentation does not cover a question. If no documentation was found at startup, it answers without it and says when it is unsure.

API Endpoint

POST /api/v1/help/chat
Content-Type: application/json

{
  "message": "Wie lege ich ein Prüfobjekt an?",
  "history": [
    { "role": "user", "content": "previous question" },
    { "role": "assistant", "content": "previous answer" }
  ]
}

Configuration

The help chat uses the same LiteLLM configuration as other LLM features:

Environment Variable Description Default
LITELLM_URL LiteLLM API base URL http://localhost:4000
LITELLM_MODEL Model for chat responses (stage/prod: Qwen3.8-27B) -- (unset: the LLM parts are off)
LITELLM_API_KEY API key (optional) --
HELP_DOCS_PATH Directory containing README.md and docs/, if it is not found next to the agent --