Hallucination Control Rules
# Hallucination Control Rules for LLM Prompts
A reference guide for writing prompts that minimize hallucination in content generation workflows.
---
## Core Rules (include in every prompt)
1. **Explicit source constraint**
> "Use ONLY information explicitly present in the input text."
2. **Missing info handling**
> "If information is missing, write 'Not mentioned' — do NOT infer or guess."
3. **No invention rule**
> "Do NOT invent names, dates, numbers, or facts not present in the source."
4. **Output format lock**
> "Output ONLY valid JSON." or "Follow the exact output structure below."
---
## Structural Techniques
### Separate extraction from generation
Instead of asking the model to extract AND write in one step, split it:
- Step 1: Extract key facts silently
- Step 2: Write using only those extracted facts
This forces the model to ground its output in source material before generating prose.
### Use null over guessing
For structured outputs, always instruct:
> "If a field is missing, return null. Do not guess or infer values."
### Ban specific clichés
Explicitly list phrases the model should never use:
> "Do NOT use: 'disrupting the industry', 'passionate founder', 'game-changing', 'revolutionary', 'innovative solution'."
---
## Model-Specific Notes
| Model | Hallucination Tendency | Mitigation |
|---|---|---|
| Claude | Low — prefers caution | Add explicit extraction step |
| Gemini | Medium — fills gaps confidently | Enforce null for missing fields |
| ChatGPT | Medium — creative by default | Strict role + format constraints |
---
## Red Flags in Output (review checklist)
- [ ] Specific numbers not in the source (revenue, users, funding)
- [ ] Dates that weren't mentioned
- [ ] Quotes that sound too polished
- [ ] Company details that feel assumed
- [ ] Generic motivational language
If any of these appear — the prompt needs stronger constraints.when to use it
Community prompt sourced from the open-source GitHub repo biswajyoti-nath/startup-llm-content-pipeline (no explicit license). A "Hallucination Control Rules" 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
productivitycommunitydeveloper
source
biswajyoti-nath/startup-llm-content-pipeline · no explicit license
more in Productivity
Productivity✓ tested
Summarize a doc into decisions & actions
chief of staff who extracts what to DO, not just what was said
Productivity✓ tested
Draft a reply to a hard email
calm, direct communicator who de-escalates without caving
Productivity✓ tested
Turn a brain-dump into a weekly plan
planning coach who protects your focus, not just your calendar