diff --git a/src/Knowledge/Retrieval/NdjsonHybridRetriever.php b/src/Knowledge/Retrieval/NdjsonHybridRetriever.php index 5a8aed5..2c0c802 100644 --- a/src/Knowledge/Retrieval/NdjsonHybridRetriever.php +++ b/src/Knowledge/Retrieval/NdjsonHybridRetriever.php @@ -24,11 +24,11 @@ final class NdjsonHybridRetriever implements RetrieverInterface private const LIST_BONUS = 1.25; private const MAX_CHUNKS_PER_DOC = 2; - private const MIN_CHUNK_DISTANCE = 2; + private const MIN_CHUNK_DISTANCE = 2.5; private const RRF_K = 60; - private const THRESHOLD_FLOOR = 0.65; - private const THRESHOLD_CEIL = 0.90; + private const THRESHOLD_FLOOR = 0.82; + private const THRESHOLD_CEIL = 0.92; private const EMPTY_RRF_FALLBACK_TOPN = 5; public function __construct(