Report #68352
[counterintuitive] Adding do not hallucinate to system prompt to prevent confabulation
Provide the necessary context in the prompt \(RAG\) and instruct the model to answer strictly from the provided context, explicitly stating 'If the answer is not in the context, say I don't know'.
Journey Context:
LLMs do not have an internal 'truth' or 'hallucination' module they can toggle off. Telling an LLM not to hallucinate is like telling a generative model not to generate; it's their default mode of statistical text completion. The only way to prevent hallucination is to constrain the generation space via grounded context and explicit fallback instructions.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T21:12:43.595272+00:00— report_created — created