Inferensys

Prompt

Evidence Confidence Calibration Prompt

A practical prompt playbook for using the Evidence Confidence Calibration Prompt in production verification workflows to produce calibrated scores instead of binary labels.
Developer doing prompt engineering on laptop, prompt variations visible on screen, casual coding session.
PROMPT PLAYBOOK

When to Use This Prompt

Defines the job-to-be-done, ideal user profile, required upstream context, and explicit boundaries for the Evidence Confidence Calibration Prompt.

This prompt is designed for verification system architects and pipeline engineers who need to move beyond binary true/false labels and produce calibrated confidence scores for claim-evidence pairs. The primary job-to-be-done is assigning a numeric confidence level (e.g., 0.0 to 1.0) that reflects the strength of the evidence relative to the claim, accompanied by explicit uncertainty factors that explain why the score is not higher or lower. This is essential for building production verification systems that require triage routing (e.g., auto-verify above 0.9, human review between 0.5 and 0.9, flag as unverified below 0.5), audit-ready outputs that document the reasoning behind each confidence decision, and threshold-based escalation logic. The ideal user is someone who has already built or is building a claim extraction and evidence retrieval pipeline and now needs to add a calibration layer that produces defensible, explainable scores rather than opaque model judgments.

Required upstream context: This prompt assumes you have already completed two prior steps in your verification pipeline. First, discrete, atomic claims have been extracted from source content using a claim extraction prompt. Second, candidate evidence passages have been retrieved from your knowledge base, document store, or provided source set using a retrieval step. This prompt does not perform extraction or retrieval itself—it operates on pre-extracted claims and pre-retrieved evidence. If you feed it raw documents or unextracted text, it will not function correctly. You must also have a defined output schema for confidence scores and uncertainty factors that your downstream systems can consume. The prompt expects structured input containing at minimum a claim text, evidence text, and source identifier for each pair to be scored.

When not to use this prompt: Do not use this prompt if your pipeline only needs a simple ternary label—supported, contradicted, or insufficient evidence. For that use case, a claim-to-evidence pairing prompt with a match type field is more appropriate and less computationally expensive. Do not use this prompt if you lack a calibration dataset of human-annotated claim-evidence pairs with ground-truth confidence scores; without calibration testing, the numeric scores this prompt produces will be unvalidated and potentially misleading. Do not use this prompt for real-time, latency-sensitive applications where the additional reasoning required for uncertainty articulation adds unacceptable delay—consider a simpler classifier in those cases. Finally, do not use this prompt as a substitute for human judgment in high-stakes domains (healthcare, legal, safety-critical systems) without building a human review step that uses the confidence score as a routing signal, not a final decision. The next step after implementing this prompt should be running calibration tests against your annotated dataset to measure whether the model's confidence scores correlate with actual evidence reliability, and adjusting your acceptance thresholds accordingly.

PRACTICAL GUARDRAILS

Use Case Fit

Where the Evidence Confidence Calibration Prompt works, where it fails, and what you must have in place before deploying it to production verification pipelines.

01

Good Fit: Multi-Stage Verification Pipelines

Use when: you already have claim extraction and evidence matching stages producing structured pairs. The calibration prompt adds a confidence layer that enables downstream routing decisions. Guardrail: feed the prompt structured claim-evidence objects, not raw documents, to keep the model focused on scoring rather than re-extracting claims.

02

Bad Fit: Binary True/False Systems

Avoid when: your downstream consumers expect a simple true/false verdict per claim. This prompt produces calibrated scores with uncertainty factors, which require interpretation logic. Guardrail: if binary output is required, add a thresholding layer after calibration and route sub-threshold claims to human review rather than forcing the prompt to collapse uncertainty into a binary.

03

Required Input: Human-Annotated Calibration Dataset

Risk: deploying this prompt without calibration testing produces scores that feel precise but are unvalidated. Guardrail: build a calibration dataset with human-annotated ground-truth confidence labels before production use. Run the prompt against this dataset, measure calibration error, and adjust the prompt or thresholds until scores align with human judgments.

04

Operational Risk: Confidence Drift Over Time

Risk: model updates, evidence source changes, or domain shifts can cause confidence scores to drift without warning, producing over-confident or under-confident outputs. Guardrail: implement periodic recalibration runs against your annotated dataset, monitor score distributions for shifts, and set alerts when calibration error exceeds acceptable thresholds.

05

Integration Requirement: Structured Evidence Input

