Skip to content
AI Skills Central

Type to search Agent Skills, workflows, tutorials, tools and the glossary.

Grounding

Definition

Tying a model's answers to specific provided sources or retrieved data, so that each claim can be traced back to a source and checked.

In more detail

A grounded answer cites the passage it relies on and says when the sources do not cover the question. Grounding reduces hallucination but does not remove it: models can still misread or over-generalise from a source.

In a support bot, grounding means the answer to "can I get a refund after 30 days?" quotes the relevant line of the refund policy retrieved for that question, and replies "the policy does not say" when nothing relevant was found. The prompt instructs the model to answer only from the provided passages and to cite them.

Measure it with a faithfulness check: does every claim in the answer appear in the retrieved context? An LLM judge can score this at scale once you have checked it against human labels.

  • Faithfulness (RAG metric)

    How far an answer's claims are supported by the retrieved context it was given, regardless of whether they are true in general.

  • Hallucination

    A fluent, confident model output that is false or not supported by its sources, such as an invented citation, quote or API call.

  • LLM-as-a-judge

    Using a model to grade another model's outputs against written criteria, ideally checked against a sample of human-labelled cases.

  • Retrieval-augmented generation (RAG)

    Retrieving relevant documents and adding them to the prompt before the model generates an answer from them.

  • Knowledge cutoff

    The date after which a model saw little or no training data, so it does not know about later events, releases or API changes.

  • Why AI hallucinates, and how to reduce it

    AI hallucinations are fluent answers that are false. Why language models produce them, which ones you can prevent, and a checklist for work you depend on.

    Article

  • Retrieval-augmented generation

    Fetching relevant documents and adding them to a prompt to ground answers.

    SkillIntermediate

  • Research a topic with sources you can check

    Research a topic with AI search and keep every claim checkable: build a source list, open and log each source, draft from the log, then add limits and a date.

    WorkflowBeginner30 min6 steps

  • Evaluate RAG answers with a golden dataset

    Set up RAG evaluation with a golden dataset and promptfoo: score retrieval, correctness and grounding for every question, and fail CI when answer quality drops.

    WorkflowIntermediate2 h6 steps