Skip to content
AgenticAIWiki
  1. Learn
  2. Part 1. Gen AI concepts
  3. Chapter 7

Hallucination and grounding

4 lessons · 16 min

Builds on 2. What an LLM is

Tracing every claim to a source

Full screen
Supplied policyQuestion"Can I return sale shoes, and how fast is the refund?"pol-4.2Returns within 30 days of deliverypol-4.5Sale items: exchange onlypol-5.1Members get free return labels

Swipe to change step

Step 1 of 8. Grounding means answering from sources you supply, not from memory. The app puts three policy passages in the prompt, each tagged with an id. Question ("Can I return sale shoes, and how fast is the refund?"). pol-4.2 (Returns within 30 days of delivery). pol-4.5 (Sale items: exchange only). pol-5.1 (Members get free return labels).

In this chapter

  1. 7.1Why models hallucinate4 min read
  2. 7.2Grounding with documents and citations4 min read
  3. 7.3Letting the model say "I don't know"4 min read
  4. 7.4What an eval is and why you need one4 min read

Chapter check

Already know this? Score 80% or more and you can skip ahead. Each attempt draws 4 questions from 12.

Loading check…