What is top-k?
The number of retrieval candidates returned from search before later stages such as dedupe, reranking, or context assembly.
Use these to explain retrieval control like a production engineer.
The number of retrieval candidates returned from search before later stages such as dedupe, reranking, or context assembly.
Use evals across Recall@k, citation support, answer quality, latency, token budget, and duplicate rate.
The correct evidence may rank below k and never reach the model.
Noisy, duplicate, stale, or conflicting chunks can crowd the context window and increase cost.
No. They are ranking signals that need calibration and must be interpreted with metadata, evals, and citations.
To enforce tenant, access, active status, region, source type, and freshness before context assembly.
When user wording is vague, conversational, acronym-heavy, multilingual, or missing domain terms.
When a single phrasing may miss evidence and recall is important enough to justify extra searches.
Original query, rewritten query, filters, top-k, scores, ranks, selected chunks, dedupe count, citations, and index version.
Check whether gold evidence exists, whether it was filtered, its rank, score distribution, duplicates, rewrite behavior, and context assembly.