liveBook · Manning

Relevance

As explained in The Art of AI Product Development

A metric measuring how directly a generated answer addresses the user's query or intent.

Answer relevance measures how directly a generated response addresses the user’s query and intended level of detail. A response can rely on correct retrieved documents yet remain irrelevant if it answers only part of the request or uses the wrong format. section 7.3.2

Evaluate relevance by checking whether the response:

  • Addresses the specific request rather than merely discussing a related topic. section 7.3.2
  • Matches the requested depth, such as detailed analysis, statistics, or case studies. section 7.3.2
  • Fits the user’s requested style or transformation when those requirements are part of the task. section 5.1.3

A relevant report

For a request for a detailed report on AI trends in SaaS, a short blog-style overview that only skims the topic has low answer relevance, even when its claims come from correct documents. A useful evaluation asks whether the response supplies the depth and content the query demands. section 7.3.2

Answer relevance is one part of RAG evaluation alongside context relevance and groundedness. Teams can use LLM-as-a-Judge assessments, then refine prompts, retrieval, models, or criteria as user feedback reveals gaps. Judge quality depends heavily on the selected evaluation criterion. section 7.3.2 section 7.4

How The Art of AI Product Development covers it

How deep it goes
Defines relevance, contrasts it with groundedness, and illustrates evaluation criteria without specifying a formal scoring method.
Examples
Uses an AI-trends report, requested depth, user-specific transformations, and style or tone feedback as evaluation cases.
What it assumes
Assumes a user query, generated response, and retrieved context while distinguishing relevance from groundedness.
What you can do after
Evaluate/understand RAG responses with query-specific criteria and identify when prompting, retrieval, or generation needs improvement.
How it connects
Connects answer relevance with RAG, context relevance, groundedness, semantic embeddings, prompting, and fine-tuning.

Also explained in

Compare how 11 books explain relevance →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of The Art of AI Product Development. The section links point to the parts of the book it draws on.