Files
MtoRagSystem/config/retriex/retrieval.yaml
2026-04-25 23:39:41 +02:00

35 lines
1.1 KiB
YAML

# Active retrieval configuration.
# Defaults are intentionally identical to the frozen 1.4.2 constants.
parameters:
retriex.retrieval.config:
hard_max_chunks: 6
hard_max_vectork: 18
hard_max_keywordk: 36
vector_score_threshold: 0.83
threshold_floor: 0.75
threshold_ceil: 0.90
list_bonus: 1.35
rrf_k: 50
keyword_topk_multiplier: 2.0
keyword_score_threshold: 0.35
keyword_rrf_weight: 1.15
scoped_vector_rrf_weight: 1.20
scoped_keyword_rrf_weight: 1.30
empty_rrf_fallback_topn: 1
max_chunks_per_doc: 2
min_chunk_distance: 2
dominant_doc_window: 6
dominant_doc_min_hits: 3
dominant_doc_max_chunks: 4
exact_document_max_chunks: 6
focused_product_window: 8
focused_product_min_score: 10.0
focused_product_min_gap: 4.0
focused_product_max_chunks: 4
# Vocabulary-backed retrieval token lists live in config/retriex/vocabulary.yaml.
# The old per-key entries may still be added here to override a specific view.
# Backwards-compatible name for existing config diagnostics.
retriex.retrieval.inventory: '%retriex.retrieval.config%'