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 15m29s
Breakpilot never assesses legally (language rule, backlog t62). The CRA status page showed requirements as "Nicht erfüllt" / "Kein Verstoß gefunden", which reads as a legal verdict. It now names what the scan did: findings mapped to a requirement, no findings, not or partly checked. The wrong-mapping hint asks whether a finding belongs to the requirement, and the evidence pack names OSCAL assessment results. The user docs and the docs home page use the new labels. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KYcAAeTw22GE9QPzDM8yc4
57 lines
2.2 KiB
Markdown
57 lines
2.2 KiB
Markdown
# 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 geprüft?"
|
|
|
|
## 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 | -- |
|