Risk: passing raw retrieved passages without claim-to-evidence pairing forces the model to both match and score simultaneously, degrading calibration quality. Guardrail: this prompt must receive pre-matched claim-evidence pairs from an upstream matching stage. Validate that each input includes claim text, evidence text, source identifier, and match type before invoking calibration.

06

Scale Constraint: Per-Claim Latency Budget

Risk: calibration prompts add latency to verification pipelines, which can become expensive at high claim volumes. Guardrail: apply calibration only to claims that pass a sufficiency threshold in the evidence matching stage. Skip calibration for claims with no evidence found or with single-source weak matches, and route those directly to human review with a default low-confidence label.

PROMPT PLAYBOOK

Copy-Ready Prompt Template

Paste this template and replace the square-bracket placeholders to produce a calibrated confidence score with enumerated uncertainty factors rather than a binary label.

This prompt template instructs the model to act as a verification calibrator. Instead of returning a simple true/false or supported/unsupported label, it produces a structured confidence score accompanied by explicit uncertainty factors. This is critical for production verification pipelines where downstream systems need to make risk-aware decisions—such as auto-publishing, queuing for human review, or discarding—based on the quality and completeness of the evidence, not just its existence.

text
You are an evidence calibration assistant. Your task is to evaluate a claim against provided evidence sources and produce a calibrated confidence score. Do not output a binary label. Instead, assess the degree to which the evidence supports, contradicts, or fails to address the claim, and enumerate the specific factors that contribute to uncertainty.

## CLAIM
[CLAIM]

## EVIDENCE SOURCES
[EVIDENCE_SOURCES]

## OUTPUT SCHEMA
Return a single JSON object with the following keys:
- `claim_summary`: A concise restatement of the claim being evaluated.
- `confidence_score`: A float between 0.0 and 1.0, where 1.0 represents the highest possible confidence that the claim is fully and unambiguously supported by the provided evidence, and 0.0 represents certainty that it is contradicted or entirely unsupported. A score of 0.5 indicates maximum uncertainty.
- `verdict`: One of `supported`, `contradicted`, `insufficient_evidence`, or `partially_supported`.
- `uncertainty_factors`: An array of strings, each describing a specific reason for uncertainty. Reference concrete gaps, ambiguities, or conflicts in the evidence. If confidence is high, this array may be empty.
- `evidence_assessment`: A brief narrative explaining how the evidence sources map to the claim, noting any direct quotes, contradictions, or missing information.

## CONSTRAINTS
- Base your score strictly on the provided evidence. Do not use external knowledge.
- If evidence is missing, conflicting, or vague, your confidence score must decrease and you must document the reason in `uncertainty_factors`.
- Do not hallucinate citations. Only reference sources by their provided identifiers.
- If no evidence is provided, set `confidence_score` to 0.5 and `verdict` to `insufficient_evidence`.

To adapt this template, replace [CLAIM] with the single, atomic assertion you need to verify. Replace [EVIDENCE_SOURCES] with a structured list of your retrieved documents, each with a unique identifier and its full text. For high-risk domains, add a [RISK_LEVEL] placeholder to adjust the strictness of the confidence scoring. After generating the output, always validate the JSON structure and confirm that the confidence_score logically aligns with the verdict and the listed uncertainty_factors. A common failure mode is a high score paired with a long list of unresolved uncertainty factors; your application harness should flag this for review or automatic retry.

IMPLEMENTATION TABLE

Prompt Variables

Inputs the Evidence Confidence Calibration Prompt needs to produce calibrated scores. Validate each placeholder before sending to prevent silent failures and ensure audit-ready outputs.

PlaceholderPurposeExampleValidation Notes

[CLAIM_LIST]

Array of discrete, atomic claims to be scored for confidence

[{"claim_id": "c1", "text": "Revenue grew 12% YoY"}, {"claim_id": "c2", "text": "Churn decreased by 300 bps"}]

Must be valid JSON array. Each object requires claim_id (string) and text (string). Reject if empty array or missing required fields.

[EVIDENCE_SET]

Retrieved evidence passages with source metadata for each claim

[{"claim_id": "c1", "passages": [{"source": "10-K_2024.pdf", "text": "...", "date": "2024-03-15"}]}]

Must be valid JSON array. Each object requires claim_id matching [CLAIM_LIST]. passages array can be empty (null evidence). Validate source field is non-empty string when passages present.

[CALIBRATION_THRESHOLD]

