fix retrieve 1
This commit is contained in:
@@ -72,6 +72,18 @@ final class NdjsonHybridRetrieverConfig
|
||||
*/
|
||||
public const RRF_K = 50;
|
||||
|
||||
/**
|
||||
* Keyword retrieval is fused with vector retrieval as a factual safety net.
|
||||
* It protects exact values, ranges, thresholds, model codes and domain terms
|
||||
* that semantic retrieval can miss or rank too low.
|
||||
*/
|
||||
public const HARD_MAX_KEYWORDK = 36;
|
||||
public const KEYWORD_TOPK_MULTIPLIER = 2.0;
|
||||
public const KEYWORD_SCORE_THRESHOLD = 0.35;
|
||||
public const KEYWORD_RRF_WEIGHT = 1.15;
|
||||
public const SCOPED_VECTOR_RRF_WEIGHT = 1.20;
|
||||
public const SCOPED_KEYWORD_RRF_WEIGHT = 1.30;
|
||||
|
||||
/**
|
||||
* Fallback size when thresholded fusion yields no candidates.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user