add tag assign to documents batch

This commit is contained in:
team 1
2026-02-25 16:02:22 +01:00
parent 3e264cbff4
commit c12ae8b45e

View File

@@ -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)