mindnet/config/types.yaml

160 lines
4.6 KiB
YAML
Raw Normal View History

2025-12-12 13:19:28 +01:00
version: 1.6 # Balance zwischen Speed, Kontext und Smartness
2025-12-12 13:06:55 +01:00
# ==============================================================================
2025-12-12 13:19:28 +01:00
# 1. CHUNKING PROFILES
2025-12-12 13:06:55 +01:00
# ==============================================================================
2025-12-11 22:39:35 +01:00
chunking_profiles:
2025-12-12 13:19:28 +01:00
# A. SHORT & FAST (Für atomare Schnipsel)
# Einsatz: Glossar, Tasks, Risiken
# Vorteil: Präzise Treffer für kurze Infos.
2025-12-11 22:39:35 +01:00
sliding_short:
strategy: sliding_window
2025-12-12 13:19:28 +01:00
enable_smart_edge_allocation: false # AUS (Speed)
2025-12-11 22:39:35 +01:00
target: 200
max: 350
overlap: [30, 50]
2025-12-12 13:19:28 +01:00
# B. STANDARD & FAST (Der neue "Mittelweg")
# Einsatz: Quellen, Journal, Daily Logs
# Vorteil: Viel Kontext für RAG, aber rasendschneller Import ohne LLM.
sliding_standard:
strategy: sliding_window
enable_smart_edge_allocation: false # AUS (Speed)
target: 450 # Größerer Kontext!
max: 650
overlap: [50, 100]
# C. SMART FLOW (Premium Chunking)
# Einsatz: Konzepte, Projekte, Erfahrungen
# Vorteil: LLM prüft Inhalt und verlinkt präzise. Kostet Zeit.
sliding_smart_edges:
2025-12-12 13:06:55 +01:00
strategy: sliding_window
2025-12-12 13:19:28 +01:00
enable_smart_edge_allocation: true # AN (Intelligenz)
2025-12-11 22:39:35 +01:00
target: 400
max: 600
overlap: [50, 80]
2025-12-12 13:19:28 +01:00
# D. SMART STRUCTURE
# Einsatz: Profile, Werte, Prinzipien
# Vorteil: Respektiert die Markdown-Struktur (H2).
2025-12-12 13:06:55 +01:00
structured_smart_edges:
2025-12-11 22:39:35 +01:00
strategy: by_heading
2025-12-12 13:19:28 +01:00
enable_smart_edge_allocation: true # AN (Intelligenz)
split_level: 2
max: 600
target: 400
2025-12-12 13:19:28 +01:00
overlap: [50, 80]
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:19:28 +01:00
chunking_profile: sliding_standard # Fallback auf Standard (sicher & performant)
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
# ==============================================================================
2025-11-07 09:36:25 +01:00
types:
2025-12-12 13:06:55 +01:00
2025-12-12 13:19:28 +01:00
# --- MASSENDATEN (Speed + Kontext) ---
2025-12-04 13:35:04 +01:00
source:
2025-12-12 13:19:28 +01:00
chunking_profile: sliding_standard # JETZT: Mehr Kontext (450 Token), trotzdem schnell
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)"
2025-12-12 13:19:28 +01:00
- "Zusammenfassung"
2025-12-12 13:06:55 +01:00
- "Originaltext / Ausschnitte"
2025-12-04 13:35:04 +01:00
2025-12-12 13:19:28 +01:00
journal:
chunking_profile: sliding_standard # JETZT: Mehr Kontext für Tagebucheinträge
retriever_weight: 0.80
edge_defaults: ["references", "related_to"]
2025-12-12 13:06:55 +01:00
schema:
2025-12-12 13:19:28 +01:00
- "Tages-Log"
- "Erkenntnisse"
- "Entscheidungen"
2025-12-04 13:35:04 +01:00
2025-12-12 13:19:28 +01:00
# --- ATOMARE DATEN (Speed + Präzision) ---
2025-12-12 13:06:55 +01:00
2025-12-12 13:19:28 +01:00
task:
chunking_profile: sliding_short # Kurz halten
retriever_weight: 0.80
edge_defaults: ["depends_on", "part_of"]
schema: ["Aufgabe", "Kontext", "DoD"]
2025-12-04 13:35:04 +01:00
2025-12-12 13:19:28 +01:00
glossary:
chunking_profile: sliding_short # Kurz halten
retriever_weight: 0.40
2025-12-04 13:35:04 +01:00
edge_defaults: ["related_to"]
2025-12-12 13:19:28 +01:00
schema: ["Begriff", "Definition"]
2025-12-04 13:35:04 +01:00
2025-12-12 13:19:28 +01:00
risk:
chunking_profile: sliding_short
retriever_weight: 0.85
edge_defaults: ["related_to", "blocks"]
schema: ["Beschreibung", "Mitigation"]
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:19:28 +01:00
schema: ["Glaubenssatz", "Reflexion"]
# --- KERN-WISSEN (Smart Edges / LLM Active) ---
concept:
chunking_profile: sliding_smart_edges
retriever_weight: 0.60
edge_defaults: ["references", "related_to"]
2025-12-12 13:06:55 +01:00
schema:
2025-12-12 13:19:28 +01:00
- "Definition"
- "Kontext"
- "Verwandte Konzepte"
project:
chunking_profile: sliding_smart_edges
retriever_weight: 0.97
edge_defaults: ["references", "depends_on"]
schema:
- "Mission"
- "Status"
- "Next Actions"
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:19:28 +01:00
schema: ["Situation", "Aktion", "Ergebnis", "Learning"]
2025-12-04 13:35:04 +01:00
2025-12-12 13:19:28 +01:00
# --- STRUKTUR-DATEN (Smart Structure / LLM Active) ---
2025-12-12 13:06:55 +01:00
2025-12-12 13:19:28 +01:00
profile:
chunking_profile: structured_smart_edges
retriever_weight: 0.70
edge_defaults: ["references", "related_to"]
schema: ["Rolle", "Fakten", "Historie"]
value:
chunking_profile: structured_smart_edges
retriever_weight: 1.00
edge_defaults: ["related_to"]
schema: ["Definition", "Motivation", "Leitsätze"]
principle:
chunking_profile: structured_smart_edges
2025-12-11 22:02:44 +01:00
retriever_weight: 0.95
2025-12-12 13:19:28 +01:00
edge_defaults: ["derived_from", "references"]
schema: ["Prinzip", "Anwendung"]
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:19:28 +01:00
schema: ["Problem", "Optionen", "Entscheidung", "Warum"]