Inferensys

Prompt

Fabricated Product Feature Detection Prompt

A practical prompt playbook for using Fabricated Product Feature Detection Prompt in production AI workflows.
Developer doing prompt engineering on laptop, prompt variations visible on screen, casual coding session.
PROMPT PLAYBOOK

When to Use This Prompt

Define the job, reader, and constraints for detecting fabricated product features in model output.

This prompt is designed for product documentation and competitive analysis teams who need to verify that model-generated content about a product—its features, capabilities, and specifications—is actually attested in the provided source documentation. The core job-to-be-done is preventing fabricated feature claims from reaching internal stakeholders, public-facing documentation, or competitive intelligence reports. The ideal user is a technical product manager, a competitive analyst, or a documentation engineer who has access to authoritative source material and needs a structured, auditable verification step before trusting or publishing AI-generated product descriptions.

Use this prompt when you have a set of source documents (product spec sheets, API references, official datasheets, release notes) and a model-generated output that makes claims about what a product can do. The prompt works best when the source material is complete and unambiguous—it will flag features that appear in the output but cannot be matched to any source passage. Do not use this prompt when the source documentation is incomplete, outdated, or itself speculative; the prompt cannot distinguish between a genuine documentation gap and a model hallucination. It is also unsuitable for evaluating subjective product qualities like 'ease of use' or 'market-leading performance' unless those claims are explicitly attested in the source material.

The prompt requires a specific input harness: a clearly delimited [SOURCE_DOCUMENTATION] block containing the authoritative text, and a [MODEL_OUTPUT] block containing the claims to verify. Each flagged feature receives a confidence score and a recommended action (verify or remove). For high-stakes workflows—such as publishing competitive comparisons or updating customer-facing documentation—always route outputs flagged as 'verify' to a human subject-matter expert before taking action. The prompt is a detection tool, not a replacement for product knowledge. Wire it into a post-generation validation step in your content pipeline, log every flag for auditability, and track false-positive rates over time to calibrate your confidence thresholds.

PRACTICAL GUARDRAILS

Use Case Fit

Where the Fabricated Product Feature Detection Prompt works, where it fails, and the operational prerequisites for safe deployment.

01

Good Fit: Source-Anchored Product Analysis

Use when: you have a complete, authoritative source document (product spec, datasheet, manual) and need to verify that every feature claim in a model-generated summary or competitive brief is attested in that source. The prompt excels at diffing claims against evidence. Guardrail: always provide the source text as a structured input alongside the model output under audit.

02

Bad Fit: Real-Time Competitive Intelligence Without Ground Truth

Avoid when: you lack a definitive source document and expect the prompt to determine whether a feature exists in the real world. The prompt detects fabrication relative to provided input, not objective truth. It cannot fact-check against the internet or product reality. Guardrail: pair this prompt with a retrieval step that fetches authoritative source material before running detection.

03

Required Input: Source Document and Model Output Pair

What to watch: running the prompt with only the model output and no source text will produce meaningless results. The detection logic depends entirely on cross-referencing claims against evidence. Guardrail: enforce a strict input harness that requires both [SOURCE_DOCUMENT] and [MODEL_OUTPUT] fields, and reject requests missing either.

04

Operational Risk: False Confidence in Fabrication Labels

What to watch: the model may assign high confidence scores to incorrect fabrication flags, especially when source documents use different terminology for the same capability. Synonym mismatch can cause false positives. Guardrail: implement a human review queue for high-impact product claims, and never auto-publish fabrication verdicts without sampling for accuracy.

05

Operational Risk: Source Document Staleness

What to watch: the source document may be outdated, missing newly released features that the model output correctly references. The prompt will flag these as fabricated when they are actually legitimate. Guardrail: timestamp every source document and reject source material older than your acceptable freshness window. Log staleness warnings alongside fabrication flags.

06

Scale Limit: Per-Claim Latency and Token Costs

What to watch: running this prompt over long competitive briefs with hundreds of feature claims can become expensive and slow, especially if each claim requires a separate verification call. Guardrail: batch claims into groups of 10-20 per prompt call, and implement a cost gate that caps daily verification volume. Consider caching results for repeated source-output pairs.

PROMPT PLAYBOOK

Copy-Ready Prompt Template

A reusable prompt template for detecting fabricated product features in model outputs against source documentation.

This prompt template is designed to be dropped into a post-generation validation step. It takes a model's output about a product and a set of source documents, then identifies any features, capabilities, or specifications that appear in the output but are not attested in the source material. The prompt is structured to return a machine-readable JSON report so that downstream systems can programmatically flag, remove, or escalate fabricated content before it reaches users or databases.

