LLM-Based Dasher Support Automation with RAG and Quality Controls

doordash · E-commerce · 2024 · source Agentic: no · promotional bias: low · source-backed · extracted with prompt 0.5.6 (schema v2)

Generated from extraction.json — do not edit by hand. Every claim cites verbatim source evidence; stated means the quote directly asserts the claim, implied means it supports it indirectly.

Problem

Domain: Dasher support automation

DoorDash needed an LLM-based Dasher support system that could answer routine delivery-support issues from KB articles while controlling hallucinations, compliance risk, language limitations, and monitoring gaps.

Constraints:

Architecture

DoorDash replaced pure flow-based automation with a RAG chatbot managed by LLM Guardrail and LLM Judge. The system summarizes multi-turn Dasher conversations, retrieves similar historical cases and their KB articles, inserts relevant article content into prompt templates, and generates a contextual support answer. A first guardrail tier compares response text to KB segments; failures go to an LLM evaluator for groundedness, coherence, and compliance. LLM Judge and human transcript review turn recurring issues into prompts, rules, and monitoring checks.

Diagram confidence: explicit (topology described by the source).

flowchart LR
  dasher-conversation[Dasher conversation] --> conversation-summarizer[Conversation summarizer]
  conversation-summarizer --> historical-case-retrieval[Historical case retrieval]
  historical-case-retrieval --> kb-article-prompt[KB article prompt]
  kb-article-prompt --> support-llm[Support LLM]
  support-llm --> llm-guardrail[LLM Guardrail]
  llm-guardrail --> human-support-fallback[Human support fallback]
  llm-guardrail --> llm-judge-quality-monitor[LLM Judge quality monitor]
  llm-judge-quality-monitor --> human-calibration-review[Human calibration review]
Drag to pan · scroll or use +/− to zoom · reconstructed from the source's described component topology

Components

Component Role Interacts with
Dasher conversation Multi-message support interaction from a Dasher. Conversation summarizer
Conversation summarizer Identifies the core support issue from the multi-turn conversation. Historical case retrieval
Historical case retrieval Finds top-N similar historical cases tied to KB articles. KB article prompt
KB article prompt Prompt template enriched with retrieved KB article content and conversation context. Support LLM
Support LLM Generates the Dasher-facing support answer. LLM Guardrail
LLM Guardrail Online semantic and LLM-based response verifier. Human support fallback, LLM Judge quality monitor
LLM Judge quality monitor Offline issue monitor that turns judged answers into common issue categories and rules. Human calibration review
Human calibration review Random transcript sampling and expert feedback for monitor coverage. LLM Judge quality monitor
Human support fallback Live-agent path for complex scenarios or failed guardrail cases. LLM Guardrail

Data flow

A Dasher conversation is condensed into a core issue, matched against historical cases, and linked to relevant KB articles. The prompt template uses the conversation context, issue summary, and retrieved KB content to generate a response. The response then passes a two-layer guardrail; quality monitors and human review feed recurring issues back into prompts and rules.

“the system first condenses the entire conversation to pinpoint the core problem. Using this summary, it then searches historical data for the top N similar cases”article, stated
“This enriched template allows the chatbot to generate a tailored response, leveraging the context of the conversation, the distilled issue summary, and any relevant KB articles”article, stated

Why this architecture

The architecture keeps the answer grounded in DoorDash KB articles while adding layered controls for the known RAG failure modes. A shallow semantic check limits guardrail cost and latency, and a higher-cost LLM evaluator handles cases where the shallow check is not enough. Offline LLM Judge monitoring exists because operational metrics alone did not explain how to improve the bot.

“If a response closely matches an article, it's less likely to be a hallucination. If the shallow check flags a response, we construct a prompt”article, stated
“None of these perspectives, however, provide actionable feedback that would allow us to improve our chatbot system.”article, stated

Models used: GPT-4 · Claude-3 · LLM Guardrail · LLM Judge · RAG chatbot

Scale

Alternatives considered (roads not taken)

Keep the old flow-based automated support system.

Rejected because: Flow-based resolutions depended on pre-built paths and resolved only a small subset of issues quickly.

“This means that only a small subset of Dasher issues can be resolved quickly.”article, stated

Show RAG answers without online verification.

Rejected because: Ungrounded or irrelevant responses can sound legitimate and mislead users.

“Although these responses sound natural and legitimate, users may not realize that they are inaccurate.”article, stated

Use only high-level metrics such as Dasher feedback, engagement, and speed.

