At a glance
Failure: drafts quoted a 60-day return window for sofas. Cause: ranking plus blended policies. Change: policy split by category, retrieval filtered, one-line quoting. Effect: recall 0.70 → 0.90; common cases 81% → 94%.
Reply Assist: AI drafts for e-commerce support
At a glance
- Role: Product lead, AI features; team of 2 engineers and 1 designer
- Problem: small store support teams spend most of their day on order, return and refund replies
- What I did: prototype in 4 days, eval suite from error analysis, model and pricing decisions, pilot with 10 workspaces
- Result: handle time on these tickets down 28% at the design partner; 56% of drafts sent with light edits; must-pass eval categories at 100%
- Status: in pilot
The problem. At our design partner, 45% of 3,000 monthly tickets were order status, returns and refunds, averaging 6 minutes each [observed]. Agents copied order details into macros by hand [observed in screen recordings]. Leads named holiday hiring as their hardest problem [reported, 14 of 20 interviews].
What we built. Inside the ticket, a side panel drafts the reply from the store's policies, macros, and the order named in the ticket, and shows its sources. An escalation check runs first and routes chargebacks and legal threats to a senior agent. (Diagram: ticket → intent + escalation check → order lookup + retrieval → draft → agent edits and sends.) We chose a side panel over writing into the reply box so nothing could be sent by accident, and so we could measure edits.
How we measured quality. We read 60 pilot traces and grouped the first failure in each: blended policies (9), too long (7), wrong order (6), outdated articles (5), missed escalation (4), ignored macro (3). Each became checks in a 120-case suite, run 3 times per case. The faithfulness judge was validated against 44 held-out labels from the support lead: TPR 0.95, TNR 0.91.
Decisions and trade-offs
- Medium model for classification, not small. The small model was 4 points less accurate and its misses fell on chargeback tickets. Cost of the choice: about $1.20 per 1,000 tickets.
- Route multi-order threads to a larger model. 8% of volume; quality on that category rose from 64% to 86%; adds about $0.002 per draft. Would revisit if multi-order threads grew past 15%.
- Drafts stay suggestions. Errors in a draft look like correct text, so a confirm button would invite approval without reading. We will raise autonomy for order status only if reopen rates match human replies.
Before and after
- Failure: drafts quoted a 60-day return window for sofas. The return policy had one article covering furniture (30 days) and decor (60 days), and the model blended them.
- Cause: two parts: ranking (the decor section ranked below near-identical furniture chunks) and reasoning (blending two retrieved policies).
- Change: split the policy by product category, filtered retrieval by the order's category, told the model to quote the single policy line that applies, and tightened the judge's definition of "supported".
- Measured effect: retrieval recall@5 0.70 → 0.90; common-case pass rate 81% → 94%; "wrong return window" flags in the pilot went from 19 in week one to 3 in week two.
| Category | Bar | Before | After |
|---|---|---|---|
| Common | 90% | 81% | 94% |
| Edge | 75% | 60% | 78% |
| Should escalate | 100% | 80% | 100% |
| Should refuse | 100% | 100% | 100% |
Guardrails. Drafts are suggestions. Escalation runs before drafting. Order lookup is read-only and matched to the ticket's customer. Over-reliance is watched per agent (unedited sends under 15 seconds alongside rising reopens).
What's next. The 8-week pilot tests whether edit size falls as each workspace's edits become examples. If it does not in at least 6 of 10 workspaces, we drop that claim and compete on price and integration.
Notes on this example
- "Wrong return window flags 19 → 3" is the kind of number to include only if it was actually measured; if it was not, leave a placeholder:
[week-two flag count]. - The diagram is described in words here; in a real portfolio, use an image.