mindnet/config/types.yaml

198 lines
5.7 KiB
YAML
Raw Normal View History

2025-12-12 13:06:55 +01:00
version: 1.4 # Merge WP-15 (Smart Edges) & WP-07 (Schemas)
# ==============================================================================
# 1. CHUNKING PROFILES (WP-15 Smart Edge Allocation)
# ==============================================================================
# Diese Profile steuern, wie Texte zerlegt und ob sie semantisch angereichert werden.
2025-12-11 22:39:35 +01:00
chunking_profiles:
2025-12-12 13:06:55 +01:00
# A. Standard / Schnell (für einfache Quellen, Logs)
# - Strategie: Sliding Window
# - LLM-Filter: AUS (spart Kosten/Zeit)
2025-12-11 22:39:35 +01:00
sliding_short:
strategy: sliding_window
2025-12-12 13:06:55 +01:00
enable_smart_edge_allocation: false
2025-12-11 22:39:35 +01:00
target: 200
max: 350
overlap: [30, 50]
2025-12-12 13:06:55 +01:00
# B. Smart Flow (für Konzepte, Journal, Projekte)
# - Strategie: Sliding Window (für flüssigen Text)
# - LLM-Filter: AN (verteilt Kanten intelligent auf Absätze)
sliding_smart_edges:
2025-12-12 13:06:55 +01:00
strategy: sliding_window
enable_smart_edge_allocation: true
2025-12-11 22:39:35 +01:00
target: 400
max: 600
overlap: [50, 80]
2025-12-12 13:06:55 +01:00
# C. Smart Structure (für Profile, Werte, Entscheidungen)
# - Strategie: By Heading (Harte Trennung an Überschriften)
# - LLM-Filter: AN (verteilt Kanten auf Sektionen)
structured_smart_edges:
2025-12-11 22:39:35 +01:00
strategy: by_heading
2025-12-12 13:06:55 +01:00
enable_smart_edge_allocation: true
split_level: 2 # Trennt an H2 (##)
max: 600
target: 400
2025-12-12 13:06:55 +01:00
overlap: [50, 80] # Fallback
2025-12-12 13:06:55 +01:00
# ==============================================================================
# 2. DEFAULTS
# ==============================================================================
2025-11-16 21:30:59 +01:00
defaults:
2025-11-17 15:58:34 +01:00
retriever_weight: 1.0
2025-12-12 13:06:55 +01:00
chunking_profile: sliding_smart_edges # Fallback: Immer smart versuchen
2025-12-11 22:02:44 +01:00
edge_defaults: []
2025-12-04 13:35:04 +01:00
2025-12-12 13:06:55 +01:00
# ==============================================================================
# 3. TYPE DEFINITIONS
# ==============================================================================
# Hier werden Chunking, Retrieval-Gewichtung und GENERIERUNGS-SCHEMATA definiert.
2025-11-07 09:36:25 +01:00
types:
2025-12-12 13:06:55 +01:00
2025-12-11 22:02:44 +01:00
# --- WISSENSBAUSTEINE ---
2025-12-12 13:06:55 +01:00
2025-12-04 13:35:04 +01:00
concept:
2025-12-12 13:06:55 +01:00
chunking_profile: sliding_smart_edges
2025-12-04 13:35:04 +01:00
retriever_weight: 0.60
edge_defaults: ["references", "related_to"]
2025-12-12 13:06:55 +01:00
schema: # WP-07: Anleitung für LLM zur Erstellung
- "Definition & Kernidee"
- "Kontext & Hintergrund"
- "Anwendungsbeispiele"
- "Verwandte Konzepte"
2025-12-04 13:35:04 +01:00
source:
2025-12-12 13:06:55 +01:00
chunking_profile: sliding_short # Keine Smart Edges nötig (spart Ressourcen)
2025-12-04 13:35:04 +01:00
retriever_weight: 0.50
2025-12-11 22:39:35 +01:00
edge_defaults: []
2025-12-12 13:06:55 +01:00
schema:
- "Metadaten (Autor, URL, Datum)"
- "Zusammenfassung (Key Takeaways)"
- "Wichtige Zitate"
- "Originaltext / Ausschnitte"
2025-12-04 13:35:04 +01:00
glossary:
2025-12-11 22:39:35 +01:00
chunking_profile: sliding_short
2025-12-04 13:35:04 +01:00
retriever_weight: 0.40
edge_defaults: ["related_to"]
2025-12-12 13:06:55 +01:00
schema:
- "Begriffserklärung"
- "Synonyme & Abgrenzung"
2025-12-04 13:35:04 +01:00
2025-12-11 22:39:35 +01:00
# --- IDENTITÄT & PERSÖNLICHKEIT ---
2025-12-12 13:06:55 +01:00
2025-12-11 22:02:44 +01:00
profile:
2025-12-12 13:06:55 +01:00
chunking_profile: structured_smart_edges # Struktur ist hier wichtig
2025-12-11 22:02:44 +01:00
retriever_weight: 0.70
2025-12-04 13:35:04 +01:00
edge_defaults: ["references", "related_to"]
2025-12-12 13:06:55 +01:00
schema:
- "Rolle & Beziehung"
- "Wichtige Fakten & Daten"
- "Gemeinsame Historie / Erfahrungen"
- "Präferenzen & Werte"
2025-12-04 13:35:04 +01:00
2025-12-11 22:02:44 +01:00
value:
chunking_profile: structured_smart_edges
2025-12-12 13:06:55 +01:00
retriever_weight: 1.00 # Höchste Priorität für die Decision Engine
2025-12-04 13:35:04 +01:00
edge_defaults: ["related_to"]
2025-12-12 13:06:55 +01:00
schema:
- "Definition des Wertes"
- "Warum ist das wichtig? (Motivation)"
- "Leitsätze für Entscheidungen"
- "Anti-Beispiele (Was wir vermeiden)"
2025-12-04 13:35:04 +01:00
2025-12-11 22:02:44 +01:00
principle:
chunking_profile: structured_smart_edges
2025-12-11 22:39:35 +01:00
retriever_weight: 0.95
edge_defaults: ["derived_from", "references"]
2025-12-12 13:06:55 +01:00
schema:
- "Das Prinzip (Kernsatz)"
- "Herleitung / Begründung"
- "Anwendung in der Praxis"
2025-12-11 22:02:44 +01:00
2025-12-11 22:39:35 +01:00
belief:
chunking_profile: sliding_short
2025-12-04 13:35:04 +01:00
retriever_weight: 0.90
2025-12-11 22:02:44 +01:00
edge_defaults: ["related_to"]
2025-12-12 13:06:55 +01:00
schema:
- "Glaubenssatz"
- "Ursprung (Woher kommt das?)"
- "Ist das noch hilfreich? (Reflexion)"
2025-12-04 13:35:04 +01:00
2025-12-11 22:02:44 +01:00
experience:
chunking_profile: sliding_smart_edges
2025-12-04 13:35:04 +01:00
retriever_weight: 0.90
2025-12-11 22:39:35 +01:00
edge_defaults: ["derived_from", "references"]
2025-12-12 13:06:55 +01:00
schema:
- "Situation (Was ist passiert?)"
- "Aktion (Was habe ich getan?)"
- "Ergebnis (Was war die Folge?)"
- "Learning (Was nehme ich mit?)"
2025-12-04 13:35:04 +01:00
2025-12-11 22:02:44 +01:00
# --- STRATEGIE & ENTSCHEIDUNG ---
2025-12-12 13:06:55 +01:00
2025-12-04 13:35:04 +01:00
goal:
chunking_profile: sliding_smart_edges
2025-12-11 22:02:44 +01:00
retriever_weight: 0.95
edge_defaults: ["depends_on", "related_to"]
2025-12-12 13:06:55 +01:00
schema:
- "Zielsetzung (SMART)"
- "Motivation (Warum?)"
- "Erfolgskriterien (KPIs)"
- "Meilensteine"
2025-12-11 22:02:44 +01:00
2025-12-11 22:39:35 +01:00
decision:
chunking_profile: structured_smart_edges
2025-12-11 22:39:35 +01:00
retriever_weight: 1.00
edge_defaults: ["caused_by", "references"]
2025-12-12 13:06:55 +01:00
schema:
- "Kontext & Problemstellung"
- "Betrachtete Optionen (Pros/Cons)"
- "Die Entscheidung"
- "Begründung (Warum diese Wahl?)"
- "Erwartete Konsequenzen"
2025-12-04 13:35:04 +01:00
2025-12-11 22:39:35 +01:00
risk:
chunking_profile: sliding_short
2025-12-11 22:02:44 +01:00
retriever_weight: 0.85
2025-12-11 22:39:35 +01:00
edge_defaults: ["related_to", "blocks"]
2025-12-12 13:06:55 +01:00
schema:
- "Risiko-Beschreibung"
- "Eintrittswahrscheinlichkeit & Impact"
- "Mitigations-Strategie (Plan B)"
2025-11-17 19:36:56 +01:00
2025-12-11 22:02:44 +01:00
# --- OPERATIV ---
2025-12-12 13:06:55 +01:00
2025-12-04 13:35:04 +01:00
project:
chunking_profile: sliding_smart_edges
2025-12-11 22:39:35 +01:00
retriever_weight: 0.97
2025-12-11 22:02:44 +01:00
edge_defaults: ["references", "depends_on"]
2025-12-12 13:06:55 +01:00
schema:
- "Mission / Zielsetzung"
- "Aktueller Status"
- "Nächste Schritte (Next Actions)"
- "Offene Fragen / Blocker"
- "Referenzen (Links)"
2025-11-17 19:36:56 +01:00
2025-12-04 13:35:04 +01:00
task:
2025-12-11 22:39:35 +01:00
chunking_profile: sliding_short
2025-12-04 13:35:04 +01:00
retriever_weight: 0.80
2025-12-11 22:02:44 +01:00
edge_defaults: ["depends_on", "part_of"]
2025-12-12 13:06:55 +01:00
schema:
- "Aufgabe"
- "Kontext / Wichtigkeit"
- "Definition of Done"
2025-11-17 15:58:34 +01:00
2025-12-04 13:35:04 +01:00
journal:
2025-12-12 13:06:55 +01:00
chunking_profile: sliding_smart_edges
2025-12-04 13:35:04 +01:00
retriever_weight: 0.80
2025-12-12 13:06:55 +01:00
edge_defaults: ["references", "related_to"]
schema:
- "Tages-Log / Ereignisse"
- "Erkenntnisse & Gedanken"
- "Entscheidungen des Tages"
- "Fokus für Morgen"