Files
MtoRagSystem/config/retriex/retrieval.yaml
2026-04-24 13:17:53 +02:00

29 lines
921 B
YAML

# Current 1.4.2 retrieval constants documented as configuration inventory.
# In this round these values are exposed by config dump/validation; the retriever logic remains unchanged.
parameters:
retriex.retrieval.inventory:
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