Thursday, 3 Dec 2026 Global Edition
Live Wire
AI Today Daily AI journalism & intelligence
Front Page Tips & Tutorials Baca versi Indonesia

Give It Sources, Not Freedom: Grounding Techniques to Stop AI Chatbots From Making Things Up

Chatbots invent facts when given room to guess. Grounding fixes it: feed sources, force quotes, and make "I don't know" a valid answer.

Give It Sources, Not Freedom: Grounding Techniques to Stop AI Chatbots From Making Things Up

You ask something that sounds trivial — a company policy clause, an industry growth figure, the name of an official — and the chatbot answers fluently, complete with convincing detail. Unfortunately, some of that detail may be pure invention. That is AI hallucination: the model isn't lying on purpose; it is simply continuing the most plausible pattern of words, and sometimes that pattern doesn't match reality.

Most guides teach you how to check AI answers after the fact. This article moves one step upstream: changing how you ask, so the AI never gets the chance to make things up. The principle fits in one sentence — give the AI material to read, not a question it has to guess. Here are seven practical steps, ending with a ready-to-use template.

1. Learn When AI Is Most Likely to Fabricate

Hallucination is not evenly distributed. Models fabricate most often when asked about thinly documented things: specific statistics, obscure names, dates, quotes, and academic citations. Topics newer than the model's knowledge cutoff are risky too — it will "fill in" with plausible-sounding guesses. Even the best-ranked models on Vectara's hallucination leaderboard still produce summaries that are factually inconsistent at a rate of roughly 1–3 percent.

The simple habit: before asking, classify your question. If the answer is hard fact and one wrong number could hurt you, never ask it from the model's memory alone — use the techniques below.

2. Switch From "Asking" Mode to "Reading" Mode

The golden rule of grounding: don't ask the AI to answer from memory when you can hand it the material. It's the difference between asking a stranger and handing a document to an analyst.

Practical steps:

  1. Gather material: document text, a PDF, emails, a transcript, an article.
  2. Paste or upload the material into the chat.
  3. Lock the answer to that material with explicit instructions.

Example prompt:

I'm attaching the [company name] Employee Handbook. Answer my questions based ONLY on this document.
- If the answer exists, cite the section/clause it comes from.
- If it is not covered in the document, reply exactly: "NOT COVERED IN THE DOCUMENT".
- Do not add assumptions, examples from other sources, or general knowledge.
Question: what is the annual leave limit and how do I request it?

The key lines are the explicit prohibitions. "Answer correctly" is not enough — you must close the exits models normally use: adding general knowledge and guessing.

3. Force Every Claim to Carry Its Evidence

The most powerful anti-fabrication technique: ask the model to quote first, then conclude. This shifts the AI's job from "remembering" to "copying" — and copying is far more reliable. Anthropic's own documentation recommends exactly this for document-based questions.

Example prompt:

Read the text below, then answer in this format:
1. QUOTE: copy the exact sentence from the text that supports your answer.
2. ANSWER: maximum two sentences, based strictly on the quote above.
3. LABEL: [CERTAIN] if the quote directly answers the question, [INFERRED] if you are reading beyond the text.
Text: [paste text here]
Question: [your question]

Big bonus: you can verify the answer in ten seconds with Ctrl+F against the original text. If the quote isn't there, you instantly know it's an invention — without reading everything.

4. Grant Official Permission to Say "I Don't Know"

Chatbots are trained to look helpful, so they prefer answering over silence. That's why Anthropic's documentation recommends giving the model an "out": explicit permission to admit it doesn't know. You can apply this to any chatbot.

Add a line like this to your prompt:

This is a document-reading task, not a quiz. Answering "NOT FOUND" is a valid, appreciated answer. Never guess. For every claim, add a label: [FROM SOURCE] or [GUESS].

Pleasant side effect: [GUESS] labels automatically become your checklist — you only verify the parts the model admits it is inferring.

5. Separate Copying Work From Creating Work

Not every task needs the same level of caution. Hard data — numbers, names, dates, URLs — is extraction work: ask the model to copy verbatim, ideally into a table. Drafting, brainstorming, and rephrasing are generation work — freedom is fine, and the risk is low because you remain the writer.

Example data-extraction prompt:

Extract all financial figures from the report below into a table: columns Metric, Value, Period, Page.
Rules: copy numbers character by character with no rounding. If any figure is unclear, write [UNCLEAR] — do not estimate.

This habit saves you from the most expensive mistake: AI that rounds, swaps commas for periods, or "tidies up" figures to fit its guesses.

6. Verify Only What's Risky: The 80/20 Rule

Checking every sentence is exhausting — which is why many people give up. Be realistic: flag the must-check categories and let the rest stand as rough material. Must-check: any number, name, date, quote, link, and claims about law, health, and finance.

A fast three-step flow:

  1. Read the AI's answer and mark every claim in the must-check categories.
  2. For each claim that came with a quote (step 3), press Ctrl+F in the source document.
  3. For critical claims with no internal source, verify via web search or a second chatbot with search access.

The hard rule: a claim you can't trace back gets deleted — never softened into "reportedly".

7. Assemble It All Into a Reusable Template

Save the combination of every technique above once, then paste it in whenever you need a factual answer:

Role: You are a research analyst allowed to work ONLY from the material I provide.
Material: [paste text / upload document]
Question: [write your question]
Answer rules:
1. Answer ONLY from the material. No general knowledge, no assumptions.
2. For every claim, first quote the exact supporting sentence.
3. Label each claim: [FROM SOURCE] or [GUESS].
4. If the answer is not in the material, reply "NOT FOUND". That is a legitimate answer.
5. Numbers are copied verbatim and presented in a table.

Keep it in a notes app, a keyboard snippet, or your chatbot's custom instructions. Five seconds to paste — and your factual answers move up a class.

No model is truly hallucination-free, but you control whether it even gets the opportunity to fabricate. Change your asking habit from "what is X?" to "here's the material — what does this document say about X". Your AI turns from an overconfident conversation partner into a research assistant that knows its limits. Combine it with checking high-stakes claims, and you get the best of both: prevention upstream, filtering downstream.

References

Partner Spotlight Explore today’s curated technology offers