Interview Prep/Agentic AI/RAG & vector databases

What is top-k in retrieval?

IntermediateConceptRAG & vector databases
Answer

Top-k is how many chunks you retrieve for each question. Too few and you miss the answer; too many and you add noise, cost and latency. Typical values are 3–10 after re-ranking. Tune it with evaluation rather than guessing.

All Agentic AI questions Roadmap: LLM fundamentals & RAG

More on RAG & vector databases