feat(agent): add odoo review mode with plausibility verdict

This commit is contained in:
2026-09-17 00:29:03 +02:00
parent 7162726b66
commit ba4bf57dcf
10 changed files with 670 additions and 34 deletions
+2
View File
@@ -36,6 +36,7 @@ python -m agent.cli ingest # --no-embed erzwingt BM25-only
# 2) Frage im Terminal
python -m agent.cli ask "Wie hoch ist die AMS-Ersatzquote bei geblockter Altersteilzeit?"
python -m agent.cli ask "Prüfe die Auszahlung." --context review-context.json # review (PV_REVIEW_MODE=true)
# 3) Goldset-Evaluation (offline: Retrieval-Metriken)
python -m agent.cli eval
@@ -112,6 +113,7 @@ strukturierte `AUDIT`-Zeilen in die Containerlogs geschrieben.
| `PV_AUDIT_LOG_CONTENT` | `true` | Freitexte speichern; `false` = nur technische Metadaten und KB-IDs |
| `PV_AUDIT_STDOUT` | `false` | strukturierte Audit-Ereignisse zusätzlich nach stdout (Compose: `true`) |
| `PV_AUDIT_RETENTION_DAYS` | `30` | Aufbewahrung; `0` deaktiviert automatische Löschung |
| `PV_REVIEW_MODE` | `false` | Odoo-Review-Modus (`mode=review` + schema-gebundener Kontext); erst mit Odoo-Freigabe aktivieren |
## Deployment auf dem Host (Ollama-Maschine)