text
You are a product documentation auditor. Your task is to compare a model-generated product description against a set of authoritative source documents and identify any features, capabilities, or specifications that are fabricated—meaning they appear in the output but are not supported by the source material.

## INPUT

**Source Documents:**
[SOURCE_DOCUMENTS]

**Model Output to Audit:**
[MODEL_OUTPUT]

**Product Context (optional):**
[PRODUCT_CONTEXT]

## INSTRUCTIONS

1. Extract every discrete product feature, capability, specification, or claim from the model output.
2. For each extracted item, search the source documents for supporting evidence.
3. Classify each item as one of:
   - **ATTESTED**: Directly supported by source text with a quotable passage.
   - **PARTIALLY_ATTESTED**: Partially supported but the output adds unsupported detail, scope, or quantification.
   - **FABRICATED**: No supporting evidence found in source documents.
   - **CONTRADICTED**: Source documents explicitly state something contrary to the output.
4. Assign a confidence score (0.0 to 1.0) to each classification.
5. For ATTESTED and PARTIALLY_ATTESTED items, include the exact source passage as evidence.
6. For FABRICATED and CONTRADICTED items, include a recommended action: REMOVE, FLAG_FOR_REVIEW, or ESCALATE.

## OUTPUT SCHEMA

Return a JSON object with this exact structure:

{
  "audit_summary": {
    "total_claims_found": <integer>,
    "attested_count": <integer>,
    "partially_attested_count": <integer>,
    "fabricated_count": <integer>,
    "contradicted_count": <integer>,
    "overall_fabrication_risk": "LOW" | "MEDIUM" | "HIGH" | "CRITICAL"
  },
  "findings": [
    {
      "claim_id": <string, unique identifier>,
      "claim_text": <string, the exact claim from the output>,
      "classification": "ATTESTED" | "PARTIALLY_ATTESTED" | "FABRICATED" | "CONTRADICTED",
      "confidence": <float 0.0-1.0>,
      "source_evidence": <string or null, quoted source passage>,
      "discrepancy_note": <string or null, explanation of partial attestation or contradiction>,
      "recommended_action": "KEEP" | "REMOVE" | "FLAG_FOR_REVIEW" | "ESCALATE",
      "action_rationale": <string, brief reason for the recommendation>
    }
  ]
}

## CONSTRAINTS

- Do not invent source evidence. If a source passage does not exist, set source_evidence to null.
- If the model output contains no product claims at all, return an empty findings array with appropriate audit_summary counts set to zero.
- Do not classify stylistic choices, tone, or marketing language as features unless they make specific capability claims.
- When confidence is below 0.7, default to FLAG_FOR_REVIEW rather than REMOVE.
- Treat the source documents as the single source of truth. Do not bring external knowledge about the product.

## EXAMPLES

[EXAMPLES]

## RISK LEVEL

[RISK_LEVEL]

To adapt this template, replace the square-bracket placeholders with your actual inputs. [SOURCE_DOCUMENTS] should contain the full text of your authoritative product documentation, spec sheets, or knowledge base articles—concatenated with clear document boundary markers. [MODEL_OUTPUT] is the text you need to audit. [PRODUCT_CONTEXT] is optional but useful for providing the product name, version, or category to help the model disambiguate. [EXAMPLES] should include 2-4 few-shot examples showing correct classifications, especially for the tricky PARTIALLY_ATTESTED and CONTRADICTED categories. [RISK_LEVEL] should be set to "LOW", "MEDIUM", "HIGH", or "CRITICAL" to adjust the model's sensitivity—higher risk levels should make the model more conservative, flagging borderline cases for review rather than letting them pass. For high-stakes domains like regulated product claims or competitive analysis, always route FABRICATED and CONTRADICTED findings through human review before taking automated action.

IMPLEMENTATION TABLE

Prompt Variables

Required inputs for the Fabricated Product Feature Detection Prompt. Each placeholder must be populated before the prompt is assembled. Missing or malformed inputs are the most common cause of false negatives and missed fabrications.

PlaceholderPurposeExampleValidation Notes

[PRODUCT_DOCUMENTATION]

The authoritative source text describing product features, capabilities, and specifications

Official datasheet, product manual, or spec page text

Must be non-empty string. Reject if only contains navigation elements or boilerplate. Minimum 50 tokens of substantive content required.

[MODEL_OUTPUT]

The AI-generated text to audit for fabricated features

A competitive analysis paragraph, product summary, or feature list generated by another model

