Hallucination
When an LLM confidently generates false or fabricated information.
/ quick answer
Hallucinations happen because LLMs are next-token predictors, not fact retrievers. They generate what looks plausible given the context, which can include invented citations, APIs, quotes or numbers. Mitigations: RAG, tool calling, evals and human-in-the-loop. When an LLM confidently generates false or fabricated information.
/ frequently asked
What is Hallucination?
Hallucinations happen because LLMs are next-token predictors, not fact retrievers. They generate what looks plausible given the context, which can include invented citations, APIs, quotes or numbers. Mitigations: RAG, tool calling, evals and human-in-the-loop.
What is an example of Hallucination?
Asking 'give me the DOI for a paper on X' can return a perfectly formatted DOI that points to nothing. RAG grounding on a trusted corpus reduces this dramatically.
Why does Hallucination matter?
When an LLM confidently generates false or fabricated information.
What should I learn after Hallucination?
Open the related workflows and prompts further down this page: they show how this idea is applied in a real task, step by step.
/ continue exploring
Related concepts
The vocabulary this page depends on.
- →Prompt Injection
An attack where hostile input hijacks the LLM's instructions, causing it to leak data or misbehave.
- →Crypto Risk Management
Risk management in crypto is position sizing plus custody hygiene: deciding what you can lose per trade and what a single compromise can reach.
Related workflows
Turn this into a repeatable process.
- →Build an Internal Knowledge Bot
Ship a Slack bot that answers questions from your company docs.
- →AI Market Research Report in One Afternoon
From blank page to sourced, structured 20-page market report in ~4 hours.
- →How to Create a Website with AI
Go from idea to a live, custom-domain website in one afternoon using AI builders.
- →How to Build an AI Content System
A repeatable pipeline that turns one input into publish-ready content across every channel.
Related tool stacks
The tools that run it in production.
- →RAG Starter Stack
Minimum viable stack to ship a production RAG chatbot.
- →AI Research & Knowledge Stack
Default toolset for analysts, founders and creators doing deep research with AI.
Related prompts
Reusable prompts for this job.
- →Grounded Answer Prompt
Force the model to answer only from provided sources, with citations.
- →Crypto Risk Analysis Prompt
Runs a pre-mortem on a position or protocol: enumerates failure modes, likelihood, impact and observable early warnings.
Comparisons & alternatives
Pick between the options.
- →ChatGPT vs Claude
Two leading conversational AI assistants compared across reasoning, writing, coding, and pricing.
- →Lovable vs Bolt
Two AI app builders compared on speed, backend, deployment, and production readiness.
- →OpenAI API vs Anthropic API
Choosing between the two leading LLM API providers for production apps.
- →Lovable vs Cursor
Prompt-to-app builder vs AI-assisted code editor — which one should you reach for?