mindnet/config/types.yaml

124 lines
3.1 KiB
YAML
Raw Normal View History

2025-12-11 22:39:35 +01:00
version: 1.2 # Update für Smart Chunking Config
# --- CHUNKING DEFINITIONEN ---
# Hier definieren wir die technischen Strategien zentral.
chunking_profiles:
# Standard für Fließtexte (Sliding Window)
sliding_short:
strategy: sliding_window
target: 200
max: 350
overlap: [30, 50]
sliding_standard:
strategy: sliding_window
target: 400
max: 600
overlap: [50, 80]
sliding_large:
strategy: sliding_window
target: 500
max: 800
overlap: [60, 100]
# Smart Chunking für Strukturen (Harte Splits)
structured_strict:
strategy: by_heading
split_level: 2
max: 600 # Fallback Limit
target: 400 # Fallback Target bei Sub-Chunking
overlap: [50, 80] # Overlap bei Sub-Chunking
2025-12-11 23:21:24 +01:00
# NEU: LLM-basierte semantische Zerlegung (Chunker.py ruft semantic_analyzer.py)
semantic_llm:
strategy: semantic_llm
# Da das LLM die Längensteuerung übernimmt, dienen diese als Fallback/Empfehlung
target: 400
max: 800
2025-11-16 21:30:59 +01:00
defaults:
2025-11-17 15:58:34 +01:00
retriever_weight: 1.0
2025-12-11 22:39:35 +01:00
chunking_profile: sliding_standard # Fallback Profil
2025-12-11 22:02:44 +01:00
edge_defaults: []
2025-12-04 13:35:04 +01:00
2025-11-07 09:36:25 +01:00
types:
2025-12-11 22:02:44 +01:00
# --- WISSENSBAUSTEINE ---
2025-12-04 13:35:04 +01:00
concept:
2025-12-11 22:39:35 +01:00
chunking_profile: sliding_standard
2025-12-04 13:35:04 +01:00
retriever_weight: 0.60
edge_defaults: ["references", "related_to"]
source:
2025-12-11 22:39:35 +01:00
chunking_profile: sliding_standard
2025-12-04 13:35:04 +01:00
retriever_weight: 0.50
2025-12-11 22:39:35 +01:00
edge_defaults: []
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-11 22:39:35 +01:00
# --- IDENTITÄT & PERSÖNLICHKEIT ---
2025-12-11 22:02:44 +01:00
profile:
2025-12-11 23:21:24 +01:00
chunking_profile: structured_strict
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-11 22:02:44 +01:00
value:
2025-12-11 22:39:35 +01:00
chunking_profile: structured_strict
retriever_weight: 1.00
2025-12-04 13:35:04 +01:00
edge_defaults: ["related_to"]
2025-12-11 22:02:44 +01:00
principle:
2025-12-11 22:39:35 +01:00
chunking_profile: structured_strict
retriever_weight: 0.95
edge_defaults: ["derived_from", "references"]
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-04 13:35:04 +01:00
2025-12-11 22:02:44 +01:00
experience:
2025-12-11 22:39:35 +01:00
chunking_profile: sliding_standard
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-04 13:35:04 +01:00
2025-12-11 22:02:44 +01:00
# --- STRATEGIE & ENTSCHEIDUNG ---
2025-12-04 13:35:04 +01:00
goal:
2025-12-11 22:39:35 +01:00
chunking_profile: sliding_standard
2025-12-11 22:02:44 +01:00
retriever_weight: 0.95
edge_defaults: ["depends_on", "related_to"]
2025-12-11 22:39:35 +01:00
decision:
2025-12-11 23:21:24 +01:00
chunking_profile: structured_strict
2025-12-11 22:39:35 +01:00
retriever_weight: 1.00
edge_defaults: ["caused_by", "references"]
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-11-17 19:36:56 +01:00
2025-12-04 13:35:04 +01:00
milestone:
2025-12-11 22:39:35 +01:00
chunking_profile: sliding_short
2025-12-04 13:35:04 +01:00
retriever_weight: 0.70
2025-12-11 22:02:44 +01:00
edge_defaults: ["related_to", "part_of"]
2025-11-17 19:36:56 +01:00
2025-12-11 22:02:44 +01:00
# --- OPERATIV ---
2025-12-04 13:35:04 +01:00
project:
2025-12-11 23:21:24 +01:00
chunking_profile: sliding_large
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-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-11-17 15:58:34 +01:00
2025-12-04 13:35:04 +01:00
journal:
2025-12-11 23:21:24 +01:00
# NEUE ZUWEISUNG: Journale profitieren am meisten von der semantischen Analyse
chunking_profile: semantic_llm
2025-12-04 13:35:04 +01:00
retriever_weight: 0.80
2025-12-11 22:02:44 +01:00
edge_defaults: ["references", "related_to"]