Inferensys

Prompt

Groundedness Rubric for Summarization Outputs

A practical prompt playbook for using Groundedness Rubric for Summarization Outputs in production AI workflows.
Operations team reviewing AI workflow automation on laptop, workflow builder visible, casual office setup.
PROMPT PLAYBOOK

When to Use This Prompt

Defines the operational context, ideal user, and boundaries for deploying the Groundedness Rubric for Summarization Outputs in a production AI pipeline.

This prompt is a judge prompt, not a generation prompt. Its sole job is to evaluate an already-produced summary against its source document using a multi-dimensional rubric. The primary job-to-be-done is automated quality monitoring: you need a repeatable, scalable way to score how faithfully a summary represents the original text without manually reviewing every output. The ideal user is an AI engineer or evaluation lead who is building a batch evaluation pipeline, a regression testing suite for summarization models, or a pre-release gate that blocks deployment if groundedness scores fall below a defined threshold. You should use this prompt when you have a source document and a candidate summary, and you need a structured scorecard that breaks down factual consistency, omission of key information, and insertion of unsupported content.

This prompt is designed for batch evaluation workflows, not real-time user-facing features. Wire it into a pipeline that processes hundreds or thousands of document-summary pairs, producing structured scores you can aggregate, track over time, and use for model selection or drift detection. The output is a scorecard—typically JSON with dimension-level scores, specific violation flags, and a summary-level groundedness rating—that feeds into your monitoring dashboards or CI/CD checks. You must provide the full source document and the complete summary as inputs; this prompt cannot evaluate partial or streaming outputs reliably. The rubric dimensions (factual consistency, omission, insertion) are fixed in the template, but you can adjust the scoring scale and severity thresholds to match your team's risk tolerance.

Do not use this prompt when you need to generate a summary, when you lack the full source document, or when the summary is intended to be abstractive rather than extractive without clear grounding expectations. This prompt is also inappropriate for evaluating creative or opinion-based summaries where factual precision is not the primary quality dimension. If your use case involves regulated content (e.g., clinical summaries, legal document abstracts, financial report digests), you must pair this automated evaluation with human review for any outputs flagged below your acceptance threshold. The rubric provides a signal, not a final verdict. After reading this section, proceed to the prompt template to copy and adapt the judge instructions, then review the implementation harness for validation, retry logic, and logging patterns.

PRACTICAL GUARDRAILS

Use Case Fit

Where the Groundedness Rubric for Summarization Outputs prompt works well and where it introduces risk. Use these cards to decide if this prompt fits your evaluation pipeline before you invest in integration.

01

Good Fit: Batch Summarization QA

Use when: you need to evaluate hundreds of document-summary pairs for factual consistency before a release. Why: the multi-dimensional rubric scores factual consistency, omission, and insertion in a structured, automatable format. Guardrail: run a calibration pass with 20–30 human-annotated examples to align the LLM judge scores with your team's quality bar before full-scale batch evaluation.

02

Good Fit: RAG Output Monitoring

Use when: you have a retrieval-augmented generation pipeline and need continuous groundedness monitoring in production. Why: the rubric's omission and insertion dimensions catch both missing key information and hallucinated content. Guardrail: pair this rubric with a pass/fail gate prompt that stops outputs below a minimum faithfulness threshold from reaching end users.

03

Bad Fit: Real-Time User-Facing Scoring

Avoid when: you need sub-second groundedness scores to show end users inline feedback. Why: multi-dimensional rubric evaluation requires careful reasoning across the full document-summary pair, adding latency unsuitable for synchronous UX. Guardrail: use this rubric for offline or async evaluation pipelines; for real-time checks, deploy a lighter sentence-level grounding verification prompt instead.

04

Required Inputs

Requires: a complete source document and a complete generated summary, plus a defined rubric with scoring scales for factual consistency, omission, and insertion. Without these: the judge cannot distinguish between missing context and unsupported claims. Guardrail: validate that both source and summary are non-empty and that the source contains the information the summary claims to represent before invoking the rubric.

05

Operational Risk: Judge Drift Over Time

