Prompt Details
Model
(claude-5-sonnet)
Token size
336
Example input
[TASK_TYPE]: customer support triage
[MODEL_NAME]: a general-purpose LLM
[EVAL_CRITERIA]: clarity, structure, guardrails
[VARIANT_A]: You are a support triage agent. Categorize the ticket, then list the next action. Output only the category and action.
[VARIANT_B]: Please act as a helpful support specialist and review the customer issue below carefully, providing a thorough response that may include an escalation path if the issue is about refunds.
Example output
Scenario: A/B test of two customer-support triage prompts, evaluated on clarity, structure, and guardrails.
1. TEST HARNESS — A single support ticket: "My card was charged twice for the same order and the refund link keeps erroring out. I need this fixed today." Run through both prompts.
2. SCORING —
- Clarity: Version A 4 — concise role, no fluff. Version B 3 — verbose role description, buries the ask.
- Structure: Version A 5 — explicit category-then-action output. Version B 4 — good but category list is vague.
- Guardrails: Version A 3 — no escalation rule. Version B 5 — explicit refund-request escalation path.
3. HEAD-TO-HEAD —
- Clarity: Version A wins, slight edge.
- Structure: Version A wins, clear win.
- Guardrails: Version B wins, clear win.
4. VERDICT — Version A wins on the decisive criterion (Structure) — it forces a fixed output skeleton so the model can't drift into free-form prose.
5. IMPROVEMENT — Losing B: add a numbered output skeleton and a one-line escalation rule. Winner A: add a "when to escalate to a human" clause to close its only gap.
Get this prompt + 9 more with Select$14 your first month, then $19/mo$14 first month, then $19/mo
View SelectBy purchasing this prompt, you agree to our terms of service
CLAUDE-5-SONNET
Runs a controlled A/B comparison of two prompt versions, scoring each on your criteria with a head-to-head verdict and a concrete improvement edit. For prompt engineers and AI product teams.
...more
Added over 1 month ago
