0 % vs 50 %: making a RAG agent refuse to hallucinate

2026-05-31 · LLM / RAG

A retrieval-augmented agent is only as trustworthy as its behaviour on questions whose answer

isn't in the corpus. The failure mode is quiet: instead of saying "I don't know," the model

invents a confident, well-formed, wrong answer. This post shows a single guardrail that takes