bug Fix
This commit is contained in:
1 parent
0157faab89
commit
2c073c7d3c
2 files changed
+34
-14
No files matched your search
+25
-6
@@ -1,5 +1,6 @@
|
||||
# config/prompts.yaml — Final V2.4.0 (Hybrid & Multi-Provider Support)
|
||||
# WP-20: Optimierte Cloud-Templates bei unveränderten Ollama-Prompts.
|
||||
# config/prompts.yaml — Final V2.4.1 (Hybrid & Multi-Provider Support)
|
||||
# WP-20: Optimierte Cloud-Templates.
|
||||
# FIX: Technische Maskierung (Doppel-Klammern) für JSON-Stabilität bei identischem Inhalt.
|
||||
|
||||
system_prompt: |
|
||||
Du bist 'mindnet', mein digitaler Zwilling und strategischer Partner.
|
||||
@@ -208,15 +209,33 @@ edge_allocation_template:
|
||||
# ---------------------------------------------------------
|
||||
edge_extraction:
|
||||
ollama: |
|
||||
Extrahiere Kanten als JSON: [{"to": "X", "kind": "Y"}].
|
||||
Text: {text}
|
||||
TASK:
|
||||
Du bist ein Wissens-Ingenieur für den digitalen Zwilling 'mindnet'.
|
||||
Deine Aufgabe ist es, semantische Relationen (Kanten) aus dem Text zu extrahieren,
|
||||
die die Hauptnotiz '{note_id}' mit anderen Konzepten verbinden.
|
||||
|
||||
ANWEISUNGEN:
|
||||
1. Identifiziere wichtige Entitäten, Konzepte oder Ereignisse im Text.
|
||||
2. Bestimme die Art der Beziehung (z.B. part_of, uses, related_to, blocks, caused_by).
|
||||
3. Das Ziel (target) muss ein prägnanter Begriff sein.
|
||||
4. Antworte AUSSCHLIESSLICH in validem JSON als Liste von Objekten.
|
||||
|
||||
BEISPIEL:
|
||||
[[ {{"to": "Ziel-Konzept", "kind": "beziehungs_typ"}} ]]
|
||||
|
||||
TEXT:
|
||||
"""
|
||||
{text}
|
||||
"""
|
||||
|
||||
DEIN OUTPUT (JSON):
|
||||
gemini: |
|
||||
Führe eine semantische Analyse der Notiz '{note_id}' durch.
|
||||
Finde explizite und implizite Relationen.
|
||||
Antworte als JSON: [{"to": "Ziel", "kind": "typ", "reason": "begründung"}]
|
||||
Antworte STRIKT als JSON: [[{{"to": "Ziel", "kind": "typ", "reason": "begründung"}}]]
|
||||
Keine Erklärungen, nur JSON.
|
||||
Text: {text}
|
||||
openrouter: |
|
||||
Analysiere den Text für den Graphen. Identifiziere semantische Verbindungen.
|
||||
Output STRIKT als JSON-Liste: [{"to": "X", "kind": "Y"}].
|
||||
Output STRIKT als JSON-Liste: [[{{"to": "X", "kind": "Y"}}]].
|
||||
Text: {text}
|
||||
Reference in new issue
Block a user