New: Cookbooks and AI ExplanationsStep-by-Step recipes to solve problems connected to Roadmaps and Cheat Sheets. Need more details? Use AI buttons for structured and simple explanations with concrete examples throughout the whole platform.Take a look
Retrieval recall went up when I widened top-k, and the RAG answers came out worse instead of better.
What you'll have at the end
A noise-sensitivity score for two different top-k settings, showing which one gives correct answers.
You need
A RAG pipeline where you can change top-k independently of everything else, plus a small set of real questions each with one clear correct answer.
Not covered
Whether to change your embedding model or chunking strategy instead of top-k; this only measures the top-k change you're already weighing.
Leans on
Build a golden test set instead of eyeballing prompt changes
start there first if you don't yet have a small set of real questions with known-correct answers to run this comparison against
Score your RAG's retrieval and generation as two separate problems
once a wide top-k is hurting more than one claim per answer, this splits every failure into a retrieval problem or a generation problem instead of one noise number
Add a reranker so RAG stops burying the right chunk
if the wider top-k's recall gain is worth keeping, this adds the reranker that keeps noisy chunks from reaching the generator in the first place
Checked 18 Aug 2026
Part of the AI-LLM App Evaluation cookbook