AI Foundations

What Is an AI Hallucination?

An AI hallucination is a response that presents unsupported or incorrect information as though it were true. It can occur when a model fills gaps with plausible patterns.

Language models generate likely sequences rather than directly querying a built-in truth database. Unclear prompts, missing context and pressure to answer can increase unsupported detail.

Two practical examples

Example 1. A model invents a citation that does not exist.

Example 2. A chatbot states a product feature that is absent from the official specification.

What to check in practice

  • Identify the exact device, software version or service involved before changing a setting.
  • Record the current configuration so you can reverse a change that causes problems.
  • Test one variable at a time and confirm the result using reliable measurements or logs.
  • Use the official documentation for model-specific limits, compatibility and safety requirements.
Important consideration

Require source links for factual work and verify them. For high-impact decisions, use authoritative data and human review rather than model confidence.

Common question

What is the first thing to do? Start by identifying the exact use case and the system involved. Then verify the relevant settings or measurements before making changes. A general explanation is a starting point, not a substitute for checking your own environment.

TryHook publishes independent educational explainers. Product names and technical standards belong to their respective owners. Some pages may eventually contain clearly disclosed affiliate links; editorial explanations are not paid endorsements.

Explore more in AI Foundations

Continue with related beginner-friendly guides.

AI vs Machine Learning vs Deep LearningRead guideWhat Is a Large Language Model?Read guide