Output Evaluation and Validation·Task 2.3·Bloom: understand·Difficulty 2/5·8 min read·Updated 2026-07-14

Grounding Techniques You Build Into the Prompt

Apply fact-checking and validation techniques

SUBy Solomon UdohReviewed by Solomon UdohAI-assisted · human-reviewed
In short
Prompt-level grounding builds verification into the prompt before generation happens, using three techniques: explicitly permitting an "I don't know" response, restricting the answer to only the supplied source material, and requiring a specific checkable citation behind each claim. These are applied at prompt-writing time, before the output exists, and prevent hallucinations at the source rather than catching them afterward.

Prevention beats detection

Everything in task statement 2.2 was about catching failures after they appear. Task statement 2.3 flips the timing: the strongest verification is built into the prompt, before the output exists. The Claude Certified Associate - Foundations (CCAO-F) exam treats prompt-level grounding as the cheaper, more reliable half of fact-checking, because a hallucination prevented at generation time never has to be caught, corrected, or explained later. Three prompt habits do most of this work.

The unifying idea is that how you ask shapes what you get. A prompt that leaves no room for uncertainty, draws on anything, and demands no sourcing invites exactly the failures you will later have to hunt for. A prompt that permits uncertainty, bounds the sources, and requires citations closes those doors before generation begins.

Prompt-level grounding techniques
Three techniques applied at prompt-writing time to build verification into the output before it exists: (1) explicitly permitting an 'I don't know' response so the model is not pressured to invent, (2) restricting the answer to only the supplied source material, converting open-ended generation into bounded retrieval, and (3) requiring a specific, checkable citation behind each claim so verification becomes an audit.

Permit uncertainty

The first technique is to tell Claude explicitly that admitting it does not know is acceptable. A model asked a question it cannot ground is under an implicit pressure to produce something, and without permission to say "I don't know," that pressure is more likely to be resolved by inventing a plausible answer than by acknowledging the gap. Granting the permission removes the pressure. It makes "I don't know" a valid, expected response rather than a failure to comply, which is exactly what you want when the honest answer is that the information is not available.

Restrict to supplied sources

The second technique is to instruct Claude to answer only from the materials you provided, and to flag anything those materials do not cover. This converts open-ended generation, where the model draws on anything it might have absorbed, into bounded retrieval over a known, finite set of documents. The difference is decisive for trust: an answer that can only come from documents you can see is one you can verify by reading those documents, whereas an answer that can come from anywhere is one you cannot bound. Restriction also surfaces gaps honestly, because the instruction to flag uncovered material turns silence into an explicit "the sources do not address this."

Require auditable citations

The third technique is to require a specific source and location behind each claim, in a form you can check. When each claim arrives tagged with where it came from, verification becomes an audit, following the citation to the stated place and confirming it says what the output claims, rather than a re-investigation from scratch. The requirement only pays off if the citations are genuinely traceable, which is the subject of auditable versus untraceable citations; a citation you cannot follow is not a citation. Requiring citations also composes with source restriction: restriction keeps the answer inside your documents, and citations tell you exactly where inside them each claim lives.

permit
make 'I don't know' an acceptable answer
restrict
answer only from supplied sources, flag gaps
require
a checkable citation behind each claim

Three more grounding habits the module teaches

The three core techniques are the load-bearing ones, but the CCAO-F material lists three further habits that sit alongside them. Quote first, then analyse: for long documents, instruct Claude to pull the exact supporting sentences before it draws any conclusion, so the reasoning is anchored in extracted text and both the logic and any error become visible. Best-of-N comparison: re-run the same request and compare the responses, treating agreement across runs as a confidence signal and divergence as a flag that a claim is a soft spot needing a human look. Validate against authoritative sources: for claims that genuinely matter, check them against a trusted external reference rather than a second Claude response, since one model confirming another is not independent verification. In-product aids help here too, for example Claude for Excel can attach cell-level citations that tie each figure back to the input rows it came from. These extend the same principle: make the grounding of a claim something you can see and check, not something you take on trust.

What the CCAO-F exam trips candidates on

The first trap is assuming that asking Claude to "be accurate" after the fact achieves the same effect as building constraints into the original prompt. A vague after-the-fact plea does none of the specific work: it does not permit uncertainty, bound the sources, or require citations. The credited answer builds the three concrete constraints into the prompt before generation, rather than appending a general request for accuracy afterward.