Must be non-empty string. If output is structured JSON, flatten to text representation before passing. Truncation artifacts should be repaired before audit.

[FEATURE_CATEGORIES]

Taxonomy of feature types to check for fabrication

["hardware_specs", "software_capabilities", "integrations", "performance_metrics", "pricing_tiers"]

Must be valid JSON array of strings. Empty array triggers broad detection across all categories. Unknown categories are ignored with warning.

[CONFIDENCE_THRESHOLD]

Minimum confidence score for flagging a feature as fabricated

0.7

Float between 0.0 and 1.0. Values below 0.5 produce high false-positive rates. Values above 0.9 risk missing subtle fabrications. Default 0.7 if not specified.

[OUTPUT_SCHEMA]

Expected structure for the detection report

{"flagged_features": [], "clean_output": "", "audit_summary": {}}

Must be valid JSON Schema or example structure. Prompt will validate output against this shape. Reject if schema contains circular references.

[REQUIRE_CITATION]

Whether each flagged feature must include a quoted evidence snippet from source documentation

Boolean. When true, prompt returns source quotes for each flag. When false, returns only feature name and confidence. Set true for regulated or high-stakes use cases.

[MAX_FLAGGED_FEATURES]

Upper limit on number of fabricated features to return before truncation

25

Integer >= 1. Prevents unbounded output in large documents. If more features are fabricated, prompt returns top N by confidence and appends truncation notice.

PROMPT PLAYBOOK

Implementation Harness Notes

How to wire the Fabricated Product Feature Detection Prompt into a production application or verification workflow.

This prompt is designed to operate as a post-generation validation step within a larger product documentation or competitive analysis pipeline. It should never be the sole gatekeeper for published content. Instead, wire it as a dedicated verification service that receives a model's output and the corresponding source documentation, returning a structured audit report. The implementation must enforce that both [MODEL_OUTPUT] and [SOURCE_DOCUMENTATION] are non-negotiable inputs—the prompt cannot function without them. If your application generates feature lists or capability summaries from a model, insert this prompt between the generation step and any user-facing surface or database write operation.

The harness should wrap the LLM call in a retry loop with a strict JSON schema validator. Define the expected output schema (an array of feature objects, each with feature_name, source_evidence, confidence_score, and recommendation fields) and reject any response that fails to parse or omits required fields. On validation failure, retry up to two times with an escalated [CONSTRAINTS] block that explicitly states the previous output was malformed. Log every raw response and its validation status for observability. For high-stakes use cases—such as publishing competitive battlecards or updating product pages—route all outputs with a confidence_score below 0.9 or a recommendation of verify or remove to a human review queue. This prompt is a detection tool, not an automated removal tool; the application layer should handle the actual stripping or flagging of content based on the prompt's structured verdict.

Model choice matters here. Use a model with strong instruction-following and structured output capabilities, such as GPT-4o, Claude 3.5 Sonnet, or Gemini 1.5 Pro. Avoid smaller or older models that may struggle with the nuanced distinction between a feature implied by context and one outright invented. Do not use this prompt in a streaming context; you need the complete output to perform the comparison. If your source documentation is long, chunk it and run the prompt per section, then deduplicate the results. Finally, treat the prompt's output as evidence for a decision, not the decision itself—always build a human escalation path for any flagged fabrication before content reaches customers.

PRACTICAL GUARDRAILS

Common Failure Modes

Fabricated product feature detection fails in predictable ways. These are the most common failure modes, why they happen, and how to prevent them before they reach users or databases.

01

False Negatives on Implied Features

What to watch: The model misses fabricated features that are implied rather than explicitly stated. A hallucinated 'real-time sync' capability may be described as 'instant updates across devices' without using the exact term from the source. Guardrail: Include negative examples in the prompt that show implied-but-absent features. Require the model to flag any capability claim not directly attested, even if phrased differently.

02

Over-Flagging of Paraphrased Legitimate Features

What to watch: The model incorrectly flags legitimate features as fabricated because the output paraphrased the source documentation rather than quoting it verbatim. This creates noisy false positives that erode trust in the detection system. Guardrail: Instruct the model to match on semantic equivalence, not exact string match. Provide few-shot examples distinguishing paraphrase from fabrication. Add a confidence threshold that routes borderline cases to human review.

03

Source-Document Boundary Drift

What to watch: The model treats its own pretraining knowledge as source evidence, flagging features as 'attested' because they exist in the model's general knowledge rather than in the provided source documentation. This defeats the purpose of source-grounded detection. Guardrail: Add an explicit constraint that only the provided source documents count as evidence. Include a self-check instruction: 'If you cannot find a direct attestation in the provided sources, mark it as unverified regardless of your own knowledge.'

