Zepto
Medium
Tell me about an AI product you built. How did you measure its quality?
This is a behavioural question where the real topic is quality. Not a tour of AI buzzwords. The interviewer wants proof that you defined "good" before you built, and measured it at more than one layer.
Step 1. Structure
- Problem: the user pain and the business number it hurt.
- Why AI: why rules or a simple model could not solve it.
- What you built: your decisions, not the team's architecture.
- Quality: how you defined good, offline and online.
- Result, and what you changed after launch.
Step 2. What a strong answer shows
- You wrote down what "good" means before any model work.
- You measured in layers: code checks, LLM or human grading, then user behaviour.
- You knew which failure costs most, and designed for it.
Step 3. Sample answer (adapt it to your own story)
Problem: I was a PM on a quick commerce app. When a cart item went out of stock at the dark store, we showed a generic "similar items" carousel. Only 18% of users picked a substitute. The rest dropped the item or the cart (illustrative).
Why AI: substitutes need judgement. Amul Taaza can be replaced by another toned milk, not by flavoured milk. Our category-tag rules suggested chocolate milk for plain milk.
What I built: an LLM ranks substitutes from items in stock at that store, using product attributes and the user's past orders, and writes a one-line reason. The candidate list came from code, so the model could only pick in-stock items.
How I measured quality
1. Code checks: in stock, same veg or non-veg, price within ±25%, similar pack size. Any failure is a bug, not a judgement call.
2. Golden dataset: 400 out-of-stock cases where category managers marked the best substitute. We tracked top-3 hit rate.
3. LLM as judge for the reason text, checked against human grading on 100 cases a week. Where they disagreed, we fixed the judge first.
4. Online: substitute acceptance rate, cart completion, and complaints on substituted items.
Result: top-3 hit rate went from 52% to 81% offline. In the A/B test, acceptance went from 18% to 34%, and complaints on substituted items stayed flat (illustrative).
What I'd change: track acceptance by category from day one. Fruits and vegetables lagged, because users want the exact item there.
Step 4. Mistakes to avoid
- "Accuracy was 90%." Accuracy of what, against whose labels?
- Only offline numbers, with no user behaviour.
- Taking credit for the model. Your job was the definition of good.
Interview tip: name the failure you feared most and the check that caught it. That one line shows you have shipped AI, not just read about it.
Community Answers (0)
No answers yet. Be the first to share your approach!