The second trap is believing that requesting citations alone, without also restricting to supplied sources, prevents fabricated references. Citations without source restriction can themselves be fabricated, citation-shaped strings that lead nowhere. The techniques work together: restriction bounds where claims may come from, and citations pin each claim to a spot inside that boundary. The exam rewards combining them, not relying on citations in isolation.

Worked example

You need Claude to answer questions strictly from a contract you uploaded, without inventing anything. Which prompt design most reduces hallucination, and why do the pieces work together?

The strongest design applies all three grounding techniques at once, before Claude generates anything. First, restrict the answer to the provided contract: instruct Claude to respond only from that document and to flag any question the contract does not address. This converts an open-ended legal question, where the model might draw on half-remembered general contract law, into bounded retrieval over the one document you can actually check. Second, permit "I don't know": tell Claude explicitly that if the contract does not cover something, saying so is the correct answer. That removes the pressure to fill a gap with an invented clause. Third, require auditable citations: ask for the specific clause or section behind each claim, in a form you can open and confirm.

The pieces reinforce each other, which is why any one alone is weaker. Citations without source restriction could still be fabricated references to clauses that do not exist; source restriction without citations keeps the answer inside the document but makes you hunt for where each claim lives; permitting uncertainty without either could still let a confident but ungrounded answer through. Together, restriction bounds where claims may come from, citations pin each claim to a checkable clause, and the uncertainty permission ensures gaps are declared rather than filled.

Contrast this with the weak approaches the exam offers as distractors: simply asking the question and trusting Claude to stay in the document, or appending "be accurate" after the fact. Neither builds a concrete constraint, and both leave the door open to exactly the fabricated clause the grounded prompt closes off. Grounding is done at prompt-writing time, before the output exists, not patched on afterward.

Common misreadings to avoid

Misconception

Telling Claude to 'be accurate' after it answers is as good as grounding the prompt.

What's actually true

A general plea for accuracy does none of the specific work. Grounding means concretely permitting uncertainty, restricting to supplied sources, and requiring checkable citations, all built into the prompt before generation, not appended afterward.

Misconception

Requiring citations alone prevents fabricated references.

What's actually true

Citations without source restriction can themselves be fabricated. The techniques work together: restriction bounds where claims may come from, and citations pin each claim to a checkable place inside that boundary.

How this shows up on the exam

Domain 2 questions on this knowledge point ask which prompt technique most reduces hallucination for document work. The dependable answer restricts the response to the provided sources, permits an "I don't know," and requires citations to specific locations, all built into the prompt, rather than trusting the model or asking for accuracy after the fact.

These techniques prevent the failures catalogued in the hallucination pattern taxonomy. They lead into auditable versus untraceable citations for what makes a citation real, source-restricted re-prompting for using restriction as a correction, and code execution for numeric verification for numbers, and they are gathered into the verification checklist before shipping.

Check your understanding

You need Claude to answer questions strictly from a contract you uploaded, without inventing anything. Which prompt technique most reduces hallucination?

People also ask

How do you reduce hallucinations before generation?
Build three habits into the prompt: explicitly permit an "I don't know" answer, restrict the response to the sources you supplied, and require a checkable citation for each claim. These prevent hallucinations at the source.
What does restricting to provided sources do?
It converts open-ended generation into bounded retrieval over known documents. Claude answers only from the materials you supplied and flags what those materials do not cover.
Why permit an I do not know answer?
Explicit permission to admit uncertainty reduces the pressure that pushes a model to invent an answer rather than acknowledge a gap.

Watch and learn

Official Anthropic Academy lessons first, then hand-picked walkthroughs. Videos load only when you press play.

No videos curated for this concept yet

We are still curating the best official and community videos for this topic.

Official prep for this domain

Anthropic's own free prep module for this part of the syllabus, on the official prep course. Free with an Anthropic Academy sign-in.

References & primary sources

Adaptive study

Master this concept with Archie

Practice it inside an adaptive study session. Archie, your Socratic AI tutor, tracks your mastery with Bayesian Knowledge Tracing and schedules the perfect next review.

Start studying