04

Confidence Score Inflation

What to watch: The model assigns high confidence scores to fabricated features when the output text sounds authoritative or uses technical language that mimics the source style. Confident-sounding hallucinations are the most dangerous because they bypass automated thresholds. Guardrail: Require the model to cite the specific source passage for every high-confidence attestation. If no passage can be cited, cap the confidence score at medium. Add a secondary verification prompt for all high-confidence flags.

05

Multi-Feature Aggregation Blindness

What to watch: The model correctly identifies individual fabricated features but misses that two legitimate features were combined into a single hallucinated capability. For example, 'offline mode' and 'auto-save' are both real, but 'offline auto-save' may not exist. Guardrail: Add a composite-feature check step. After individual feature verification, re-scan the output for combined capabilities and verify each combination independently against the source documentation.

06

Version and SKU Confusion

What to watch: The model flags a feature as fabricated because it checked against the wrong product version, tier, or SKU documentation. A feature that exists in Enterprise but not in Starter is incorrectly flagged when evaluated against Starter docs. Guardrail: Include explicit version and SKU context in the prompt input. Require the model to note which documentation version was checked. For multi-tier products, verify features against the correct tier's source set before flagging.

IMPLEMENTATION TABLE

Evaluation Rubric

Use this rubric to test the Fabricated Product Feature Detection Prompt before shipping. Each criterion targets a known failure mode in feature hallucination detection. Run these checks against a golden dataset of source documents and model outputs with known fabricated features.

CriterionPass StandardFailure SignalTest Method

Recall of Fabricated Features

= 95% of known fabricated features are flagged with confidence >= 0.7

Fabricated features in the golden set are missed or assigned low confidence scores

Run against 50+ outputs with known fabricated features; measure detection rate at each confidence threshold

Precision on Legitimate Features

<= 5% of source-attested features are incorrectly flagged as fabricated

Legitimate features appear in the fabricated list with high confidence scores

Run against 50+ outputs with zero fabricated features; count false positives in the flagged list

Confidence Score Calibration

Mean confidence for true positives >= 0.8; mean confidence for false positives <= 0.4

High-confidence flags on legitimate features or low-confidence flags on obvious fabrications

Bin predictions by confidence decile; plot precision per bin; check for monotonic decrease

Source Evidence Traceability

Every flagged feature includes a source grounding status and a specific reason code

Flagged features missing reason codes or returning generic justifications like seems wrong

Parse output for required fields: [FEATURE], [CONFIDENCE], [GROUNDING_STATUS], [REASON_CODE]; assert all present

Edge Case: Partial Matches

Features with partial source support are labeled grounded with caveat or partially-grounded, not fabricated

Partially supported features are incorrectly flagged as fabricated or fully grounded without caveat

Include 10 partial-match cases in golden set; verify label distribution matches expected partial-grounding behavior

Edge Case: Implicit Features

Features implied but not explicitly stated in source docs are flagged for human review, not auto-removed

Implied features are either auto-removed or marked as fully grounded without review recommendation

Include 5 implicit-feature cases; check that output contains [REQUIRES_HUMAN_REVIEW: true] for each

Output Schema Compliance

Output matches expected JSON schema with all required fields present and correctly typed

Missing fields, wrong types, or extra hallucinated fields in the detection output itself

Validate output against JSON Schema; reject if [FEATURES] array is missing, [CONFIDENCE] is not float 0-1, or unknown keys appear

Latency and Token Budget

Detection completes within 2x the baseline prompt latency; output tokens <= 3x input feature count

Detection takes >5 seconds for typical product doc or produces verbose justifications exceeding budget

Measure end-to-end latency on 20-product batch; set alert if p95 latency exceeds threshold

ADAPTATION OPTIONS

Adapt This Prompt

How to adapt

Use the base prompt with a single source document and a simple feature list output. Remove confidence scoring and verification recommendations to keep the output lightweight. Accept markdown or bulleted lists instead of strict JSON.

code
Analyze the following product description and list any features that are NOT explicitly mentioned in the source documentation below.

Source: [SOURCE_TEXT]
Product Description: [MODEL_OUTPUT]

Return only features that appear fabricated.

Watch for

  • Missing source grounding: the model may flag features as fabricated when they are implied rather than absent
  • Overly broad instructions causing false positives on paraphrased features
  • No structured output, making downstream filtering harder
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.