Files
pruefwerk/docs/features/help-chat.md
T
Sharang ParnerkarandClaude Opus 5.5 2404d614e6
CI / Check (push) Skipped
CI / Detect Changes (pull_request) Skipped
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
CI / Check (pull_request) Successful in 7m1s
docs: match the pilot product; the assistant reads only published docs
- findings: every status with its German label, both Fehlalarm kinds,
  Zu prüfen, accepted risk, history, CRA and catalog controls; the
  "AI learns from feedback" claim removed (nothing implements it).
- scanning: Prüfung starten, real statuses (no Queued), the new-findings
  e-mail, tables of failure and "Nicht ausgeführt" reasons, all phases.
- repositories: the Prüfobjekte list and the Neues Prüfobjekt wizard,
  archive rules, API-only issue tracker; getting started (DE/EN), SBOM
  (embedded library versions), tools, PLC, overview, MCP, help, README.
- No Firmwerk bundle import exists yet: the UI, the scan matrix and the
  docs no longer tell customers to import one.
- The help assistant skips docs/design, .vitepress and node_modules, as
  the docs site does.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p
2026-09-29 00:31:49 +02: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 gpt-4o
LITELLM_API_KEY API key (optional) --
HELP_DOCS_PATH Directory containing README.md and docs/, if it is not found next to the agent --