Most RAG Hallucinations Are Extraction Errors: Seven Patterns for a Typed Generation Contract
Large Language Model Most RAG Hallucinations Are Extraction Errors: Seven Patterns for a Typed Generation Contract Enterprise Document Intelligence [Vol.1 #8ter] – Naming the RAG error correctly matters: model reads the context, so a wrong answer is an extraction error, not a hallucination. Seven typed-contract patterns keep the generation brick honest, with a decomposition rule for small models Kezhan Shi Jul 23, 2026 11 min read Share Photo by Kindel Media, via Pexels. Not every question wants the same shape of answer.
- ▪Large Language Model Most RAG Hallucinations Are Extraction Errors: Seven Patterns for a Typed Generation Contract Enterprise Document Intelligence [Vol.1 #8ter] – Naming the RAG error correctly matters: model reads the context, so a wrong
- ▪Seven typed-contract patterns keep the generation brick honest, with a decomposition rule for small models Kezhan Shi Jul 23, 2026 11 min read Share Photo by Kindel Media, via Pexels.
- ▪Not every question wants the same shape of answer.
Opening excerpt (first ~120 words) tap to expand
Large Language Model Most RAG Hallucinations Are Extraction Errors: Seven Patterns for a Typed Generation Contract Enterprise Document Intelligence [Vol.1 #8ter] – Naming the RAG error correctly matters: model reads the context, so a wrong answer is an extraction error, not a hallucination. Seven typed-contract patterns keep the generation brick honest, with a decomposition rule for small models Kezhan Shi Jul 23, 2026 11 min read Share Photo by Kindel Media, via Pexels. Not every question wants the same shape of answer. One wants a single number with a citation, another a list with one item per row, a third a yes or no with a caveat. Force them all through one generation call and each shape degrades the others. The fix is a small set of generation patterns, one per answer shape.
…
Excerpt limited to ~120 words for fair-use compliance. The full article is at Towards Data Science.