From 954e21ca81b223ddac5c98b6393978c0471ec8c5 Mon Sep 17 00:00:00 2001 From: Lars Date: Wed, 10 Dec 2025 16:16:51 +0100 Subject: [PATCH] anpassung one shot --- config/prompts.yaml | 37 ++++++++++++++++++++++--------------- 1 file changed, 22 insertions(+), 15 deletions(-) diff --git a/config/prompts.yaml b/config/prompts.yaml index 96dc310..2570c54 100644 --- a/config/prompts.yaml +++ b/config/prompts.yaml @@ -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): \ No newline at end of file + OUTPUT FORMAT: + ```markdown + --- + type: {target_type} + status: draft + ... + --- + # Titel (oder [TODO]) + + ## Feldname + Inhalt... \ No newline at end of file