You want to evaluate whether a RAG system retrieves the right sources before generating an answer. Which metric or evaluation strategy best reflects retrieval quality?
Answer
Precision/Recall (or hit rate) of retrieved passages against known relevant documents
Explanation
Retrieval metrics like precision/recall or hit rate measure whether the system surfaces relevant content. Response-only quality metrics can miss retrieval failures.
Last reviewed: October 2026
Reviewed by FirstInTest Editorial Team
Related questions
Which approach best supports safe handling of sensitive data in a RAG workflow when documents may include PII?
View question →
A developer must build an event-driven workflow that summarizes documents and stores results. Which AWS service is best suited for coordinating multiple steps with branching logic and retries?
View question →
Which AWS feature helps you mitigate prompt injection risks in RAG by preventing untrusted retrieved text from overriding system instructions?
View question →
When using managed vector search to support RAG, what is the key reason to store embeddings in a vector index separate from the original documents?
View question →
When building a retrieval augmented generation (RAG) pipeline, what is the primary purpose of chunking documents before embedding?
View question →
Which service feature in AWS helps you manage access control for foundation models and generative AI endpoints across users and teams?
View question →