anpassung one shot

This commit is contained in:
Lars 2025-12-10 16:16:51 +01:00
parent fd39211801
commit 954e21ca81

View File

@ -97,31 +97,38 @@ technical_template: |
# config/prompts.yaml
# config/prompts.yaml
# ---------------------------------------------------------
# 5. INTERVIEW: Der "Checklist Operator" (Strict Mode)
# 5. INTERVIEW: Der "One-Shot Extractor" (Performance Mode)
# ---------------------------------------------------------
interview_template: |
TASK: Daten-Erfassung für Typ '{target_type}'.
TASK:
Erstelle einen Markdown-Entwurf für eine Notiz vom Typ '{target_type}'.
SCHEMA (Checkliste):
SCHEMA (Pflichtfelder):
{schema_fields}
CHAT VERLAUF:
{context_str}
USER INPUT:
"{query}"
LOGIK:
1. Lies den VERLAUF und den INPUT.
2. Prüfe die SCHEMA-Liste von oben nach unten.
3. Welches ist das ERSTE Feld, das noch keine klare Antwort hat?
ANWEISUNG:
- Wenn ein Feld fehlt: Stelle NUR eine präzise Frage nach diesem Feld. (Kein Hallo, keine Erklärung).
- Wenn ALLE Felder da sind: Gib den Codeblock aus.
1. Extrahiere ALLE Informationen aus dem User Input, die du finden kannst.
2. Mappe sie auf die Schema-Felder.
3. Für Felder, die im Input FEHLEN, schreibe den Platzhalter "[TODO: Bitte ergänzen]".
4. Generiere SOFORT den Markdown-Codeblock. Stelle KEINE Rückfragen.
HINWEIS:
HINWEIS ZUM TYP:
{schema_hint}
ANTWORT (Entweder Frage oder Markdown-Code):
OUTPUT FORMAT:
```markdown
---
type: {target_type}
status: draft
...
---
# Titel (oder [TODO])
## Feldname
Inhalt...