This prompt is designed for AI engineers and product teams building conversational agents who need a programmatic, repeatable way to decide whether to ask a clarifying question or proceed with an assumption. The core job-to-be-done is to minimize user friction and context waste by making this trade-off explicit. The ideal user is a developer wiring this prompt into an agent's dialogue management loop, where the output of this prompt directly controls the next system action: ask_clarification or proceed_with_assumption. It is not a general-purpose chatbot improvement tip; it is a decision component for a production system.
Prompt
Clarification Cost-Benefit Decision Prompt

When to Use This Prompt
Define the job, ideal user, and constraints for the Clarification Cost-Benefit Decision Prompt.
Use this prompt when the cost of a wrong assumption is measurable—such as executing an incorrect tool call, routing a ticket to the wrong queue, or providing a factually wrong answer from a knowledge base. It is most effective when you can define concrete thresholds for confidence_score and cost_of_clarification (e.g., in tokens, latency, or user satisfaction points). The prompt requires you to supply the current user utterance, the top candidate interpretation, its confidence score, and a structured definition of the cost of asking versus the cost of being wrong. Do not use this prompt for trivial disambiguations where the cost of being wrong is near zero, or in open-ended chitchat where user intent is inherently exploratory.
Before integrating this prompt, ensure your upstream intent classifier or NLU system can produce a calibrated confidence score. If your system cannot distinguish between 0.85 and 0.95 confidence, this prompt will add latency without improving decisions. The next step is to wire the structured output into your dialogue manager's branching logic, and to log every decision for offline evaluation of your clarification rate and false-positive assumption rate. Avoid using this prompt as a replacement for improving your intent classifier's accuracy; it is a safety net for ambiguous cases, not a fix for a broken upstream model.
Use Case Fit
Where the Clarification Cost-Benefit Decision Prompt works, where it fails, and the operational prerequisites for production use.
Good Fit: High-Cost Actions
Use when: the assistant is about to take a destructive, expensive, or irreversible action (e.g., sending a payment, deleting a resource, publishing a post). Guardrail: Set a high confidence threshold (>= 0.95) before proceeding without clarification. The cost of a wrong action justifies the friction of a confirmation.
Bad Fit: Real-Time, Low-Latency Interfaces
Avoid when: the user is in a voice or real-time chat flow where a clarification round-trip breaks the interaction rhythm. Guardrail: Fall back to a lightweight inline assumption disclosure instead of a full blocking clarification. Log the assumption for offline evaluation.
Required Input: Structured Ambiguity Report
What to watch: The prompt cannot make a cost-benefit decision without a quantified ambiguity signal. A raw user utterance is insufficient. Guardrail: Always pair this prompt with an upstream ambiguity detector that outputs a confidence score and a list of candidate interpretations. The decision prompt only weighs the cost of resolving them.
Operational Risk: Clarification Loop Spiral
What to watch: A poorly calibrated system can enter a loop where every clarification response is itself ambiguous, triggering another clarification. Guardrail: Implement a hard limit of one clarification per turn. If ambiguity persists, force a fallback action and log the session for human review.
Operational Risk: User Friction Accumulation
What to watch: Even well-justified clarifications degrade user experience if they happen too frequently across a session. Guardrail: Track a session-level clarification count. If it exceeds a threshold (e.g., 3), switch to a 'proceed with best assumption and disclose' strategy to preserve usability.
Bad Fit: Exploratory Browsing
Avoid when: the user is browsing options, comparing items, or exploring a knowledge base where the cost of a wrong step is near zero. Guardrail: Suppress the decision prompt entirely. Let the application layer handle disambiguation through UI affordances (e.g., 'Did you mean X or Y?') rather than consuming LLM context budget on a formal decision.
Copy-Ready Prompt Template
A reusable prompt template for deciding whether to ask a clarifying question or proceed with a documented assumption.
The prompt template below is designed to be copied directly into your prompt library or orchestration layer. It forces a structured cost-benefit decision before consuming a turn on clarification. Every placeholder is enclosed in square brackets. Replace them with your application's concrete values before sending the prompt to a model. The template separates the decision logic from the output format so you can swap the schema without rewriting the reasoning instructions.
textYou are a clarification cost-benefit analyzer for a production AI assistant. Your job is to decide whether to ask the user a clarifying question or to proceed with a documented assumption. ## INPUT User message: [USER_MESSAGE] Conversation history (last N turns): [CONVERSATION_HISTORY] Current task context: [TASK_CONTEXT] Available clarification budget remaining: [CLARIFICATION_BUDGET] ## DECISION RULES 1. Identify every ambiguity, missing slot, or conflicting intent in the user message. 2. For each ambiguity, estimate: - The probability that your best-guess assumption is correct (0.0-1.0). - The cost of being wrong if you proceed without clarifying (CRITICAL, HIGH, MEDIUM, LOW). 3. A clarification question is warranted only when: - Assumption confidence is below [CONFIDENCE_THRESHOLD] AND the cost of being wrong is HIGH or CRITICAL. - OR the clarification budget has at least 1 remaining turn AND the question can be answered with a short constrained response. 4. If multiple ambiguities exist, select the single highest-impact ambiguity to clarify. Do not ask more than one question. 5. If you decide to proceed, you MUST state your assumption explicitly in the output. ## CONSTRAINTS - Never ask open-ended clarification questions. Every question must include constrained options or a specific data type request. - Never exceed the remaining clarification budget. - If the user has already answered this question in the conversation history, do not ask again. - If the cost of being wrong is LOW, prefer proceeding with an assumption. ## OUTPUT SCHEMA Return a JSON object with exactly these fields: { "decision": "CLARIFY" | "PROCEED", "reasoning": "One-sentence explanation of the decision.", "assumption_if_proceeding": "The assumption you will use if proceeding, otherwise null.", "clarification_question_if_clarifying": "The single constrained clarification question, otherwise null.", "ambiguity_details": [ { "ambiguity": "Description of the ambiguous element.", "best_guess": "Your best-guess interpretation.", "confidence": 0.0-1.0, "wrong_cost": "CRITICAL" | "HIGH" | "MEDIUM" | "LOW" } ] }
To adapt this template, replace the placeholders with your application's runtime values. [CONFIDENCE_THRESHOLD] should be tuned per use case—start at 0.8 for high-stakes domains like healthcare or finance, and 0.6 for exploratory or low-risk workflows. [CLARIFICATION_BUDGET] should be decremented by your application layer after each CLARIFY decision. The [TASK_CONTEXT] field should carry structured slot state, not raw conversation text, so the model can check for already-collected values without re-scanning history. If your application cannot provide structured slot state, add a [COLLECTED_SLOTS] placeholder and populate it with a JSON map of known values.
Before deploying, validate that the model reliably returns parseable JSON matching the output schema. Run at least 50 labeled examples through the prompt and measure false-positive clarification rate (CLARIFY decisions where PROCEED was correct) and false-negative rate (PROCEED decisions where CLARIFY was correct). If the model over-clarifies, raise [CONFIDENCE_THRESHOLD] or adjust the cost-of-being-wrong criteria. If it under-clarifies, lower the threshold or add domain-specific examples of costly wrong assumptions to the [TASK_CONTEXT] field. Never ship this prompt without a JSON schema validator in your harness that rejects malformed outputs and triggers a retry or fallback.
Prompt Variables
Inputs required by the Clarification Cost-Benefit Decision Prompt. Each variable must be populated before the prompt is assembled and sent to the model. Validation notes describe how to check the variable at runtime to prevent prompt assembly failures.
| Placeholder | Purpose | Example | Validation Notes |
|---|---|---|---|
[CURRENT_USER_TURN] | The latest user message or request that may be ambiguous | Can you update the account settings for the enterprise plan? | Check string length > 0; reject empty or whitespace-only input before prompt assembly |
[CONVERSATION_HISTORY] | Last N turns of dialogue for context on prior clarifications and user preferences | User: I need to change my billing. Assistant: Sure, which invoice? User: The last one. | Validate array length <= context budget limit; each turn must have role and content fields |
[ASSISTANT_CAPABILITIES] | List of actions the assistant can take, used to determine if proceeding under an assumption is safe | ["update_billing_cycle", "change_seat_count", "cancel_subscription"] | Must be a non-empty array of strings; each capability must match a registered tool or action name |
[CLARIFICATION_COST_THRESHOLD] | Maximum number of back-and-forth turns allowed before the system must proceed with an assumption | 2 | Parse as integer; must be >= 1 and <= 5; reject if null or non-numeric |
[CONFIDENCE_FLOOR] | Minimum confidence score below which the system must clarify rather than assume | 0.75 | Parse as float; must be between 0.0 and 1.0; reject if out of range or non-numeric |
[RISK_LEVEL_TOLERANCE] | Maximum acceptable risk level for proceeding under an assumption (low, medium, high) | medium | Must be one of enum: ["low", "medium", "high"]; reject if not in allowed set |
[OUTPUT_SCHEMA] | Expected JSON structure for the decision output, including fields for decision, confidence, assumption, and disclosure | {"decision": "clarify", "confidence": 0.62, "assumption": null, "disclosure": "..."} | Validate as valid JSON; check required fields present: decision, confidence, assumption, disclosure; decision must be enum: ["clarify", "proceed"] |
Implementation Harness Notes
How to wire the Clarification Cost-Benefit Decision Prompt into a production application with validation, retries, logging, and human review gates.
The Clarification Cost-Benefit Decision Prompt is designed to be invoked as a decision node within a larger conversational or agentic workflow, not as a standalone chatbot. It should sit between the system's initial interpretation of a user turn and the action dispatcher. The prompt receives a structured input containing the user's utterance, the current dialogue state, the system's top hypothesis, and any relevant tool or retrieval results. Its output is a machine-readable decision object that downstream code uses to either branch into a clarification sub-flow or proceed with the assumed action. This means the prompt's primary consumer is not the end user but your application logic.
Integration pattern: Wrap the prompt in an async function with a strict timeout (e.g., 2-3 seconds for fast models). The function should accept a typed input object matching the prompt's [INPUT] placeholder and return a parsed JSON decision. Implement a validation layer immediately after the model response using a schema validator like Pydantic or Zod. The validator must enforce the decision enum (clarify | proceed), the presence of rationale when clarifying, and the disclosure_text when proceeding. If validation fails, retry once with the validation error message appended to the prompt as [PREVIOUS_ERROR]. If the retry also fails, default to a safe fallback: clarify with a generic re-prompt. This prevents a parse failure from silently proceeding with an ungrounded assumption.
Model choice and tool use: This prompt benefits from models with strong instruction-following and structured output capabilities. For production, prefer a model that supports JSON mode or function calling natively, and supply the output schema as a tool definition rather than relying solely on the markdown schema in the prompt. Do not give this prompt access to external tools or retrieval during its decision step—it should reason only from the provided [CONTEXT] and [DIALOGUE_STATE] to avoid introducing new information that could bias the cost-benefit analysis. Logging is critical: log every decision with the full input, output, validation status, and the downstream action taken. This creates an audit trail for tuning the [CONFIDENCE_THRESHOLD] and [CONTEXT_BUDGET_REMAINING] parameters over time.
Human review and high-risk gating: For domains where an incorrect assumption carries significant cost (e.g., healthcare, finance, legal), add a human review gate when the model decides to proceed with an assumption but the confidence score falls in a 'yellow' band (e.g., 0.70–0.90). In this case, surface the disclosure_text and the assumed action to a review queue before execution. This turns the prompt from an autonomous decision-maker into a triage assistant that pre-fills the review form. Avoid wiring this prompt directly to a destructive or irreversible action without such a gate. The next step after implementing the harness is to run the eval suite from the Prompt QA pillar, specifically testing for false-positive clarification rates and user friction scoring as described in the topic's eval criteria.
Expected Output Contract
Defines the structured JSON output schema for the Clarification Cost-Benefit Decision Prompt. Use this contract to validate the model's response before routing to downstream logic.
| Field or Element | Type or Format | Required | Validation Rule |
|---|---|---|---|
decision | enum: | Must be exactly one of the two allowed string values. Reject any other output. | |
confidence | number (0.0 - 1.0) | Must be a float. If | |
assumption | string | null | Required if | |
disclosure_statement | string | Required if | |
clarification_question | string | null | Required if | |
cost_estimate | object | Must contain | |
rationale | string | A brief, internal explanation of the decision. Must reference the specific ambiguity and the cost-benefit trade-off. Not shown to the end user. | |
ambiguous_span | string | If provided, must be a substring from [USER_INPUT] that triggered the ambiguity. Used for logging and eval. |
Common Failure Modes
The Clarification Cost-Benefit Decision Prompt operates at the boundary between efficiency and accuracy. These are the most common production failure modes and how to prevent them before they erode user trust or waste context budget.
Over-Clarification on Low-Stakes Ambiguity
What to watch: The model asks for clarification on trivial ambiguities where any reasonable assumption would produce an acceptable result. This creates a 'needy assistant' experience that frustrates users and wastes turns. Guardrail: Set an explicit materiality threshold in the prompt. Instruct the model to proceed with a disclosed assumption when the cost of being wrong is low and the cost of asking exceeds the cost of correction. Log clarification rates by confidence band to detect threshold drift.
False Confidence on High-Risk Decisions
What to watch: The model proceeds with an assumption on a high-stakes decision where being wrong carries significant operational, financial, or safety consequences. The confidence score looks high but the model hasn't recognized the risk surface. Guardrail: Include a risk-tier mapping in the prompt that forces the model to classify the decision's impact before choosing to clarify. Require mandatory clarification for any decision mapped to high-risk categories regardless of confidence score. Add a human review gate for high-risk assumptions.
Assumption Disclosure That Users Ignore
What to watch: The model correctly discloses its assumptions, but the disclosure is buried in dense prose or uses passive language that users skip. The user proceeds without realizing the output rests on an unverified premise. Guardrail: Require a structured disclosure format with a dedicated visual separator, a one-line summary of the key assumption, and an explicit opt-out mechanism. Test disclosure visibility by measuring user correction rates when assumptions are wrong—low correction rates may indicate disclosure invisibility rather than assumption accuracy.
Clarification Loop Without Escape Hatch
What to watch: The model asks a clarification question, the user provides a partial or ambiguous answer, and the model asks another clarification question. This creates a multi-turn clarification spiral that burns context budget and annoys the user. Guardrail: Set a maximum clarification depth per topic. After two clarification attempts, force the model to proceed with the best available assumption and a stronger disclosure. Track clarification chains in session state and escalate to human review when the limit is reached.
Confidence Calibration Drift Across Sessions
What to watch: The model's confidence thresholds work well in testing but drift in production as user behavior, domain language, or model versions change. Clarification rates creep up or down, producing either excessive friction or risky silent assumptions. Guardrail: Monitor the ratio of clarifications to total turns, the ratio of user corrections to assumptions, and the distribution of confidence scores over time. Set operational thresholds that trigger prompt review when these metrics shift beyond acceptable ranges. Run periodic eval suites with known-ambiguity cases to detect calibration drift.
Context Budget Exhaustion from Clarification Turns
What to watch: Each clarification turn consumes context window space with the question, the user's answer, and the model's updated reasoning. In long sessions, clarification-heavy interactions crowd out essential instructions and evidence, degrading performance on the actual task. Guardrail: Assign a context budget weight to clarification turns in the prompt. Instruct the model to factor remaining context budget into its cost-benefit decision—when budget is low, bias toward proceeding with disclosed assumptions rather than consuming remaining space on clarification. Track context utilization per turn type in production traces.
Evaluation Rubric
Use this rubric to test the Clarification Cost-Benefit Decision Prompt before shipping. Each criterion targets a specific failure mode observed in production clarification loops.
| Criterion | Pass Standard | Failure Signal | Test Method |
|---|---|---|---|
Decision Structure Validity | Output contains exactly one of: CLARIFY, PROCEED, or ESCALATE. Confidence score is a float between 0.0 and 1.0. | Missing decision field, multiple decisions, or confidence score is a string or out of range. | Schema validation against [OUTPUT_SCHEMA] contract. Parse output and assert enum membership and float bounds. |
Clarification Necessity Threshold | CLARIFY is returned only when the cost of being wrong exceeds the cost of asking, as defined by [CLARIFICATION_COST_THRESHOLD]. | CLARIFY is returned for trivial ambiguities with low error cost, or PROCEED is returned for high-risk assumptions. | Run 20 labeled test cases with known cost ratios. Measure false-positive clarification rate and false-negative proceed rate. Both must be below 15%. |
Assumption Disclosure Quality | When PROCEED is returned, the output includes a non-empty [ASSUMPTION_STATEMENT] that names the specific ambiguity resolved and the assumption made. | Assumption statement is missing, generic (e.g., 'assuming best case'), or fails to name the specific ambiguous element. | Human review of 30 PROCEED outputs. 90% must contain a specific, accurate assumption statement. Automate with LLM-as-judge using a disclosure specificity rubric. |
Fallback Assumption Safety | When PROCEED is returned, the [FALLBACK_ASSUMPTION] is the least risky reasonable interpretation of the ambiguous input, not the most likely. | Fallback assumes user has high permissions, accepts liability, or waives rights without evidence. Assumption is optimistic rather than conservative. | Adversarial test set with 15 safety-sensitive ambiguities. All PROCEED decisions must use the safer fallback. Audit by security reviewer. |
Clarification Question Specificity | When CLARIFY is returned, the [CLARIFICATION_QUESTION] targets the exact ambiguity and offers constrained options, not an open-ended prompt. | Question is generic (e.g., 'Can you clarify?'), repeats the original ambiguity without narrowing, or offers no constrained options. | LLM-as-judge evaluation on 25 CLARIFY outputs. Question must score >= 4/5 on a specificity rubric measuring ambiguity targeting and option constraint. |
Context Budget Impact Awareness | Output includes a [CONTEXT_COST_ESTIMATE] field estimating the additional turns or tokens required if clarification is chosen. | Field is missing, null when clarification is clearly multi-turn, or estimate is unrealistically low (e.g., 1 token for a complex disambiguation). | Validate field presence and type. For 10 multi-turn clarification scenarios, estimate must be >= actual turns required in a simulated dialogue. |
Escalation Appropriateness | ESCALATE is returned only when the ambiguity involves policy violations, safety risks, or decisions outside the assistant's authority. | ESCALATE is returned for simple factual ambiguities, or PROCEED is returned for clear policy-boundary issues. | Run 15 policy-boundary test cases and 15 factual-ambiguity test cases. ESCALATE recall on policy cases >= 90%. ESCALATE false-positive on factual cases <= 5%. |
User Friction Score Calibration | Output includes a [USER_FRICTION_SCORE] between 0.0 and 1.0 that correlates with the expected user effort to resolve the clarification. | Score is always 0.0 or 1.0, uncorrelated with question complexity, or missing when CLARIFY is returned. | Correlation test: have 3 human raters score friction for 20 CLARIFY outputs. Model's friction score must correlate with human mean at r >= 0.7. |
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 prompt with a frontier model and minimal validation. Focus on getting the decision structure right before adding constraints. Replace [CONFIDENCE_THRESHOLD] with a fixed value like 0.7 and skip the eval harness initially.
Prompt modification
- Remove the [OUTPUT_SCHEMA] constraint and accept free-text JSON.
- Simplify [CONSTRAINTS] to a single sentence: "Prefer proceeding with assumptions when clarification would add more than one extra turn."
- Use a basic system message: "You are a clarification cost-benefit analyst. Decide whether to clarify or proceed."
Watch for
- Over-clarification on trivial ambiguities that users would tolerate.
- Missing disclosure language when the model proceeds with assumptions.
- Inconsistent JSON structure across runs without schema enforcement.

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