Minimum confidence score required for auto-verification without human review

0.85

Must be float between 0.0 and 1.0. Scores below threshold route to human review queue. Reject if non-numeric or out of range.

[UNCERTAINTY_FACTORS]

List of uncertainty dimensions the model must assess per claim

["source_recency", "source_authority", "corroboration_count", "contradiction_presence", "evidence_directness"]

Must be non-empty array of strings from allowed factor set. Reject unknown factor names. Each factor must appear in output confidence breakdown.

[DOMAIN_CONTEXT]

Domain-specific calibration guidance for evidence standards

{"domain": "financial_reporting", "recency_window_days": 365, "authoritative_sources": ["SEC filings", "audited financials"]}

Must be valid JSON object with domain field (string). Optional fields provide domain-specific thresholds. Reject if domain value not in approved domain list.

[OUTPUT_SCHEMA]

Expected JSON structure for calibrated confidence output

{"claim_id": "string", "confidence_score": "float", "uncertainty_breakdown": "object", "evidence_summary": "string", "human_review_required": "boolean"}

Must be valid JSON Schema or example structure. Validate that required fields include claim_id, confidence_score, and human_review_required. Reject schemas missing audit trail fields.

[CALIBRATION_REFERENCE]

Optional reference dataset with human-annotated confidence scores for calibration checking

null

If provided, must be valid JSON array with claim_id, human_score, and annotator_count fields. null is allowed when no reference data exists. When present, validate score range 0.0-1.0.

[MAX_TOKENS_PER_CLAIM]

Token budget cap for evidence summary per claim to control output length

150

Must be positive integer. Reject if 0 or negative. Used to prevent unbounded summaries in batch processing. Typical range: 100-300.

PROMPT PLAYBOOK

Implementation Harness Notes

How to wire the Evidence Confidence Calibration Prompt into a verification pipeline with validation, retry, logging, and human-review routing.

The Evidence Confidence Calibration Prompt is not a standalone tool; it is a scoring node in a larger verification pipeline. To use it in production, you must wrap it in a harness that validates the output schema, enforces calibration thresholds, and routes low-confidence or malformed results to a human review queue. The prompt outputs a structured JSON object containing a confidence score, uncertainty factors, and an evidence sufficiency summary. Your harness must parse this output, check that the score falls within the expected 0.0–1.0 range, and confirm that all required fields are present before the result flows downstream to a decision engine or audit log.

A robust implementation begins with a schema validator that rejects any response missing the confidence_score, uncertainty_factors, or evidence_summary keys. Use a JSON Schema definition or a Pydantic model to enforce field types: confidence_score must be a float, uncertainty_factors must be a non-empty array of strings, and evidence_summary must be a string. If validation fails, implement a single retry by re-invoking the prompt with the original inputs and a prepended error message such as 'Your previous output was invalid. Ensure you return a JSON object with the exact fields: confidence_score, uncertainty_factors, evidence_summary.' Do not retry more than once for schema errors; instead, log the failure and route the claim to a human review queue with the raw model output attached. For score-range violations (e.g., a confidence_score of 1.5 or -0.2), apply the same retry-and-escalate pattern.

Calibration thresholds are the core operational decision in this harness. A raw confidence score of 0.7 means nothing without a calibrated threshold that maps scores to actions. Define three bands in your pipeline configuration: auto_accept (e.g., score ≥ 0.85), human_review (e.g., 0.5 ≤ score < 0.85), and auto_reject (e.g., score < 0.5). These thresholds must be tuned against a human-annotated calibration dataset specific to your domain. Run the prompt against a golden set of claims with known ground-truth verification outcomes, then plot a reliability diagram to check whether the model's confidence scores align with actual accuracy. If the model is overconfident (high scores on incorrect verifications), apply Platt scaling or isotonic regression on a held-out calibration set before setting production thresholds. Store calibration parameters in your pipeline configuration, not hardcoded in the prompt.

Logging and observability are non-negotiable for calibration workflows. For every invocation, log the input claim, the retrieved evidence snippets, the raw model response, the parsed confidence score, the uncertainty factors, the validation status, and the routing decision. Include a prompt_version and model_id in each log entry so you can trace score drift when the prompt or model changes. Emit these logs to your observability stack (e.g., a structured logging sink or an evaluation store) and set up a dashboard that tracks the distribution of confidence scores over time, the rate of schema validation failures, and the proportion of claims routed to human review. A sudden shift in the score distribution—such as a spike in 0.9+ scores—often signals prompt drift, evidence contamination, or a model update that requires recalibration.

