Case & CodeA FIELD GUIDE TO AI
Start learning
Beginner

Hallucination

Also: hallucinations, hallucinate

In plain words

When the model states something that sounds right but is made up, including cases, quotes, and facts that do not exist.

Two answers that sound equally sure
Made up

“In Harper v. Lindqvist (2019 ONCA 412), the Court held that notice must be in writing.”

No such case exists. The name, the year and the citation all look right.
Checkable

“Clause 14.2 of the lease (page 6) says notice must be in writing.”

You can open page 6 and look.

The model does not know which of these it has done. It produces the most plausible-sounding text, and a fake case is very plausible-sounding text. The only defence is to open the source.

The fuller definition

Hallucination is a common term for generated content that is false, fabricated, or unsupported by the relevant evidence, despite being presented plausibly.

Go deeper

Compare the sentence with its source
SOURCE A01

Delivery may be possible in the first week of April, subject to inspection.

UNSUPPORTED SUMMARY

Delivery was promised on 1 April.

The output changes certainty, invents a specific day, and loses a condition. A link to the real source makes checking possible; it does not make that summary accurate.

A concrete example

An assistant invents a case citation or converts a conditional proposal into an unconditional commitment.

The distinction that matters

A confident tone, low temperature, or accompanying citation does not establish accuracy.

Related terms

Where it is taught

Test an AI workflow on work you can assess

Source and further reading

Anthropic · Evaluating AI agents

The definition and example are written for this library. The link gives background, official documentation or legal authority as labelled. Legal scope depends on the jurisdiction and current text; product features depend on release and settings.

Lessons, terms, practical guides and sources ESC