What to watch: LLM judge scores shifting as models update, prompts change, or evaluation context evolves. Why: rubric dimensions like 'omission severity' are sensitive to judge calibration. Guardrail: maintain a golden dataset of 50–100 human-scored examples and run them through the rubric weekly. Alert if score distributions shift more than a predefined tolerance.

06

Operational Risk: Source Length Mismatch

What to watch: very long source documents paired with short summaries can cause the judge to flag omission where summarization was intentionally selective. Why: the rubric's omission dimension needs context about the summarization task's compression ratio. Guardrail: include a summarization instruction or expected compression level in the evaluation context so the judge distinguishes between appropriate abstraction and harmful omission.

PROMPT PLAYBOOK

Copy-Ready Prompt Template

A production-ready template for evaluating summarization faithfulness using a multi-dimensional groundedness rubric.

This prompt template operationalizes a structured evaluation of how faithfully a summary represents its source document. It moves beyond a simple 'good/bad' judgment by scoring five distinct dimensions: factual consistency, key information omission, unsupported content insertion, entity and relationship preservation, and causal/logical structure. The output is a strict JSON scorecard designed for direct ingestion into evaluation pipelines, dashboards, or CI/CD gates.

text
You are an expert evaluator of summarization faithfulness. Your task is to score a summary against its source document using a multi-dimensional groundedness rubric. You will assess factual consistency, omission of key information, and insertion of unsupported content. Return a structured JSON scorecard with per-dimension scores, specific examples of violations, and an overall faithfulness rating.

### SOURCE DOCUMENT

[SOURCE_DOCUMENT]

code

### SUMMARY TO EVALUATE

[SUMMARY]

code

### EVALUATION RUBRIC

Score each dimension on a 1-5 scale where:
- 5: Perfect. No issues detected.
- 4: Minor issues that do not change meaning.
- 3: Some issues that partially affect accuracy.
- 2: Significant issues that undermine trust in the summary.
- 1: Severe issues. Summary is unfaithful to the source.

**Dimension 1: Factual Consistency**
Do all factual claims in the summary match the source document? Penalize contradictions, altered numbers, changed entities, or reversed relationships.

**Dimension 2: Key Information Omission**
Does the summary omit critical facts, events, or conclusions that a reader would need to understand the source? Penalize missing essential information even if what is present is accurate.

**Dimension 3: Unsupported Content Insertion**
Does the summary introduce claims, opinions, interpretations, or details not present in the source? Penalize any added content regardless of whether it seems plausible.

**Dimension 4: Entity and Relationship Preservation**
Are people, organizations, locations, dates, and their relationships preserved correctly? Penalize swapped entities, merged identities, or altered relationships.

**Dimension 5: Causal and Logical Structure**
Does the summary preserve the source's causal chain, argument structure, and logical ordering? Penalize reversed causality, broken if-then relationships, or reordered events that change meaning.