Rejected because: Those perspectives did not provide actionable feedback for improving the chatbot.

“We can evaluate the LLM's quality from multiple perspectives, including Dasher feedback, human engagement rate, and delivery speed.”article, stated
“None of these perspectives, however, provide actionable feedback that would allow us to improve our chatbot system.”article, stated

Patterns

rag-retrieval (retrieval)

The bot retrieves historical cases and KB articles from a distilled conversation issue before generating the response.

“Using this summary, it then searches historical data for the top N similar cases previously resolved with information from KB articles.”article, stated

guardrails-io-filtering (governance)

A two-layer guardrail checks response/article semantic similarity first and escalates failed cases to an LLM evaluator.

“Figure 3: Dasher support chat response output guardrail system with two layers of quality check: A semantic similarity comparison and a backup LLM-powered evaluator”article, stated

llm-as-judge (evaluation)

DoorDash uses LLM Judge to ask open-ended quality questions, summarize issues, and create monitoring prompts or rules.

“Answers to these questions are processed and summarized into common issues. The high-frequency issues are then built into prompts or rules for further monitoring.”article, stated

human-in-the-loop-gate (governance)

Human agents remain the fallback for complex support, and a dedicated human review team samples transcripts for calibration.

“A continuous calibration between this human review and the automated system ensures effective coverage.”article, stated

Tradeoffs

Guardrail routing

Chose Cheap semantic similarity first, backup LLM evaluator second. over LLM-based deep evaluation for every response..

Rationale: The shallow check reduces hallucination risk cheaply while limiting expensive LLM evaluation to flagged responses.

“The first quality check layer is a semantic similarity comparison between the response and KB article segments. If this initial check fails, an LLM-powered second layer”article, stated

Fallback path

Chose Default some problematic cases to human agents. over Keeping every case fully automated..

Rationale: The problematic-response volume was small enough that human fallback preserved quality while keeping high automation.

“Given the relatively small number of problematic responses, strategically defaulting to human agents can be an effective way to ensure a quality user experience”article, stated

Quality improvement workflow

Chose Manual transcript review plus LLM Judge categories. over Relying only on Dasher feedback, engagement, and delivery speed..

Rationale: Manual review exposed actionable quality categories that could become prompts, monitors, or rules.

“So we manually reviewed thousands of chat transcripts between the LLM and Dashers to develop an iteration pipeline for monitoring LLM quality.”article, stated

Gotchas (what bit them)

Knowledge-base content was present but hard to use directly.

Root cause: Dashers and systems had to find the right article, locate useful details, and overcome English-only articles.

Resolution: DoorDash used RAG to retrieve KB content and generate an issue-specific response.

“It can be difficult to find the relevant article; 2. It takes time to find useful information within any particular article; 3. The articles are all in English”article, stated

LLM responses could propagate outdated or incorrect public information.

Root cause: Foundation models draw from public text such as Quora, Reddit, and Twitter.

Resolution: The RAG system grounds responses in KB articles and applies guardrails before delivery.

“Because LLMs typically draw from publicly available text, including discussions on platforms such as Quora, Reddit, and Twitter, there is a heightened risk”article, stated

Quality monitoring needed human calibration.

Root cause: Automated monitors alone may not ensure coverage of real support-quality failure modes.

Resolution: A dedicated human team reviews random transcript samples and calibrates with automated monitoring.

“Beyond the automated evaluation system, we also have a dedicated human team that reviews random subset transcript samples.”article, stated

Evaluation

DoorDash combines guardrail pass/fail decisions, LLM Judge categories, human transcript sampling, and outcome metrics such as hallucination and compliance reductions.

Metrics: 90% reduction in hallucinations · 99% reduction in severe compliance issues · Thousands of reviewed chat transcripts · Thousands of Dashers assisted per day · Five quality areas monitored

“This guardrail system has successfully reduced overall hallucinations by 90% and cut down potentially severe compliance issues by 99%.”article, stated
“Our review allowed us to categorize LLM chatbot quality aspects into five areas: * Retrieval correctness * Response accuracy * Grammar and language accuracy”article, stated

Outcomes

The article reports thousands of daily Dasher assists, thousands of reviewed transcripts, 90% hallucination reduction, and 99% reduction in severe compliance issues.

“Our quality monitoring and iterative improvement pipeline have transformed an initial prototype into a robust chatbot solution”article, stated
“This collaborative system allows human support representatives to focus their energy on solving more complex problems for Dashers.”article, stated