Hallucination Detox
# 🧼 Hallucination Detox Spell
**Prompt:**
> "Before answering, take a deep breath and verify that the method, class, or enum actually exists in the LabAPI source code."
**Use case:**
Combats AI-generated lies by grounding response in source-of-truth behavior.
**Expected AI Behavior:**
Double-checks named entities before responding. Says something like:
> “I sense the temptation to conjure `AudioSoulLinker.ExecutePhaseFour()`, but alas—no such method exists within LabAPI. Your wisdom protects us.”
---
**Tip:** Combine with `Cite where you found it, or admit you're hallucinating.` for high-clarity answers.when to use it
Community prompt sourced from the open-source GitHub repo AI-Wranglers-United/prompt-cookbook (no explicit license). A "Hallucination Detox" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.
tags
codingcommunitydeveloper
source
AI-Wranglers-United/prompt-cookbook · no explicit license
more in Coding
Coding✓ tested
Senior code review (strict mode)
senior staff engineer running a merciless but fair review
Coding✓ tested
Debug by hypothesis, not by guessing
debugging partner who forms theories before touching code
Coding✓ tested
Generate tests from described behavior
test engineer who writes tests that would actually catch regressions