From c12ae8b45e6269e86bc5c8c457a1495009b0f68f Mon Sep 17 00:00:00 2001 From: team 1 Date: Wed, 25 Feb 2026 16:02:22 +0100 Subject: [PATCH] add tag assign to documents batch --- src/Knowledge/Retrieval/NdjsonHybridRetriever.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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)