Digee / Wiki / AI basics

Explainer

AI hallucinations: why does AI make things up?

A hallucination is when AI confidently writes something that is not true – a made-up figure, a non-existent legal clause or the wrong date. It is not a bug in the program but a trait of language models. The good news: it can be managed well.

Updated 3 min read

In short

  • The model writes what sounds likely – not necessarily what is true.
  • What helps most is giving AI your verified documents and asking it to cite the source.
  • For important steps, a person always decides.
On this page
  1. Why hallucinations happen
  2. What a hallucination looks like in practice
  3. How to limit hallucinations
  4. Does this mean AI cannot be trusted?
  5. Frequently asked questions

Why hallucinations happen

A language model does not contain a database of facts that it searches. It builds an answer so that it sounds natural and fits the question. When it lacks the information it needs, it often “fills in” something that looks plausible.

This typically happens with precise details: numbers, dates, names, references to laws, or internal company rules the model has never seen.

What a hallucination looks like in practice

  • An online shop’s chatbot promises a customer free delivery that you do not offer.
  • An AI contract summary states a notice period that is not in the contract.
  • A reply to a citizen quotes a local regulation that does not exist.

All three cases have one thing in common: the AI answered from its “general memory” instead of from your documents.

How to limit hallucinations

  1. Give AI your documents. The agent should answer only from the price list, policies or documents you approve. This technique is called RAG.
  2. Ask for the source. With every answer, the agent shows which document it drew on. Checking then takes seconds.
  3. Allow “I don’t know”. The agent has a clear instruction: if the answer is not in the documents, pass the question to a person.
  4. Check automatically whatever you can. Numbers, dates and company registration numbers can be verified against the system automatically.
  5. Let a person decide. Where money, terms or sensitive matters are involved, the agent only prepares a draft (human-in-the-loop).

Does this mean AI cannot be trusted?

No. It means AI should be brought in the same way as a new colleague: with clear documents, rules and checks. A well-built agent makes fewer mistakes because it does not work “off the top of its head” but from your data – and when it is not sure, it says so.

Frequently asked questions

Can hallucinations be prevented completely?

Not completely, but they can be greatly reduced: by working from your own documents, citing the source with every answer, checking details automatically and having a person approve important steps.

Do all models hallucinate equally?

No. Newer models hallucinate less and are better at admitting they do not know something. But how the AI is deployed matters more than which model you choose.

How can I tell that AI is hallucinating?

The most reliable way is to ask it for the source. If it cannot show where the information came from, treat it as unverified.

Want to know where AI would save you time?

We go through a normal week with you and find the first task worth handing to an agent. No obligation.

Free consultation →

Related articles

← Back to Digee Wiki

Let's work together

Tell us what you want to improve.

A new website, an AI agent for routine work, or both? Write to us. We'll get back to you and arrange a free consultation.

hello@digee.cz

No slide decks about the AI future

Less routine for people. More room for work that matters.

What can we help with? (optional)