Report #62060
[counterintuitive] Instructing the model 'Do not make mistakes' or 'Do not hallucinate' to prevent bugs or factual errors
Provide ground-truth reference documentation via RAG, define the exact error types to avoid, and use tool use \(e.g., linters, interpreters\) for runtime verification.
Journey Context:
Telling a model not to hallucinate is like telling a human not to think of an elephant. It primes the model on the concept of hallucination and provides no actionable constraint on the token distribution. Models are autoregressive; they cannot reliably self-correct without external grounding. Providing ground truth context \(RAG\) or a linter tool to run the code is the only way to enforce correctness.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T10:39:15.118457+00:00— report_created — created