SwiggyAishwary YadavExplainer
DE Dost: Teaching Machines to Be a Friend on the Last Mile
Summary
DE Dost is a GenAI onboarding companion embedded in Swiggy’s delivery-executive app, designed for new DEs who receive information but lack confidence-building, immediate guidance. It supports questions in nine languages across SOPs, earnings, payouts, app navigation, shifts, and support, adapting detail and tone to conversational context. Before the first LLM call, a graph state assembles user context, preprocessing resolves references, and embedding-based semantic routing separates general knowledge-base questions from personal diagnostics. Retrieval uses authored QnA pairs plus hybrid semantic and lexical scoring to handle paraphrases and terms such as “MG” and “COD,” while guardrails constrain follow-ups to available knowledge. Evaluation spans about 800 cases per language across fleet and payout combinations, with macro accuracy trending at 90%+ and a target P50 latency of 4.5 seconds after reducing an initial 15-second pilot.
Context
New delivery executives receive onboarding information through training and the DE app, but the information does not consistently build confidence or provide immediate answers. The source characterizes the underlying need as scalable mentorship: experienced DEs help newcomers prioritize, interpret procedures, and solve personal issues, but that support cannot reach everyone.
Approach / What changed
DE Dost combines a conversational companion experience with a three-level personalization framework, graph-state context, query preprocessing, embedding-based routing, QnA-structured retrieval, and hybrid semantic-plus-lexical reranking. It adapts language and response detail, routes personal diagnostics to relevant data, and uses evaluation, feedback reviews, latency consolidation, and follow-up guardrails to improve quality and safety.
Takeaways
The system resolves conversational references during preprocessing, producing a normalized English query before retrieval; this prevents follow-ups such as “What if I miss it?” from being interpreted without their payout context.
Semantic routing uses sentence-embedding similarity against seeded general and personal utterances, avoiding an extra LLM classification call and allowing the routing model to be updated by changing and re-embedding seed examples.
The evaluation matrix covers about 200 questions across two fleet types and two payout types, producing roughly 800 test cases per language, with multilingual, adversarial, routing, and end-to-end response checks.
Source and freshness
- Source
- medium.com
- Published
- Added to Yomu
Summaries are generated from the original by a language model. Check the original before relying on it.
Keep reading
Related reading
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
The best engineering reads, once a week
One useful email. Unsubscribe anytime.