RAG Retrieval Evaluation — Finding Out Whether Retrieval or the Model Is to Blame
Measure RAG retrieval offline with a golden set, Recall@K, Precision@K, MRR and nDCG, compare chunking and K settings on quality and context cost, and separate retrieval errors from generation errors. C# and Python.