Mehdi AgentAI

Home / Guides

AI hallucinations: the prompt rules that make AI say "I don't know"

Four copy-paste prompt rules and a quick check for any AI answer that matters.

In this guide

For anyone who uses AI for product claims, prices, supplier terms or research and cannot afford a confident wrong answer. By the end you will have four prompt rules, copy-paste versions of each, and a short check for any answer that matters. The techniques come from Anthropic’s “Reduce hallucinations” documentation.

The problem

Anthropic states that even the most advanced language models can sometimes produce text that is factually incorrect or inconsistent with the given context. The model does not mark which lines are guesses. A wrong supplier term or a made-up product claim looks as confident as a correct one.

Rule 1: give permission to say “I don’t know”

Anthropic lists this first. Explicitly allowing the model to admit uncertainty can drastically reduce false information. Add this to any prompt:

If you are not sure about something, or the information is missing, say “I don’t have enough information to answer this” instead of guessing.

Rule 2: quotes first, analysis second

For long documents, ask the model to pull exact quotes before it analyses. Anthropic’s docs describe this for documents over 20,000 tokens, which is roughly a long contract or a thick policy.

Here is my supplier agreement:
<document>
[paste the agreement]
</document>

Step 1: Extract the exact quotes that mention delivery times, returns and payment. If you find none, write “No relevant quotes found.”
Step 2: Using only those quotes, summarise my obligations. Refer to each quote by number.

Rule 3: every claim needs proof, or it goes

Make the answer auditable. Anthropic suggests asking the model to find a supporting quote for each claim after it writes, and to remove any claim it cannot support.

Draft a product description using only the facts in the supplier sheet below.
After drafting, check every claim. For each one, find a direct quote from the sheet that supports it. If you cannot find a quote, remove the claim and mark the place with [].

<supplier_sheet>
[paste the sheet]
</supplier_sheet>

This is the rule to use for health, safety or performance claims on a product page.

Rule 4: ask twice and compare

Anthropic describes running the same prompt several times and comparing the outputs. If the answers disagree, treat that as a warning that at least one is invented.

  • Open three new chats.
  • Paste the same question in each.
  • Compare the key facts. Anything that changes between chats needs a human check.

Related techniques in the same docs: tell the model to use only the documents you provide and not its general knowledge, and ask follow-up prompts that make it verify its own earlier statements.

What these rules cannot do

Anthropic is clear that these techniques significantly reduce hallucinations but do not eliminate them. Always validate critical information yourself, especially numbers, prices and anything with legal or health consequences.

A quick check for any answer that matters

  • Did the answer cite a source I can open?
  • Did I open it?
  • Do the numbers match the source?
  • Would I be comfortable if a customer read this?

My honest take

I treat every AI answer as a draft written by a fast intern who never says “I am not sure”. The rules above force the uncertainty into the open, so I can decide what to verify before it reaches a customer.

Want the next one first?

New guides and tools go out on Instagram before anywhere else.

Follow @mehdiagent.ai