Why AI Hallucinates and How to Fact-Check Any AI Answer
Generative AI course · Chapter 13 · Estimated reading time: 14 minutes
You now know that an LLM writes by predicting the next piece of text. That one fact explains the biggest risk of using AI at work: sometimes it writes something that sounds perfect and is completely false. This is called a hallucination. In this chapter you will catch 3 hallucinations with your own eyes (an invented book, a wrong date and a source that does not say what the AI claims), read about a real court case in India where an AI-made judgment cost a litigant ₹50,000, and learn a 5-step fact-check you can do in 2 minutes on any AI answer.
What you will learn in this chapter
- What a hallucination is
- Why LLMs hallucinate: 5 simple reasons
- A real case from the Bombay High Court
- Catch an invented book
- Catch a wrong date
- Check sources with Gemini and Copilot links
- The 5-step fact-check
- Prompts that reduce hallucinations
Related guide
Using AI for shares or investing? Read the guide AI for Share Market Analysis in India: Safe Uses and Scam Signs. It asks for page numbers, keeps AI away from price guesses and spots stock tip scams.
1. Suppose we asked for 3 good books
Suppose we are Kiran, an MBA student in Bengaluru. Our professor asked for 3 books on retail in India. We ask an AI:
Suggest 3 books on the growth of retail in India, with author and year.
A typical answer (yours will be similar, not the same):
1. "The Kirana Revolution: How Small Shops Built Indian Retail" – Meera Krishnan (2016)
2. "Retail Bharat" – S. Raghunathan (2019)
3. "From Mandi to Mall" – Anil Deshpande (2012)
The titles sound real. The authors sound real. The years look right. But when we search each title on Google Books, an online bookstore and the library catalogue, we may find nothing. The AI produced titles that look like book titles, because that is what the next-text prediction does well.
(We made up the 3 titles above on purpose to show what this looks like. Do not search for them.)
That is a hallucination:
A hallucination is an AI answer that sounds confident and correct, but is false or made up.
2. Why does AI hallucinate? 5 simple reasons
- It predicts, it does not look up. An LLM writes the most likely next words. "Likely" and "true" are usually the same, but not always.
- It never says "I don't know" on its own. Training rewards a helpful, complete answer. A confident guess often looks more helpful than "I am not sure".
- Rare facts are weak. Famous facts (the capital of India) appear thousands of times in training text. A small book, a local rule or a person's exact date of birth may appear once or never.
- Knowledge cutoff. Anything after the training date is unknown to the model alone, so it may fill the gap with an old or invented answer.
- Pressure from the prompt. If you ask "give 10 sources", it will try to give 10, even if it knows only 4.
Google's own Gemini help page says it plainly: Gemini can hallucinate and present inaccurate information as factual. Every AI company has a similar warning under the chat box.
The 5-step fact-check for any AI answer
3. A real case: an AI-made judgment in the Bombay High Court
This is not a classroom problem. In January 2026, the Bombay High Court imposed costs of ₹50,000 on a party in a flat dispute in Mumbai. The party's written submissions relied on a case called "Jyoti w/o Dinesh Tulsiani vs Elegant Associates". The judge and the court's law clerks searched for this judgment and could not find it anywhere. The judge noted signs that the submissions were prepared with an AI tool such as ChatGPT.
Justice Milind Sathaye wrote that using AI for research is welcome, but the person using it has a great responsibility to cross-verify that the references are relevant, genuine and really exist. He also warned that an advocate doing this could face stricter action, including a referral to the Bar Council. (Source: LiveLaw report of 16 January 2026 on the judgment of 7 January 2026 in Deepak Shivkumar Bahry vs Heart & Soul Entertainment Ltd.)
The lesson for every job: the person who signs is responsible, not the AI. That is true for a court filing, a client email, a college assignment or a bank form.
4. Worked example 1: catch an invented book
Let us test the AI on purpose with a book that does not exist.
Steps:
- Open any AI tool. Turn web search off if there is a button.
- Paste:
Summarise the book "The Silent Monsoon Ledger" by Arvind Kale in 5 bullet points.
(We invented this title and author for this test.)
Expected output, two kinds (yours will be similar, not the same):
A careful answer:
I could not find a book called "The Silent Monsoon Ledger" by Arvind Kale. It may be a
very new or small book, or the title may be slightly different. Can you share where you
heard about it?
A hallucinated answer:
"The Silent Monsoon Ledger" by Arvind Kale is a novel set in a coastal Konkan village...
- An old accountant discovers secrets in a family ledger
- ...
What to learn: newer models refuse more often, but not always. Try the same prompt in 2 tools. If one invents a plot, you have seen a hallucination live.
How to check any book quickly:
- Search the exact title in quotes on Google:
"The Silent Monsoon Ledger". - Search it on an online bookstore and on Google Books.
- Look for an ISBN (the book's ID number). A real published book usually has one.
If you cannot find it in 3 places, do not use it.
5. Worked example 2: catch a wrong date
Dates and numbers are where hallucinations hurt most, because they look so precise.
Steps:
- Ask:
When did GST start in India? Give the exact date and one line on what it replaced.
- Compare the answer with an official source.
A wrong answer you may see (example):
GST was launched in India on 1 April 2017, replacing VAT, service tax and excise duty.
The check: GST in India started on 1 July 2017 (the launch was at a special midnight session of Parliament on 30 June to 1 July 2017). The official GST portal and CBIC pages give this date. The answer above is wrong by 3 months, even though everything else in it sounds right. "1 April" is the start of the financial year in India, so it is a very "likely" date, which is exactly why a model might predict it.
Follow-up prompt when you catch a mistake:
That date is wrong. The official GST portal says 1 July 2017. Please correct your answer, and
tell me which other facts in your answer I should double-check.
Most tools will correct it. But remember: the AI agreed because you checked. Never let it be the only source for a date in a document you send.
Ravindra Bagale's Tip
Learners often ask the AI to check its own answer ("Are you sure?") and feel safe when it says "Yes". Asking "are you sure" only makes the model predict again; sometimes it changes a right answer to a wrong one just because you sounded doubtful. Check facts outside the AI: the official website, the document itself, or a second trusted source. Use the AI to find what to check, not as the proof.
6. Worked example 3: check the sources with Gemini and Copilot links
Tools with web search show sources: small links or numbers next to the sentences. Sources help a lot, but a link is not proof until you open it.
Steps:
- In Copilot, ask (Copilot's search answers show citations next to the text):
What is the minimum balance for a basic savings bank deposit account (BSBD) in India? Give sources.
- In Gemini, ask the same question. When Gemini has sources, a Sources button appears below the answer (or links appear inside it). Some versions also have a Double-check response option in the menu under the answer; use it if you see it.
- For each tool, open at least 2 of the links.
- For each link, check 3 things:
- Is it a trusted site? For banking: rbi.org.in or the bank's own site, not a random blog.
- Does the page actually say this? Use Ctrl + F (or Find in page on the phone) to search for the key word, like "minimum balance".
- Is it current? Look for a date on the page.
Expected output (yours will be similar, not the same):
A BSBD account has no minimum balance requirement. [1] [2]
Account holders get basic facilities like an ATM card and a minimum number of free withdrawals each month. [1]
What you may find when you open the links:
- Link [1] is an RBI page or a bank's BSBD page that says there is no minimum balance requirement. Good, the claim is supported.
- Link [2] is a general blog page about savings accounts that does not mention BSBD at all. This link does not support the claim. The AI attached it anyway.
This is common: the sentence is right, but one source is weak, or the sentence adds a detail that no source says. (For the record, RBI's rules say a BSBD account has no minimum balance and at least 4 free withdrawals a month; the AI's "minimum number" is vague, so check the exact number on the RBI page.) Trust only what you found in the source yourself.
7. The 5-step fact-check (2 minutes)
Use this on any AI answer before you send, submit or sign it:
- Mark the facts. Underline every name, number, date, price, rule, quote and source in the answer.
- Ask: does it matter? If a wrong fact would embarrass you, cost money or break a rule, it must be checked. A wrong adjective in a birthday wish does not.
- Find the official source. Government site, company site, the original document, the book itself. Not another AI, not a forwarded message.
- Match exactly. Open the source and find the same fact, with Ctrl + F. Same number, same date, same name.
- Fix or remove. If you cannot confirm a fact, change it or delete it. "I could not verify" is better than a confident mistake.
8. Prompts that reduce hallucinations
You cannot switch hallucinations off, but these lines in your prompt help a lot:
| Add this line | Why it helps |
|---|---|
If you are not sure, say "I am not sure" instead of guessing. |
Gives the model permission not to invent |
Use only the text I pasted below. If the answer is not in it, say "Not in the text". |
Keeps the answer inside your document |
Quote the exact sentence you used, with the page number. |
You can check the quote in seconds |
Give the official source website for each fact. |
Points you to where to check |
List which facts in your answer I should double-check. |
The model often knows its weak points |
| Turn on web search for news, prices, rules and recent events | Fresh results instead of old memory |
A ready "careful answer" prompt (copy and save):
Answer my question below. Rules:
1. If you are not sure about a fact, say "Not sure" next to it.
2. Do not invent names, books, case laws, links or numbers.
3. At the end, list every fact I should verify, with the best official website to check it.
Question: [your question]
9. Where hallucinations are most dangerous
| Area | Example of harm | Always check with |
|---|---|---|
| Law | A case law that does not exist (like the Bombay case) | The court's website, a law database, a lawyer |
| Health and medicine | A wrong dose or a fake side effect | A doctor, the medicine's leaflet |
| Money and tax | A wrong GST rate or deadline | The GST portal, the income tax site, your accountant |
| Exams and admissions | A wrong date or eligibility rule | The official notice of the exam or college |
| Citations in assignments | Fake references | Google Scholar, the library, the publisher's site |
| People | False claims about a real person | Trusted news sources; or do not write it |
10. Compare the 4 tools
| What helps you check | ChatGPT | Gemini | Claude | Copilot |
|---|---|---|---|---|
| Web search with links | Yes, search in the app | Yes, Google Search; Sources button | Web search on the free plan | Yes, citations in search answers |
| Answer only from your file | Upload and ask for quotes | Upload and ask for quotes | Upload and ask for quotes | Upload and ask for quotes |
| Warning about mistakes | Under the chat box | Under the chat box and in help pages | Under the chat box | Under the chat box |
No tool is free of hallucinations. Tools with search hallucinate less on fresh facts, but they can still misread a page or attach a weak source.
11. Beginner mistakes and quick fixes
| Mistake | What happens | Quick fix |
|---|---|---|
| Trusting a confident tone | Invented facts go out under your name | Confidence is not proof; check |
| "Are you sure?" as the check | The AI just predicts again | Check outside the AI |
| Counting links as proof | A link that does not support the claim | Open the link; find the exact line |
| Asking for "10 sources" | Fake sources to fill the number | Ask for "up to 5 real sources, or fewer" |
| Using AI for case laws or citations without checking | Costs, marks lost, trust lost | Check every reference in the original |
12. Try at home
Try at home
Task 1: the fake book test
- Invent a book title and an author name.
- Ask 2 AI tools to summarise it, with search off.
- Note which tool refused and which invented a summary.
Task 2: the date test
- Ask an AI 3 date questions from your field (for example, the start of a scheme, a law or a company).
- Check each date on an official website.
- Write down how many were exactly right.
Task 3: the source test
- Ask Copilot or Gemini a question about a government rule, with sources.
- Open every link and use Ctrl + F to find the key fact.
- Mark each link as "supports", "partly" or "does not support".
Recap
In short
- A hallucination is a confident AI answer that is false or made up.
- It happens because the model predicts likely text and does not look facts up.
- Rare facts, recent events and pressure for "more" make hallucinations more likely.
- In January 2026, the Bombay High Court imposed ₹50,000 costs over an AI-made judgment that did not exist.
- Catch invented books with 3 searches, and wrong dates with the official source.
- Open source links and find the exact line; a link alone is not proof.
- The 5-step fact-check: mark, decide, find the source, match, fix or remove.
- Prompts like "say not sure" and "quote the exact line" reduce hallucinations.
Take the last AI answer you used for work or study, and run the 5-step fact-check on it now. You will be surprised how often one small fact needs fixing.
Previous chapter: Tokens and Context Window Explained: Why AI Forgets Long Chats
Next chapter: AI with Web Search, Deep Research and AI Mode: When the Answer Is Fresh
Ravindra Bagale, trainer: linkedin.com/in/ravindra-bagale. The people, book titles and author names in the examples are made up for learning; they are not real books. The Bombay High Court case is real and is reported by LiveLaw (16 January 2026). The GST start date and the BSBD rules (RBI directions in force from 1 April 2026) were checked on 19 October 2026. AI answers change every time, so your output will be similar, not the same.