diff --git a/src/Knowledge/Retrieval/NdjsonHybridRetriever.php b/src/Knowledge/Retrieval/NdjsonHybridRetriever.php index f2fa9ea..772543b 100644 --- a/src/Knowledge/Retrieval/NdjsonHybridRetriever.php +++ b/src/Knowledge/Retrieval/NdjsonHybridRetriever.php @@ -28,13 +28,13 @@ final class NdjsonHybridRetriever implements RetrieverInterface private readonly NdjsonChunkLookup $lookup, private readonly VectorSearchClient $vectorClient, private readonly TagRoutingService $tagRouting, - private readonly int $maxChunks = 3, - private readonly int $vectorTopK = 5, + private readonly int $maxChunks = 100, + private readonly int $vectorTopK = 100, ) {} public function retrieve(string $prompt, int $limit = null): array { - $limit ??= $this->maxChunks; + $limit = $this->maxChunks; // --------------------------------------------------------- // 0) Tag-Routing FIRST (soft gate)