PromptisePromptise
PlatformSoonEnterprise
DocsGitHub
Talk to usGet started
Promptise - AI Framework LogoPromptise

The full-stack framework for agentic systems. Build with the framework. Run it on the platform. Launch it with our engineers.

pip install promptise

[01] Product

  • Framework
  • Platform (coming soon)
  • Enterprise
  • How it works
  • Contact

[02] Framework

  • The Agent
  • The Interface
  • The Harness

[03] Resources

  • Documentation
  • GitHub
  • Why Promptise
  • Use cases
  • Roadmap
  • Guides
  • Learning Paths
  • Questions

[04] Company

  • About
  • Terms of Service
  • Privacy Policy
  • Cookie Policy
  • Subprocessors

© 2026 Promptise by Manser Ventures. All rights reserved.

hello@promptise.com
← Guides> Library> Topic

LLM hallucinations: why they happen and how to catch them

A hallucination is a fluent, confident statement from a model that is false or not supported by its sources. It happens because a model generates likely text, not checked facts, and nothing in plain generation tells it to stop when it does not know.

You cannot remove hallucinations completely, but you can make them rarer and easier to catch. Grounding answers in supplied documents, asking for citations, letting the model say it does not know, verifying claims in a separate step and checking outputs in code all help. These guides start with quick checks for beginners and move to methods such as Chain-of-Verification, SelfCheckGPT and semantic entropy, which detect unsupported claims by comparing several answers.

18
guides
10
Beginner
6
Intermediate
2
Advanced
3 h
of reading

Start here

When Not to Use AI at Work: A Simple Decision Guide

When not to use AI at work: six questions to ask first, real AI answers that show why, a task table and a checklist. People decisions stay with people.

Beginner · 10 minRead the guide →

17 guides

  1. 01Botsitting: Spend Less Time Fixing AI OutputBotsitting is the time spent fixing AI output. See where the hours go, why AI work needs rework, and six habits that cut it, with real prompts to copy.Beginner · 11 minAI at workBeginner · 11 minAI at work→
  2. 02AI for Finance: ChatGPT Prompts for Finance TeamsAI for finance: seven ChatGPT prompts for variance commentary, Excel formulas, reconciliations and reports, with real output and how to check every number.Beginner · 14 minAI at workBeginner · 14 minAI at work→
  3. 03How to Check AI Answers: Is ChatGPT Accurate? 5 StepsHow to check AI answers in five steps: why ChatGPT gets facts wrong, what to verify, when not to trust it, and prompts that make it easier. Real examples.Beginner · 11 minAI at workBeginner · 11 minAI at work→
  4. 04AI for Marketing: ChatGPT Prompts With Real OutputAI for marketing: seven ChatGPT prompts for launch posts, brand voice, SEO briefs and test results, with real output and how to check every product claim.Beginner · 14 minAI at workBeginner · 14 minAI at work→
  5. 05Why Can't LLMs Count Letters? Tokens and ProbabilityWhy LLMs miscount letters, reverse strings wrong and miss word limits: tokenization, sampling, real failures, and why exact work belongs in your code.Beginner · 4 minPrompt EngineeringBeginner · 4 minPrompt Engineering→
  6. 06Are LLMs Stochastic Parrots? What the Term Gets RightAre LLMs stochastic parrots? What Bender et al. meant, what next-token prediction implies, where the term falls short, and the habit it should give you.Beginner · 5 minPrompt EngineeringBeginner · 5 minPrompt Engineering→
  7. 07Grounding LLM Answers: Give the Model the Right ContextGround LLM answers in your own text: paste the source, fence it with delimiters, require citations and handle gaps. Real return-policy example.Beginner · 7 minPrompt EngineeringBeginner · 7 minPrompt Engineering→
  8. 08LLM Hallucinations: Why They Happen and Quick ChecksWhy LLMs hallucinate and how to catch it: spot risky questions, allow "I don't know", require quotes and check them in code. Real fake-citation example.Beginner · 7 minAI at workBeginner · 7 minAI at work→
  9. 09LLM Confidence Scores: Add Self-Check Fields to PromptsGet useful LLM confidence scores: add basis, quote and check fields to the output, define each level and route answers in code. Real example and output.Beginner · 8 minPrompt EngineeringBeginner · 8 minPrompt Engineering→
  10. 10Source Provenance for Research Agents: Track Each ClaimSource provenance for research agents: tie every claim to a source the agent read and an exact quote, check it in code, and stop fake statistics.Intermediate · 16 minMemory, context and RAGIntermediate · 16 minMemory, context and RAG→
  11. 11How to Review AI-Generated Code: A Practical ChecklistHow to review AI-generated code: a checklist for intent, tests, invented APIs and packages, security and dead code, plus a script for the first pass.Intermediate · 18 minTesting and evalsIntermediate · 18 minTesting and evals→
  12. 12LLM Output Validation: Check Responses Before You Use ThemValidate LLM output before you act on it: schema, grounding and consistency checks, safe handling of links, SQL and HTML, and when to retry or escalate.Intermediate · 10 minLLM SecurityIntermediate · 10 minLLM Security→
  13. 13Why LLMs Get Niche Facts Wrong: Popularity and Training DataWhy LLMs know popular facts but invent niche ones: accuracy tracks how often a fact appears in training data. When to retrieve instead. Real example.Intermediate · 5 minPrompt EngineeringIntermediate · 5 minPrompt Engineering→
  14. 14AI Code Hallucinations: Why Plausible Output Fools YouWhy LLM code looks right but fails: plausibility vs correctness, hallucinated packages, a real regex that broke, and how to verify output by running it.Intermediate · 4 minTesting and evalsIntermediate · 4 minTesting and evals→
  15. 15LLMs as Lossy Compression: Why They Can't Quote ExactlyWhy an LLM is a lossy compression of its training data: it keeps gist and loses exact wording, quotes and URLs. What to ask it for, with a real example.Intermediate · 4 minPrompt EngineeringIntermediate · 4 minPrompt Engineering→
  16. 16Chain-of-Verification and SelfCheckGPT: Catch HallucinationsChain-of-Verification (CoVe) and SelfCheckGPT explained: draft, verify with independent questions, flag claims that samples disagree on. Real pitfalls.Advanced · 9 minPrompt EngineeringAdvanced · 9 minPrompt Engineering→
  17. 17Semantic Entropy: Detect When an LLM Is UnsureSemantic entropy explained: sample answers, group them by meaning, and use the entropy to decide when to answer, retrieve or abstain. Runnable Python code.Advanced · 8 minPrompt EngineeringAdvanced · 8 minPrompt Engineering→

Related topics

  • Grounding and Citations9
  • AI at Work20
  • LLM Mental Models19
  • How LLMs Work8
  • Prompt Writing Basics16
  • Structured Outputs11
  • Uncertainty and Confidence7
  • AI Adoption14

Topic hubs

  • AI at work→
  • Testing and evals→
  • Memory, context and RAG→

By category and level

  • AI Engineering guides147
  • Prompt Engineering guides54
  • AI at Work guides18
  • LLM Security guides10
  • Beginner guides75
  • Intermediate guides140
  • Advanced guides38

Search every guide.

The library lists all guides with filters for topic, level, category and reading time.

All guidesLearning paths