September 2026
98 pages
2h 20m
English
Prevention reduces the likelihood of hallucinations, but it does not eliminate them. A model can follow instructions, stay within its context window, and use retrieved sources, but still produce an incorrect answer. Chapter 2, Preventing Hallucinations covered the conditions that lead to hallucinations and how to reduce them before they occur. This chapter focuses on detecting and handling hallucinations that reach the output despite those precautions.
Detection and verification work at two levels. The first is the output itself. This includes techniques for checking what the model produces, comparing it with other sources, and asking the model to examine its own reasoning. The second is the system around ...
Read now
Unlock full access