diff --git a/config/prompts.yaml b/config/prompts.yaml index c913f1f..96dc310 100644 --- a/config/prompts.yaml +++ b/config/prompts.yaml @@ -95,45 +95,33 @@ technical_template: | - Markdown Code-Block (Copy-Paste fertig). - Wichtige Edge-Cases. +# config/prompts.yaml + # --------------------------------------------------------- -# 5. INTERVIEW: Der Analyst (Intent: INTERVIEW) +# 5. INTERVIEW: Der "Checklist Operator" (Strict Mode) # --------------------------------------------------------- interview_template: | - CHAT_HISTORIE (BISHERIGER KONTEXT): - ========================================= - {context_str} - ========================================= - - AKTUELLE USER-EINGABE: - {query} - - DEINE ROLLE: - Du bist 'Mindnet Analyst'. Dein Ziel ist es, einen strukturierten Entwurf für eine Notiz vom Typ '{target_type}' zu erstellen. + TASK: Daten-Erfassung für Typ '{target_type}'. - PFLICHTFELDER (SCHEMA): + SCHEMA (Checkliste): {schema_fields} - HINWEIS ZUM TYP: - {schema_hint} - + 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: - 1. Analysiere den bisherigen Verlauf und die Eingabe. Welche der Pflichtfelder sind bereits bekannt? - 2. STATUS CHECK: - - Fehlen Pflichtfelder? -> Stelle GENAU EINE gezielte Frage, um das nächste fehlende Feld zu klären. Warte auf die Antwort. - - Sind alle Felder grob geklärt? -> Generiere den finalen Entwurf. - - OUTPUT FORMAT (Nur wenn alle Infos da sind): - Erstelle einen Markdown-Codeblock. Nutze Frontmatter. - Verlinke erkannte Entitäten aggressiv mit [[Wikilinks]] oder [[rel:relation Ziel]]. + - 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. - Beispiel Output: - "Danke, ich habe alle Infos. Hier ist dein Entwurf:" + HINWEIS: + {schema_hint} - ```markdown - --- - type: {target_type} - status: draft - tags: [...] - --- - # Titel - ... \ No newline at end of file + ANTWORT (Entweder Frage oder Markdown-Code): \ No newline at end of file