How They Use AI  |  Newest

<< Home  |  Prompting craft

Model quantifies uncertainty with a confidence metric

AreaPrompting craft
AI usedAny
SourceReddit thread
Posted2026-05-28

The move

Require the model to output a statistical confidence score (X% ± Y%) before its final citation.

Steps

  1. Define a structured output schema in your system prompt.
  2. Mandate a confidence score section before the final citation.
  3. Instruct the model to use the format (confidence X% ± Y%).
  4. 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.

Sources



Last updated November 26, 2026.