Applied AI·Embeddings and retrieval
build a 50-question set with known source chunks and measure recall before touching generation; most bad RAG is bad retrieval.
Recall@k
The fraction of test queries whose correct chunk appears in the top k results: the core retrieval metric, measurable without any LLM. If recall@k is low, no prompt engineering downstream can save the answers.