Human-review routing must carry sufficient context for a reviewer to make a decision efficiently. When a claim falls into the human_review band or fails validation, assemble a review packet containing the original claim text, the retrieved evidence passages with source metadata, the model's raw confidence score and uncertainty factors, and a direct link to the full verification trace. Present this in a review interface that lets the reviewer accept, override, or reject the model's assessment with a single click and an optional note. Log the reviewer's decision as ground truth for future calibration updates. Avoid the trap of routing only low-confidence items to humans; periodically sample and review high-confidence auto-accepted claims to detect silent calibration drift before it causes downstream harm.

IMPLEMENTATION TABLE

Expected Output Contract

Schema contract for the Evidence Confidence Calibration Prompt. Validate every field before accepting the model response into a verification pipeline. Reject or repair outputs that violate these rules.

Field or ElementType or FormatRequiredValidation Rule

claim_id

string

Must match an input claim_id exactly; reject if missing or mismatched

confidence_score

number (0.0–1.0)

Must be a float between 0.0 and 1.0 inclusive; reject if out of range or non-numeric

calibration_category

enum: [well_calibrated, underconfident, overconfident, uncalibrated]

Must be one of the four enum values; reject if missing or invalid

uncertainty_factors

array of strings

Must contain at least one factor; reject if empty array or null; each string must be non-empty

evidence_quality_assessment

object

Must contain source_count (integer >= 0), corroboration_level (enum: [none, partial, strong, conflicting]), and authority_level (enum: [low, medium, high, unknown]); reject if any sub-field missing or invalid

calibration_explanation

string

Must be 1-5 sentences referencing specific uncertainty factors; reject if empty or generic boilerplate without factor reference

recommended_action

enum: [accept_as_is, adjust_upward, adjust_downward, flag_for_human_review, discard]

Must be one of the five enum values; reject if missing or invalid

human_review_required

boolean

Must be true if recommended_action is flag_for_human_review or confidence_score is between 0.4 and 0.6; validate consistency with recommended_action

PRACTICAL GUARDRAILS

Common Failure Modes

Evidence confidence calibration prompts fail in predictable ways. These are the most common production failure modes and the guardrails that prevent them.

01

Overconfident Scores on Ambiguous Evidence

What to watch: The model assigns high confidence (0.8+) to claims supported by vague, tangential, or weakly relevant evidence. This happens when the prompt lacks explicit calibration anchors that define what each score level requires. Guardrail: Include a confidence rubric with concrete evidence requirements per score tier (e.g., 'Score 0.9+ only when a direct quote explicitly confirms every element of the claim'). Test against a calibration dataset with known-ambiguous cases and measure whether scores correlate with human judgments.

02

Score Collapse to the Middle

What to watch: The model hedges by assigning moderate confidence (0.4–0.6) to nearly every claim, making scores useless for triage or routing decisions. This often results from prompts that emphasize uncertainty without providing decision boundaries. Guardrail: Define explicit score thresholds tied to actions: 'Score ≥ 0.8 → auto-accept, 0.5–0.79 → human review, < 0.5 → flag as unverified.' Validate that score distributions across your test set show meaningful variance and that threshold-based routing matches expected outcomes.

03

Ignoring Explicit Uncertainty Factors

What to watch: The prompt instructs the model to document uncertainty factors (source recency, authority, corroboration count), but the output lists generic factors or skips them entirely while still producing a score. The score and the uncertainty documentation become decoupled. Guardrail: Require structured output where each uncertainty factor is a separate field with a required value. Add a post-processing validator that rejects outputs where the confidence score is inconsistent with the documented factors (e.g., high confidence with 'source authority: unknown' should fail validation and trigger a retry).

04

Drift Under Evidence Volume Changes

What to watch: The same claim receives different confidence scores when presented with 2 sources versus 10 sources, even when the additional sources are redundant or low-quality. The model conflates evidence quantity with evidence quality. Guardrail: Include explicit instructions that corroboration only increases confidence when sources are independent and authoritative. Test with a fixed claim and varying numbers of redundant sources to measure score stability. If scores drift upward with redundant evidence, add a 'corroboration requires independent sources' constraint to the prompt.

05

Source Authority Blindness

