<< Home | Prompting craft
Model quantifies uncertainty with a confidence metric
| Area | Prompting craft |
| AI used | Any |
| Source | Reddit thread |
| Posted | 2026-05-28 |
The move
Require the model to output a statistical confidence score (X% ± Y%) before its final citation.Steps
- Define a structured output schema in your system prompt.
- Mandate a confidence score section before the final citation.
- Instruct the model to use the format (confidence X% ± Y%).
- Require the model to widen the ±Y% range when uncertain.
Prompt for your AI
Include a compulsory statistical confidence score (X% ± Y%) just before the final citation to assess accuracy and represent real uncertainty.
What happened
The author found LLMs were consistently overconfident and prone to hallucinations. They developed a system prompt that forces the model to assess its own data limitations using a mandatory mathematical confidence metric. This change successfully shifted the model from an overconfident chatbot to an objective tool that explicitly identifies its own potential shortcomings.Who confirmed it
The author notes this 'transforms the AI from an overconfident chatbot into a more objective tool that identifies its own potential shortcomings.'Watch out
None explicitly stated, though the author encourages testing to see if it effectively reduces hallucinations.Give it to your agent
Read https://howtheyuse.ai/p/model-quantifies-uncertainty-with-a-confidence-metric.md and help me do this.