### OUTPUT FORMAT
Return ONLY valid JSON with this exact structure:
```json
{
  "overall_faithfulness_score": <float 1.0-5.0>,
  "overall_rating": "<Excellent|Good|Fair|Poor|Unacceptable>",
  "dimensions": {
    "factual_consistency": {
      "score": <int 1-5>,
      "explanation": "<brief reasoning>",
      "violations": ["<specific example from summary with source comparison>"]
    },
    "key_information_omission": {
      "score": <int 1-5>,
      "explanation": "<brief reasoning>",
      "omitted_items": ["<key fact present in source but missing from summary>"]
    },
    "unsupported_content_insertion": {
      "score": <int 1-5>,
      "explanation": "<brief reasoning>",
      "inserted_items": ["<claim in summary with no source support>"]
    },
    "entity_relationship_preservation": {
      "score": <int 1-5>,
      "explanation": "<brief reasoning>",
      "violations": ["<specific entity or relationship error>"]
    },
    "causal_logical_structure": {
      "score": <int 1-5>,
      "explanation": "<brief reasoning>",
      "violations": ["<specific causal or logical error>"]
    }
  },
  "critical_failures": ["<any violation that alone would make the summary unacceptable>"],
  "evaluation_notes": "<optional overall assessment>"
}

CONSTRAINTS

  • Every violation must quote or reference specific text from both the summary and the source.
  • If no violations exist for a dimension, return an empty array.
  • The overall_faithfulness_score is the mean of the five dimension scores.
  • Map overall_faithfulness_score to rating: >=4.5 Excellent, >=3.5 Good, >=2.5 Fair, >=1.5 Poor, <1.5 Unacceptable.
  • Do not evaluate writing style, grammar, or conciseness. Only evaluate factual groundedness.
  • If the source document is empty or the summary is empty, return an error object: {"error": "<reason>"}.

[OPTIONAL_KEY_FACTS]

INSTRUCTIONS

Evaluate the summary now. Return only the JSON object with no additional text.

To adapt this template, replace [SOURCE_DOCUMENT] and [SUMMARY] with your actual text inputs. The [OPTIONAL_KEY_FACTS] placeholder can be used to inject a pre-extracted list of critical facts that must appear in a faithful summary, which helps calibrate the omission dimension for domain-specific requirements. For high-stakes domains like clinical documentation or legal review, always route outputs scoring below 'Good' (3.5) to a human review queue before any downstream action is taken.

Before deploying this prompt into a production evaluation pipeline, validate the JSON output against the exact schema using a structural validator. Common failure modes include the model returning markdown-wrapped JSON, omitting the critical_failures array, or producing scores that don't match the documented rating thresholds. Implement a retry with a stricter format reminder if parsing fails, and log all raw outputs for judge calibration analysis.

IMPLEMENTATION TABLE

Prompt Variables

Required inputs for the Groundedness Rubric for Summarization Outputs prompt. Each variable must be populated before the LLM judge can produce a reliable, repeatable evaluation.

PlaceholderPurposeExampleValidation Notes

[ORIGINAL_DOCUMENT]

The full source text that was summarized. This is the ground truth.

The complete text of the Q3 earnings report.

Required. Must be non-empty. Truncation risks false hallucination flags. Validate length is within model context window.

[SUMMARY_OUTPUT]

The AI-generated summary to be evaluated for groundedness.

A 3-paragraph summary of the Q3 earnings report.

Required. Must be non-empty. Validate that the summary is a string, not a tool call or system message.

[RUBRIC_DIMENSIONS]

A list of scoring dimensions, each with a scale and description.

["Factual Consistency (1-5)", "Omission Severity (1-5)", "Hallucination Rate (1-5)"]

Required. Must be a valid JSON array of strings. Each dimension should map to a clear definition in the prompt instructions.

[SCORING_SCALE]

The numeric or categorical scale for each rubric dimension.

1 (Severe Issues) to 5 (Perfectly Grounded)

Required. Must be consistent across all dimensions. Validate that the scale bounds are integers and the prompt explains each level.

[PASS_THRESHOLD]

The minimum score or condition for the summary to be considered acceptable.

Average score >= 4, with no single dimension below 3.

Required. Must be a parseable rule. Use for binary pass/fail gating in CI/CD pipelines. Validate against the scoring scale bounds.

[FEW_SHOT_EXAMPLES]

Optional pairs of summaries and their correct rubric scores to calibrate the judge.

[{"summary": "...", "scores": {"Factual Consistency": 2, ...}, "reasoning": "..."}]

Optional but strongly recommended. Must be a valid JSON array of objects. Validate that example scores use the defined scale and dimensions to prevent calibration errors.

[OUTPUT_SCHEMA]

The required JSON structure for the evaluation output.

{"scores": {}, "overall_pass": true, "flagged_claims": [], "reasoning": ""}

Required. Must be a valid JSON Schema or example. Validate that the schema includes fields for per-dimension scores, a pass/fail boolean, and a list of specific unsupported claims.

PROMPT PLAYBOOK

Implementation Harness Notes

Wire the groundedness rubric into a batch evaluation pipeline with validation, retries, and human review for high-stakes domains.

This prompt is designed for offline batch evaluation, not real-time user flows. It should be called via your LLM API with response_format set to JSON mode if the provider supports it. The returned JSON must be parsed and validated before any score is trusted. The core validation contract is: all five dimension scores (factual_consistency, omission_rate, insertion_rate, source_fidelity, claim_support_ratio) must be integers between 1 and 5, and the overall_faithfulness_score must equal the arithmetic mean of those five values. If validation fails, retry once with the identical prompt payload. If the retry also fails, log the raw response alongside the input summary and source document identifiers, then flag the record for human review. Do not silently accept malformed scores.

Store dimension scores as time-series metrics tagged by model version, prompt version, and evaluation batch ID. This enables drift detection: if insertion_rate scores trend upward across batches, your summarization model may be hallucinating more over time. For high-stakes domains such as legal document summarization or clinical note synthesis, route any summary scoring below 3.0 overall to a human review queue before the output reaches a downstream system or user. The rubric prompt is not a streaming guardrail—it is too latent and too coarse for per-token intervention. Accept that latency is tolerable here because this runs asynchronously after generation.

Model choice matters. Use a model with strong instruction-following and JSON output reliability for the judge role. If your summarization model is a smaller, fine-tuned model, the judge should typically be a more capable model to reduce judge bias. Avoid using the same model instance as both generator and judge without calibration against human ratings. Wire the evaluation results into your existing observability stack—log failures, score distributions, and validation errors alongside generation traces so you can correlate low groundedness scores with specific prompt or retrieval changes. The next step after implementing this harness is to calibrate the judge against a human-annotated sample to confirm score alignment before relying on it for automated gating decisions.

IMPLEMENTATION TABLE

Expected Output Contract

Fields, types, and validation rules for the groundedness rubric JSON response. Use this contract to build a parser, validator, and retry handler before integrating the prompt into an evaluation pipeline.

Field or ElementType or FormatRequiredValidation Rule

overall_groundedness_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.

factual_consistency_score

number (0.0-1.0)

Must be a float between 0.0 and 1.0 inclusive. Reject if missing or outside bounds.

omission_severity_score

number (0.0-1.0)

Must be a float between 0.0 and 1.0 inclusive. Higher score means fewer omissions. Reject if null.

insertion_severity_score

number (0.0-1.0)

Must be a float between 0.0 and 1.0 inclusive. Higher score means fewer unsupported insertions. Reject if null.

supported_claims

array of strings

Each element must be a non-empty string. Array can be empty. Reject if any element is null or empty.

unsupported_claims

array of strings

Each element must be a non-empty string. Array can be empty. Reject if any element is null or empty.

omitted_key_information

array of strings

Each element must be a non-empty string. Array can be empty. Reject if any element is null or empty.

summary_verdict

string (enum)

Must be one of: 'fully_grounded', 'mostly_grounded', 'partially_grounded', 'mostly_ungrounded', 'fully_ungrounded'. Reject on unknown value.

PRACTICAL GUARDRAILS

Common Failure Modes

What breaks first when using a groundedness rubric for summarization and how to guard against it.

01

Judge Hallucinates the Source

What to watch: The LLM judge fabricates source content to justify a score, claiming the summary includes facts that exist in neither the summary nor the original document. Guardrail: Require the judge to quote the exact source passage and summary sentence for every flagged issue. Validate quotes with string-matching before accepting scores.

02

Rubric Drift Across Batches

What to watch: The judge applies the rubric inconsistently across evaluation batches, scoring identical grounding errors differently over time. Guardrail: Include 3-5 calibrated few-shot examples with human-annotated scores in every evaluation prompt. Periodically run a fixed golden set to detect score distribution shifts.

03

Verbosity Bias in Scoring

What to watch: Longer, more fluent summaries receive higher groundedness scores even when they contain more unsupported claims, because the judge confuses writing quality with factual accuracy. Guardrail: Instruct the judge to score groundedness independently of style. Use a separate style evaluation pass. Spot-check long summaries for hallucination rate.

04

Omission Blindness

What to watch: The rubric penalizes inserted hallucinations but misses critical omissions where the summary drops key facts present in the source. Guardrail: Add a dedicated recall dimension to the rubric that explicitly checks for missing required information. Require the judge to list source facts absent from the summary.

05

Paraphrase Penalty Overreach

What to watch: The judge flags legitimate paraphrases as unsupported because the wording differs from the source, penalizing good summaries for using different vocabulary. Guardrail: Define paraphrase tolerance explicitly in the rubric with examples of acceptable rewording versus meaning-changing alterations. Include a paraphrase-acceptable boundary in few-shot examples.

06

Numerical Precision Mismatch

What to watch: The judge marks a summary as ungrounded when it rounds a number or uses a different unit, even when the semantic meaning is preserved. Guardrail: Add a numerical tolerance rule to the rubric specifying acceptable rounding ranges and unit conversion handling. Test with edge cases like 'approximately 50%' versus '49.7%'.

IMPLEMENTATION TABLE

Evaluation Rubric

Scoring criteria for evaluating whether a summarization output is factually grounded in the source document. Use this rubric to calibrate LLM judges or human reviewers before shipping a groundedness evaluation pipeline.

CriterionPass StandardFailure SignalTest Method

Factual Precision

Every factual claim in the summary is directly supported by the source document. No fabricated details, dates, names, or statistics.

Summary contains a claim not present in the source. Claim contradicts source content. Extrapolation presented as fact.

Extract all factual claims from summary. For each claim, search source document for supporting evidence. Flag any claim without a direct match.

Key Information Recall

All critical facts from the source are present in the summary. No material omissions that change the meaning or completeness of the output.

A central fact, finding, or conclusion from the source is missing. Omission creates misleading impression. Important context dropped.

Create a checklist of must-include facts from the source. Verify each appears in the summary. Score recall as present / missing / partially present.

No Hallucinated Content

Zero unsupported statements. The summary adds no new entities, events, relationships, or interpretations beyond what the source states.

Summary invents a person, place, event, number, or causal relationship. Model fills gaps with plausible but false information.

Diff summary claims against source sentences. Any claim with zero source overlap is a hallucination. Count hallucinations per output.

Attribution Accuracy

When the summary attributes a statement to a specific entity or source within the document, that attribution is correct.

Statement attributed to wrong person, organization, or section. Quote misattributed. Source section reference is incorrect.

For each attributed claim, verify the named entity is the actual source of that information in the original document.

Numerical Fidelity

All numbers, percentages, dates, and quantities in the summary match the source exactly. No rounding errors or value shifts.

Number changed from source value. Percentage misstated. Date shifted. Unit conversion error. Statistic presented without source caveat.

Extract all numerical values from summary. Compare each to corresponding source value. Flag any mismatch beyond acceptable rounding tolerance.

Temporal and Causal Ordering

Sequence of events and cause-effect relationships in the summary reflect the source document accurately. No reordering that changes meaning.

Events presented out of order. Implied causation where source shows correlation only. Timeline compressed in misleading way.

Map event sequence in summary against source timeline. Check causal language for overstatement. Flag any reordering that alters interpretation.

Abstention from Speculation

Summary does not speculate beyond the source. Uncertainty in the source is preserved. No filling gaps with model knowledge.

Summary adds interpretation not in source. Model resolves ambiguity the source left open. External knowledge inserted without citation.

Identify any claim in summary that goes beyond source content. Check if source explicitly states the claim or if model inferred it. Flag all inferences as failures.

Source Conflict Handling

If the source contains internal contradictions, the summary either notes the conflict or omits both sides rather than picking one silently.

Summary resolves a source conflict by choosing one side without acknowledgment. Contradictory information presented as consistent.

Check source for internal contradictions. Verify summary either preserves the ambiguity or explicitly notes the conflict. Flag silent resolution.

ADAPTATION OPTIONS

Adapt This Prompt

How to adapt

Use the base rubric with a frontier model and manual review. Focus on getting the rubric dimensions right before adding automation. Run the prompt against 10-20 document-summary pairs and spot-check scores against your own judgment.

Prompt modification

  • Remove strict JSON schema requirements; accept markdown-structured output
  • Replace [OUTPUT_SCHEMA] with a simple list of dimensions and 1-5 scales
  • Add: "If uncertain about a score, flag it for human review rather than guessing"

Watch for

  • Rubric dimensions that don't match your actual failure modes
  • Score inflation on borderline cases
  • Missing distinction between omission and fabrication
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.