Groundedness and Relevance

Complete the full lesson to earn 25 points — 50 with Pro

Work through each section, then tap “Mark as Complete” on the last one.

Section 1 of 11

✦ Skip the page breaks, the wait, and see fewer ads — read each lesson on a single page with Pro

Module: Optimize GenAI Systems

Section: Quality Optimization

Lesson: Groundedness and Relevance

Introduction: The Foundation of Trust in GenAI

When we build systems powered by Large Language Models (LLMs), the excitement often centers on the model's ability to generate fluent, human-like text. However, in professional and technical environments, fluency is secondary to accuracy. If a system generates a beautifully written response that contains factual errors or wanders off-topic, it fails to provide value and can actively harm the user's workflow. This is where the concepts of Groundedness and Relevance become the cornerstones of quality optimization.

Groundedness refers to the extent to which a model’s output is supported by the provided source material or external facts. A grounded system does not "hallucinate" or invent information; it acts as a faithful synthesizer of the data it has been given. When we talk about groundedness, we are effectively measuring the "truthfulness" of the model relative to a specific context. If your RAG (Retrieval-Augmented Generation) system pulls a document about company benefits, the model should only reference the specific numbers and policies contained within that document, rather than relying on its internal, potentially outdated training data.

Relevance, on the other hand, measures how well the generated response addresses the user's specific query. Even if a response is perfectly grounded, it is useless if it fails to answer what the user asked. A system might retrieve the correct documents and generate facts that are true, but if it spends three paragraphs explaining the history of a topic when the user just asked for a summary of a specific contract clause, the relevance score is low. Together, groundedness and relevance ensure that your AI system is both honest and helpful.


Section 1 of 11

Reach the last section to complete this lesson and earn points — you're on section 1 of 11.