Skip to content

Answer relevance

Answer relevance asks whether the response addresses the user’s question. It compares the answer with the question, not with the retrieved context or a reference answer.1

Question: What is the return window?
Answer: The company was founded in 1998.

The answer could be true and supported by a retrieved company-history page. It is still irrelevant to the question.

  • Faithfulness compares answer claims with retrieved context.
  • Answer relevance compares the answer with the question.
  • Correctness compares the answer with trusted truth or a reference answer.
  • Retrieval relevance compares retrieved passages with the question.

Score these dimensions separately. One blended “quality score” makes it harder to decide whether to fix retrieval, context assembly, or generation.

  1. LangChain, “Evaluate a RAG application”.