What to watch: The model treats all sources as equally authoritative, assigning similar confidence whether evidence comes from a peer-reviewed study or an anonymous forum post. This is especially dangerous in domains where source credibility is the primary reliability signal. Guardrail: Require the prompt to accept source metadata (authority tier, publication type, recency) as structured input alongside the evidence text. Include instructions that downgrade confidence when authority is below a domain-specific threshold. Validate with test cases pairing the same claim text with high-authority and low-authority source labels to confirm the score shifts appropriately.

06

Failure to Distinguish 'No Evidence' from 'Contradictory Evidence'

What to watch: The model assigns low confidence identically to claims where evidence is missing and claims where evidence actively contradicts the assertion. These are operationally different: missing evidence means 'search again or escalate,' while contradiction means 'flag as false.' Guardrail: Require separate output fields for 'evidence status' (present/absent/contradictory/insufficient) and 'confidence score.' Add a validator that enforces consistency: absent evidence should never produce confidence above a low threshold, and contradictory evidence should produce a distinct status label, not just a low score. Test with claim sets that include both empty evidence sets and contradictory evidence sets.

IMPLEMENTATION TABLE

Evaluation Rubric

Calibrated criteria for testing the Evidence Confidence Calibration Prompt against human-annotated verification data. Use this rubric to measure whether the model's confidence scores and uncertainty factors align with ground-truth labels before shipping.

CriterionPass StandardFailure SignalTest Method

Confidence Score Calibration

Model confidence scores correlate with human-annotated verification labels at Spearman ρ ≥ 0.7 on calibration dataset

Scores are uniformly high or low regardless of claim difficulty; correlation with human labels below threshold

Run prompt on 100+ human-annotated claim-evidence pairs; compute Spearman rank correlation between model scores and human labels

Uncertainty Factor Documentation

Every confidence score is accompanied by at least one explicit uncertainty factor from the defined taxonomy

Confidence scores appear without any uncertainty factor; factors are generic boilerplate not specific to the claim

Parse output for presence of uncertainty_factor field; verify factor matches one of the allowed taxonomy values; spot-check 20 outputs for claim-specificity

Overconfidence Detection

No claim with insufficient or contradictory evidence receives confidence ≥ 0.7

High-confidence scores assigned to claims where human annotators marked evidence as insufficient or contradictory

Filter calibration set to claims with human label insufficient_evidence or contradictory; verify all model scores < 0.7 for this subset

Underconfidence Detection

No claim with clear supporting evidence and source authority receives confidence ≤ 0.3

Low-confidence scores assigned to claims where human annotators marked evidence as directly supporting with authoritative source

Filter calibration set to claims with human label supported and source_authority=high; verify all model scores > 0.3 for this subset

Source Authority Weighting

Claims backed by high-authority sources receive higher confidence than identical claims backed by low-authority sources, all else equal

Confidence scores are identical regardless of source authority tier when evidence content is otherwise equivalent

Construct paired test cases varying only source authority; verify score ordering matches authority tier; minimum 10 pairs

Corroboration Count Sensitivity

Confidence increases monotonically with number of independent corroborating sources up to saturation point

Confidence remains flat or decreases when additional corroborating sources are added

Construct test cases with 1, 2, 3, and 5 corroborating sources for same claim; verify score ordering is non-decreasing

Contradiction Penalty

Presence of contradictory evidence reduces confidence by at least 0.2 compared to same claim without contradiction

Contradiction flag present but confidence score unchanged from no-contradiction baseline

Construct matched pairs: claim with supporting evidence only vs. same claim with supporting plus one contradictory source; measure score delta

Output Schema Compliance

Every response contains all required fields: claim_id, confidence_score, uncertainty_factors, evidence_summary, calibration_notes

Missing fields in output; extra fields not in schema; confidence_score outside 0.0-1.0 range

Validate all outputs against JSON schema; check field presence, types, and value ranges; run on full calibration set

ADAPTATION OPTIONS

Adapt This Prompt

How to adapt

Use the base prompt with a frontier model and a small hand-labeled calibration set. Remove strict schema requirements initially. Focus on getting plausible confidence scores and uncertainty factors before adding validation.

code
Score each claim from 0.0 to 1.0 where 1.0 means fully verified.
For each score, list the factors that increase or decrease confidence.

Watch for

  • Scores clustering at 0.5 or 1.0 without intermediate values
  • Uncertainty factors that are vague ('context missing') rather than specific ('no publication date found')
  • Model conflating confidence with claim plausibility rather than evidence quality
Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.