<< Home | Prompting craft
Model admits uncertainty instead of hallucinating
| Area | Prompting craft |
| AI used | Any |
| Source | Reddit thread |
| Posted | 2023-12-11 |
The move
Explicitly instruct the model to admit ignorance when unsure rather than guessing.Steps
- Add a system instruction to the model.
- Explicitly forbid the model from guessing.
- Require the model to state it lacks the answer.
- Optionally use Min-p sampling to filter low-probability tokens.
Prompt for your AI
I want you to say you dont have that answer if you are not sure about something, please do not try to guess an answer.
What happened
Users struggle with LLMs hallucinating answers when they lack information. By adding a system instruction to explicitly state when an answer is unknown, the model stops guessing. A user confirmed this approach works consistently for them.Who confirmed it
It works 100% of the time for me.Watch out
None stated.Give it to your agent
Read https://howtheyuse.ai/p/model-admits-uncertainty-instead-of-hallucinating.md and help me do this.