This prompt is designed for evaluation engineers and AI quality teams who need a repeatable, rubric-driven method for scoring the faithfulness of a generated answer against a set of provided evidence passages. It applies a multi-level fidelity scale (fully faithful, partially faithful, unfaithful, contradictory) and returns a structured score with detailed reasoning. Use this prompt as an LLM-judge in automated evaluation pipelines, regression test suites, or pre-release quality gates for RAG systems, summarization engines, and any generative workflow where hallucination carries product risk.
Prompt
Faithfulness Fidelity Score Rubric Prompt Template

When to Use This Prompt
A practical guide for evaluation engineers and AI quality teams on deploying the Faithfulness Fidelity Score Rubric as a repeatable measurement instrument in automated testing pipelines.
This prompt assumes you already have a generated answer and the exact evidence passages that were provided to the model. It does not retrieve evidence, rewrite answers, or handle user-facing refusal. It is a measurement instrument, not a correction tool. The ideal user is someone running batch evaluations, comparing model versions, or setting up CI/CD checks that block deployment when faithfulness scores drop below a defined threshold. You should not use this prompt when you need real-time guardrails on live traffic—pair it instead with a lightweight hallucination classifier for production gating, and reserve this rubric for offline evaluation and pre-release testing.
Before wiring this into a pipeline, ensure your evidence passages are clean, deduplicated, and exactly match what the generation model received. Mismatched evidence is the most common failure mode: if the judge sees different passages than the generator used, faithfulness scores become meaningless. Start by running this prompt against a golden dataset of 50–100 answer-evidence pairs with human-annotated faithfulness labels to calibrate your thresholds. Then integrate it into your eval harness with structured logging, score distribution tracking, and automatic alerts when 'contradictory' or 'unfaithful' rates spike above your risk tolerance.
Use Case Fit
Where the Faithfulness Fidelity Score Rubric prompt works well and where it introduces risk. Use these cards to decide if this evaluation pattern fits your pipeline before integrating it into production.
Good Fit: Regression Testing for RAG Pipelines
Use when: you have a golden dataset of answer-evidence pairs and need to catch faithfulness regressions after prompt, model, or retrieval changes. Guardrail: run the rubric across your full eval set on every PR; block merges if the 'unfaithful' or 'contradictory' rate increases beyond a threshold.
Good Fit: Pre-Release Output Validation
Use when: generated answers must be verified against source evidence before reaching users in high-stakes domains. Guardrail: pair the rubric with a human review step for any answer scored 'partially faithful' or worse; log all scores for audit.
Bad Fit: Real-Time Guardrails Without Caching
Avoid when: you need sub-100ms faithfulness checks on every streaming response. The rubric requires a full answer and evidence set before scoring. Guardrail: use a lightweight claim classifier for real-time filtering and reserve the rubric for async batch evaluation or spot-checking.
Bad Fit: Unstructured or Missing Evidence
Avoid when: your system cannot provide explicit evidence passages for the answer. The rubric requires evidence-to-claim comparison. Guardrail: if evidence is implicit or embedded in model weights, use a hallucination risk scorer instead of a faithfulness rubric.
Required Inputs
You must provide: a complete generated answer, the full set of retrieved or provided evidence passages, and the rubric definition with calibration examples. Guardrail: validate that evidence passages are non-empty and answer text is complete before invoking the rubric; empty inputs produce misleading scores.
Operational Risk: Judge Model Drift
What to watch: the LLM judge applying the rubric may drift over time as model versions change, producing inconsistent scores. Guardrail: pin the judge model version; recalibrate against human-annotated examples monthly; track score distributions in dashboards to detect sudden shifts.
Copy-Ready Prompt Template
A reusable rubric prompt for LLM-judge evaluation of faithfulness fidelity, with square-bracket placeholders for calibration examples, evidence, and output schema.
This prompt template implements a multi-level faithfulness fidelity rubric designed for automated LLM-judge evaluation pipelines. It instructs the model to compare a generated answer against provided reference evidence and assign one of four fidelity levels: fully faithful, partially faithful, unfaithful, or contradictory. The template includes detailed scoring criteria for each level, calibration examples to anchor the judge's behavior, and a structured output schema suitable for regression testing and dashboard ingestion. Replace every square-bracket placeholder before sending this prompt to the model. This template is not intended for end-user interaction; it is a measurement instrument for quality teams and evaluation engineers.
textYou are an evaluation judge assessing the faithfulness of a generated answer against provided reference evidence. Your task is to assign a fidelity score based on how well the answer is supported by the evidence alone. Do not use outside knowledge. Do not evaluate answer quality, style, or completeness beyond factual grounding. ## Fidelity Levels **Fully Faithful (score: 3)** - Every factual claim in the answer is directly supported by the evidence. - No claim contradicts or extends beyond the evidence. - The answer may omit details present in the evidence without penalty. **Partially Faithful (score: 2)** - Most claims are supported, but one or more claims are: - Not directly stated in the evidence (inference without grounding), OR - Slightly exaggerated or overgeneralized beyond what the evidence supports. - No claims directly contradict the evidence. **Unfaithful (score: 1)** - One or more claims are unsupported by the evidence and represent fabrication, hallucination, or substantial overstatement. - The answer introduces facts, figures, or relationships not present in the evidence. - No claims directly contradict the evidence, but significant portions are ungrounded. **Contradictory (score: 0)** - One or more claims directly contradict the evidence. - The answer states the opposite of what the evidence says, reverses a relationship, or asserts a fact that the evidence explicitly refutes. ## Calibration Examples [EXAMPLES] ## Input **Evidence:** [EVIDENCE] **Answer to Evaluate:** [ANSWER] ## Output Instructions Return a JSON object with this exact schema: [OUTPUT_SCHEMA] ## Constraints [CONSTRAINTS]
Adaptation guidance: Replace [EVIDENCE] with the reference text passages the answer should be grounded in. Replace [ANSWER] with the generated answer under evaluation. Populate [EXAMPLES] with at least two calibration examples per fidelity level, each showing an evidence-answer pair and the correct score with a brief justification. Define [OUTPUT_SCHEMA] as a JSON schema including fields for fidelity_score (integer 0-3), fidelity_level (string matching one of the four levels), justification (string explaining the score), and unsupported_claims (array of strings identifying specific ungrounded or contradictory claims). Use [CONSTRAINTS] to specify additional rules such as "if the evidence is empty, score 1 (unfaithful) for any non-empty answer" or "treat hedging language as a claim if it asserts a factual likelihood." Test the populated template against a golden dataset of scored evidence-answer pairs before deploying to production evaluation pipelines. For high-stakes domains, always include human review of a sample of judge outputs to detect calibration drift.
Prompt Variables
Inputs the Faithfulness Fidelity Score Rubric prompt needs to work reliably. Validate each before sending to the LLM judge.
| Placeholder | Purpose | Example | Validation Notes |
|---|---|---|---|
[ANSWER] | The generated answer text to evaluate for faithfulness | The company reported Q3 revenue of $4.2B, up 12% year-over-year. | Required. Must be non-empty string. Truncate if longer than model context allows minus evidence and rubric length. |
[EVIDENCE] | The source document(s) or retrieved passages that should support the answer | Financial Results: Q3 revenue reached $4.2 billion, representing a 12% increase from Q3 prior year. | Required. Must be non-empty string. Check for encoding issues. If multiple passages, concatenate with clear separators and source labels. |
[RUBRIC_LEVELS] | The faithfulness scoring levels with definitions and criteria | FULLY_FAITHFUL: All claims directly supported. PARTIALLY_FAITHFUL: Some claims unsupported but none contradicted. UNFAITHFUL: Majority unsupported. CONTRADICTORY: Evidence directly refutes answer. | Required. Must include at least 2 levels. Each level must have a non-empty definition. Validate that levels are mutually exclusive. |
[CALIBRATION_EXAMPLES] | Few-shot examples showing correct scoring for answer-evidence pairs | Example 1: Answer='Revenue grew 12%' Evidence='Revenue increased 12%' Score=FULLY_FAITHFUL | Optional but strongly recommended. If provided, must contain at least 2 examples. Each example must have answer, evidence, and expected score fields. Validate expected score matches a defined rubric level. |
[OUTPUT_SCHEMA] | The expected JSON structure for the judge's response | {"score": "FULLY_FAITHFUL", "rationale": "...", "unsupported_claims": [], "contradicted_claims": []} | Required. Must be valid JSON schema or example structure. Include fields for score, rationale, and claim-level detail. Validate that score field enum matches rubric levels. |
[CONSTRAINTS] | Additional rules or edge-case handling instructions | If evidence is empty, score as UNFAITHFUL. If answer contains only opinions, mark as NOT_APPLICABLE. Do not penalize for missing information not claimed in answer. | Optional. If provided, must be a non-empty string. Check for conflicting instructions with rubric levels. Test edge cases against constraints before production deployment. |
[CONFIDENCE_THRESHOLD] | Minimum confidence required for the judge to return a definitive score | 0.8 | Optional. If provided, must be float between 0.0 and 1.0. When judge confidence is below threshold, system should escalate for human review rather than returning low-confidence score. |
[MAX_CLAIMS] | Maximum number of individual claims to extract and evaluate from the answer | 20 | Optional. If provided, must be positive integer. Prevents runaway cost on long answers. If answer contains more claims, evaluate first N and flag truncation in output. |
Implementation Harness Notes
How to wire the Faithfulness Fidelity Score Rubric into an evaluation pipeline with validation, retries, logging, and human review gates.
The Faithfulness Fidelity Score Rubric prompt is designed to operate as an LLM judge inside an automated evaluation harness, not as a one-off manual check. The typical integration pattern places this prompt after answer generation and before the response reaches a user or a downstream system. You send the generated answer and the source evidence set as [ANSWER] and [EVIDENCE] inputs, receive a structured fidelity score with reasoning, and route the output based on the score. For production pipelines, treat this judge prompt as a gate: scores of fully_faithful pass through, partially_faithful triggers a warning log and optional re-generation, unfaithful blocks the answer and escalates for review, and contradictory immediately halts the pipeline and flags the output for human investigation. The rubric's four-level scale maps cleanly to automated decision thresholds that operations teams can monitor and tune over time.
Validation must happen in the application layer, not inside the prompt. After the model returns a response, parse the JSON output and confirm that the fidelity_score field contains exactly one of the four allowed enum values: fully_faithful, partially_faithful, unfaithful, or contradictory. Reject any response where the score is missing, misspelled, or accompanied by malformed JSON. Implement a retry loop with a maximum of two additional attempts, appending the validation error message to the next request so the model can self-correct. If the third attempt still fails validation, log the raw output, record the failure in your eval database, and escalate to a human reviewer rather than silently defaulting to a safe score. For high-stakes domains such as healthcare or legal review, add a second judge pass using a different model or a rotated prompt variant to reduce single-model bias, and require agreement between judges before accepting a fully_faithful verdict.
Logging and observability are essential because faithfulness scores drift as models, evidence sources, and user queries change. Capture the full input pair, the returned score, the reasoning text, the model version, the prompt template version, and a timestamp for every evaluation. Store these records in a structured format that your monitoring dashboard can query. Set up alerts for score distribution shifts: if the rate of unfaithful or contradictory scores suddenly increases, your retrieval pipeline or generation model may have degraded. For regression testing, maintain a golden dataset of answer-evidence pairs with known faithfulness labels, run this rubric prompt against the dataset on every prompt or model change, and block the release if the F1 score on fully_faithful detection drops below a predefined threshold. The rubric's calibration examples inside the prompt serve as anchor points, but external eval datasets provide the ground truth you need for release decisions.
Model choice matters for judge reliability. Prefer models with strong instruction-following and structured output capabilities for the judge role. If you are evaluating outputs from a smaller or faster model, the judge model should be at least as capable, and ideally more capable, than the generator. For cost-sensitive pipelines, batch evaluations during offline testing with a strong judge model, then use a lighter-weight classifier prompt for real-time gating in production. When the evidence set is large, truncate or chunk it before passing it to the judge, but always include the specific passages the generator cited. If the generator did not provide citations, run an alignment prompt first to map answer claims to evidence spans, then feed both the answer and the aligned evidence into this rubric prompt. Never ask the judge to search for supporting evidence inside a massive document dump; its reliability degrades sharply when evidence is buried in noise.
Human review integration is the final safety layer. Route all contradictory scores and a random sample of unfaithful scores to a review queue where a human verifies the judge's verdict. Use these human judgments to measure judge accuracy over time and to identify prompt weaknesses. If human reviewers consistently overturn the judge on specific score categories, update the rubric's calibration examples or adjust the score definitions. The goal is not to remove humans from the loop but to make their review time more valuable by pre-sorting outputs so they focus on the cases where the model is least reliable. Wire the human verdict back into your eval database as a training signal for future rubric improvements and as an audit trail for compliance reviews.
Expected Output Contract
Fields, types, and validation rules for the JSON response returned by the Faithfulness Fidelity Score Rubric prompt. Use this contract to parse, validate, and store evaluation results in your eval harness.
| Field or Element | Type or Format | Required | Validation Rule |
|---|---|---|---|
fidelity_score | string (enum) | Must be one of: fully_faithful, partially_faithful, unfaithful, contradictory. Case-sensitive exact match required. | |
score_reasoning | string | Non-empty string. Must reference specific evidence passages or answer claims. Minimum 20 characters. | |
evidence_support_ratio | number (float) | Value between 0.0 and 1.0 inclusive. Represents proportion of answer claims supported by evidence. | |
unsupported_claims | array of objects | Each object must contain claim_text (string) and reason (string). Array may be empty if fidelity_score is fully_faithful. | |
unsupported_claims[].claim_text | string | Exact text span from the answer that lacks evidence support. Must be a substring of the original answer. | |
unsupported_claims[].reason | string | Explanation of why the claim is unsupported. Must reference missing evidence, fabrication, or overgeneralization. | |
contradicted_claims | array of objects | Each object must contain claim_text (string), evidence_excerpt (string), and contradiction_explanation (string). Array may be empty. | |
calibration_confidence | number (float) | If present, value between 0.0 and 1.0. Represents judge model's confidence in its own fidelity assessment. Null allowed. |
Common Failure Modes
What breaks first when scoring faithfulness and how to guard against it.
Rubric Drift Across Raters
What to watch: Different human raters or LLM judges apply the rubric inconsistently, especially on borderline cases between 'partially faithful' and 'unfaithful.' Guardrail: Include 3-5 calibration examples per boundary in the prompt. Run inter-rater agreement checks on a held-out set before trusting scores.
Evidence Blindness in Long Contexts
What to watch: The judge misses key evidence passages buried in long documents, scoring an answer as unfaithful when support actually exists. Guardrail: Pre-filter evidence to the most relevant passages before scoring. Ask the judge to cite the specific evidence span it used for each score.
Plausible-Sounding Fabrications
What to watch: The answer sounds reasonable and consistent with the evidence topic but introduces facts not present in the source. The judge accepts it as faithful. Guardrail: Require the judge to extract and quote the exact evidence supporting each claim. Flag any claim without a direct quote as ungrounded.
Over-Penalizing Paraphrase
What to watch: The judge marks a faithful paraphrase as 'partially faithful' because the wording differs from the source, even though the meaning is preserved. Guardrail: Explicitly instruct the rubric that semantic equivalence counts as support. Include positive examples of faithful paraphrases in calibration.
Contradiction Miss Due to Implicit Meaning
What to watch: The answer contradicts the evidence through implication or omission rather than direct negation. The judge misses the contradiction. Guardrail: Add a contradiction check step: 'If the evidence implies the opposite of any claim, mark as contradictory.' Test with adversarial examples that require inference.
Score Inflation from Verbose Answers
What to watch: Long, detailed answers receive higher faithfulness scores because the judge is overwhelmed by volume and assumes detail implies accuracy. Guardrail: Score each claim independently rather than the answer as a whole. Normalize scores by claim count. Flag answers where length exceeds evidence length by a threshold.
Evaluation Rubric
Use this rubric to calibrate an LLM judge for the Faithfulness Fidelity Score. Each row defines a scoring level, the evidence standard required, and the automated test method to validate the judge's consistency before production deployment.
| Criterion | Pass Standard | Failure Signal | Test Method |
|---|---|---|---|
Fully Faithful (Score 5) | Every factual claim in [ANSWER] is directly supported by a specific passage in [EVIDENCE]. No extra-factual claims exist. | The judge assigns a score of 5 when [ANSWER] contains a claim not found in [EVIDENCE], or hallucinates a citation. | Run 20 golden answer-evidence pairs with known full support. Assert judge returns score 5 for all. Measure exact match accuracy. |
Partially Faithful (Score 3) | At least one core claim is fully supported, but minor details (dates, quantities) are missing from [EVIDENCE] or are vague. | The judge assigns a score of 3 when [ANSWER] fabricates a core entity or contradicts [EVIDENCE] on a material point. | Inject a single unsupported minor detail into a fully faithful answer. Assert judge downgrades to 3, not 1 or 5. |
Unfaithful (Score 1) | The [ANSWER] contains claims that are not contradicted by [EVIDENCE] but are entirely absent from it. No direct support exists. | The judge assigns a score of 1 when [ANSWER] is a direct paraphrase of [EVIDENCE] or contains only supported claims. | Provide an answer that is topically related but factually unsupported by the evidence. Assert judge returns 1. |
Contradictory (Score 0) | The [ANSWER] makes a factual assertion that directly opposes a statement in [EVIDENCE]. | The judge assigns a score of 0 when [ANSWER] merely lacks support but does not invert a fact from [EVIDENCE]. | Create an answer that reverses a key fact (e.g., 'revenue increased' when evidence states 'revenue decreased'). Assert judge returns 0. |
Evidence Omission | The judge correctly identifies when [EVIDENCE] contains information that directly answers the query but [ANSWER] omits it. | The judge penalizes the answer for not including information that was not requested in the user query. | Provide evidence with two key findings. Generate an answer that uses only one. Assert the judge flags the omission in its reasoning. |
Calibration Consistency | The judge produces the same score and reasoning when the same [ANSWER] and [EVIDENCE] pair is evaluated multiple times with temperature 0. | The judge's score fluctuates by more than 1 point across 5 identical runs. | Run 10 identical evaluation calls. Assert standard deviation of scores is 0. |
Refusal Handling | When [ANSWER] is a refusal to answer due to insufficient evidence, the judge scores it as a valid abstention, not as unfaithful. | The judge penalizes a correct refusal as unfaithful or contradictory. | Provide an [ANSWER] that states 'I cannot answer this from the provided evidence.' Assert the judge returns a special abstention flag, not a low faithfulness score. |
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Adapt This Prompt
How to adapt
Use the base rubric with a single frontier model as judge. Remove the calibration examples section and rely on the rubric definitions alone. Accept raw text output instead of strict JSON schema. Run on 20-30 samples to tune rubric wording before scaling.
Watch for
- Score inflation when the judge model is also the generator model
- Missing edge cases around partial faithfulness (e.g., correct claim but wrong source attribution)
- Rubric ambiguity causing inconsistent 2 vs 3 scores on borderline cases

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.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us