Generative AI Contact Center Solution with Amazon Bedrock and Claude

doordash · E-commerce · 2024 · source Agentic: yes · promotional bias: med · 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: contact-center self-service support

DoorDash wanted to enhance an existing voice AI assistant for Dasher phone support with generative AI responses that were fast enough for voice interactions, accurate enough for self-service, safe against hallucination and abuse, and testable at production A/B scale.

Constraints:

Architecture

DoorDash worked with the AWS Generative AI Innovation Center to build an Amazon Bedrock-based contact-center assistant using Anthropic Claude, Knowledge Bases for Amazon Bedrock, public help-center content, and a SageMaker-based test and evaluation framework. The system enriches prompts with retrieved DoorDash help-center knowledge, uses Claude 3 Haiku for low-latency voice responses, keeps PII out of the generative AI solution, and evaluates responses against ground-truth data at scale before production A/B testing.

Diagram confidence: reconstructed (reconstructed from prose).

flowchart LR
  dasher_phone_support_user["Dasher phone-support user"] --> voice_ai_assistant["Voice AI assistant"]
  public_help_center_content["Public help-center content"] --> knowledge_bases_for_amazon_bedrock["Knowledge Bases for Amazon Bedrock"]
  knowledge_bases_for_amazon_bedrock --> amazon_bedrock["Amazon Bedrock"]
  voice_ai_assistant --> amazon_bedrock
  amazon_bedrock --> anthropic_claude_3_haiku["Anthropic Claude 3 Haiku"]
  anthropic_claude_3_haiku --> voice_ai_assistant
  voice_ai_assistant --> dasher_phone_support_user
  sageMaker_evaluation_framework["SageMaker evaluation framework"] --> ground_truth_response_data["Ground-truth response data"]
  sageMaker_evaluation_framework --> voice_ai_assistant
  live_contact_center_agents["Live contact-center agents"] --> dasher_phone_support_user
Drag to pan · scroll or use +/− to zoom · reconstructed from the source's described component topology

Components

Component Role Interacts with
Dasher phone-support user Support caller receiving self-service answers from DoorDash's voice AI assistant. Voice AI assistant
Voice AI assistant DoorDash's existing phone-support assistant enhanced with generated responses. Amazon Bedrock, Dasher phone-support user
Public help-center content DoorDash support knowledge used as the source corpus for retrieval-augmented generation. Knowledge Bases for Amazon Bedrock
Knowledge Bases for Amazon Bedrock Managed RAG capability that handles ingestion, retrieval, and prompt augmentation over help-center content. Amazon Bedrock
Amazon Bedrock Managed model access and security layer used to call Anthropic Claude for support responses. Anthropic Claude 3 Haiku
Anthropic Claude 3 Haiku Low-latency Claude model used to meet the contact-center voice application's accuracy and speed requirements. Voice AI assistant
SageMaker evaluation framework Automated testing and semantic evaluation system for A/B testing and ground-truth response checks. Ground-truth response data, Voice AI assistant
Ground-truth response data Reference data used for semantic response evaluation in the test framework. SageMaker evaluation framework
Live contact-center agents Human support agents freed to focus on higher-complexity issues after routine questions are handled by generative AI. Dasher phone-support user

Data flow

DoorDash indexes publicly available help-center content with Knowledge Bases for Amazon Bedrock. The voice AI assistant uses RAG to fetch relevant help content and enrich the prompt sent to Anthropic Claude in Amazon Bedrock. Claude generates a response for the Dasher support interaction, while a SageMaker test-and-evaluation framework runs automated test cases, draws insights from A/B testing, and semantically evaluates generated responses against ground-truth data.

3 supporting quotes
“DoorDash added data from its publicly available help center to use retrieval-augmented generation (RAG)”article, stated
“a technique that fetches data from company sources and enriches the prompt to provide more relevant and accurate responses for Dashers.”article, stated
“DoorDash built a test and evaluation framework that quickly drew insights from A/B testing and evaluated key success metrics at scale.”article, stated

Why this architecture

DoorDash chose Bedrock and Claude because the contact-center use case needed fast, safe, and privacy-aware model access. Knowledge Bases for Bedrock supplied managed RAG over help-center content, Claude 3 Haiku met the speed and accuracy requirements for a voice application, and SageMaker let the team evaluate responses at a scale that manual agent testing could not support.

3 supporting quotes
“Claude was instrumental to the project because it has the capability to mitigate hallucinations, prompt injection events, and detect abusive language.”article, stated
“With the release of Claude 3 Haiku, DoorDash achieved the accuracy and speed it needed for its voice application”article, stated
“Knowledge Bases for Amazon Bedrock took care of the backend work for DoorDash.”article, stated

Models used: Anthropic Claude models · Claude 3 Haiku

Scale

Alternatives considered (roads not taken)

Manual contact-center agent testing

Rejected because: Manual tests required pulling agents off help queues and produced only a small number of test cases per hour.

“the team had to pull contact center agents off help queues to complete a small number of manual test cases per hour.”article, stated

Build custom RAG ingestion and prompt-augmentation integrations

Rejected because: Knowledge Bases for Amazon Bedrock handled ingestion, retrieval, prompt augmentation, and backend data-flow management.

“implement the entire RAG workflow from ingestion to retrieval and prompt augmentation without having to build custom integrations to data sources and manage data flows.”article, stated

Expose personally identifiable information to the generative AI solution

Rejected because: DoorDash explicitly withheld PII from these generative AI solutions while using Bedrock security and encryption.

“DoorDash does not provide any personally identifiable information to be accessed via these generative AI solutions.”article, stated
“Amazon Bedrock enables data security through encryption”article, stated

Route routine Dasher questions to live agents by default

Rejected because: Automating common inquiries improved self-service and freed live agents for more complex troubleshooting.

“By automatically handling common Dasher inquiries, DoorDash has improved self-service workflows and increased issue resolution speeds”article, stated
“freed up DoorDash’s live agents to solve higher-complexity issues that benefit from human troubleshooting.”article, stated

Patterns

rag-retrieval (support knowledge grounding)

DoorDash uses Knowledge Bases for Amazon Bedrock to retrieve public help-center content and enrich Claude prompts for Dasher support answers.

“DoorDash added data from its publicly available help center to use retrieval-augmented generation (RAG)”article, stated
“fetches data from company sources and enriches the prompt to provide more relevant and accurate responses for Dashers.”article, stated

eval-driven-development (contact-center testing)

DoorDash built an automated SageMaker evaluation framework to support A/B testing, evaluate key success metrics, and semantically compare responses with ground truth.

“DoorDash built a test and evaluation framework that quickly drew insights from A/B testing and evaluated key success metrics at scale.”article, stated
“semantically evaluates responses against ground-truth data.”article, stated

guardrails-io-filtering (response safety)

DoorDash chose Claude partly for its ability to mitigate hallucinations, prompt injection, and abusive language in the contact-center flow.

“Claude was instrumental to the project because it has the capability to mitigate hallucinations, prompt injection events, and detect abusive language.”article, stated

privacy-preserving-processing (customer data handling)

DoorDash kept PII out of the generative AI solution and used Bedrock's encryption and application-specific data handling boundaries.

“DoorDash does not provide any personally identifiable information to be accessed via these generative AI solutions.”article, stated
“ensures data from DoorDash or its customers are only used in the DoorDash application.”article, stated

Tradeoffs

Use Claude 3 Haiku for the voice assistant.

Chose Claude 3 Haiku through Amazon Bedrock over A slower or less safety-capable model choice.

Rationale: DoorDash needed both low response latency and mitigation of hallucination, prompt injection, and abusive language for phone support.

“With the release of Claude 3 Haiku, DoorDash achieved the accuracy and speed it needed for its voice application”article, stated
“mitigate hallucinations, prompt injection events, and detect abusive language.”article, stated

Use managed Bedrock Knowledge Bases for RAG.

Chose Knowledge Bases for Amazon Bedrock over Custom ingestion, retrieval, prompt augmentation, and data-flow integrations.

Rationale: The managed service handled the RAG backend work, letting DoorDash focus on solution behavior and production testing.

“implement the entire RAG workflow from ingestion to retrieval and prompt augmentation without having to build custom integrations to data sources and manage data flows.”article, stated
“Knowledge Bases for Amazon Bedrock took care of the backend work for DoorDash.”article, stated

Automate evaluation instead of depending on live support agents.

Chose A SageMaker automated test-and-evaluation framework over Manual test cases performed by contact-center agents.

Rationale: Automated testing increased capacity 50x and avoided pulling agents away from help queues.

“DoorDash built a test and evaluation framework that quickly drew insights from A/B testing and evaluated key success metrics at scale.”article, stated
“complete thousands of automated tests per hour—a 50x increase in capacity”article, stated

Use GenAI for routine self-service while preserving live agents for complex issues.

Chose Automated handling of common Dasher inquiries over Routing all routine questions to live agents.

Rationale: Routine automation improved self-service and issue resolution while allowing humans to handle higher-complexity troubleshooting.

“By automatically handling common Dasher inquiries, DoorDash has improved self-service workflows and increased issue resolution speeds”article, stated
“freed up DoorDash’s live agents to solve higher-complexity issues that benefit from human troubleshooting.”article, stated

Gotchas (what bit them)

Phone support leaves little room for slow model responses.

Root cause: Voice interactions require low latency while still producing accurate and safe generated responses.

Resolution: DoorDash used Claude 3 Haiku through Bedrock to reach the speed and accuracy needed for the voice application.

“AI-generated responses for phone support presented unique challenges that demanded innovative strategies to enhance response times and answer quality”article, stated
“achieving a response latency of 2.5 seconds or less.”article, stated

Support responses need deep domain knowledge, not only a base model.

Root cause: Self-service contact-center quality depends on access to a detailed and diverse knowledge base.

Resolution: DoorDash indexed public help-center content with Knowledge Bases for Amazon Bedrock and used RAG to enrich prompts.

“Access to a deep knowledge base was another important factor for the self-service solution.”article, stated
“The more in-depth and diverse the knowledge base, the more effective the solution.”article, stated

Manual testing could not keep up with production-quality evaluation needs.

Root cause: Manual contact-center tests required agents to leave support queues and yielded only a small number of cases per hour.

Resolution: DoorDash built a SageMaker test-and-evaluation framework that runs thousands of automated tests per hour and supports A/B insights.

“the team had to pull contact center agents off help queues to complete a small number of manual test cases per hour.”article, stated
“complete thousands of automated tests per hour—a 50x increase in capacity”article, stated

Contact-center GenAI needs explicit privacy boundaries.

Root cause: Support systems may involve customer data, but DoorDash did not want PII accessible through the generative AI solution.

Resolution: DoorDash withheld PII from the solution and relied on Bedrock encryption and application-specific data use controls.

“DoorDash does not provide any personally identifiable information to be accessed via these generative AI solutions.”article, stated
“ensures data from DoorDash or its customers are only used in the DoorDash application.”article, stated

Evaluation

DoorDash developed a SageMaker test-and-evaluation framework for production A/B testing, key success metrics, and semantic evaluation against ground-truth data. The source reports automation capacity and latency outcomes rather than a full metric table.

Metrics: response latency of 2.5 seconds or less · thousands of automated tests per hour · 50x testing capacity increase · key success metrics from A/B testing · semantic match against ground-truth data · generative AI application development time reduced by 50 percent

3 supporting quotes
“DoorDash achieved the accuracy and speed it needed for its voice application, achieving a response latency of 2.5 seconds or less.”article, stated
“DoorDash built a test and evaluation framework that quickly drew insights from A/B testing and evaluated key success metrics at scale.”article, stated
“complete thousands of automated tests per hour—a 50x increase in capacity—and semantically evaluates responses against ground-truth data.”article, stated

Outcomes

The case is a production contact-center application prepared for A/B testing after an 8-week joint build with AWS GenAIIC. The strongest reported scale number is the test framework's thousands of automated tests per hour and 50x capacity increase.

3 supporting quotes
“developed a reference architecture that was suitable for production A/B testing.”article, stated
“reduced generative AI application development time by 50 percent.”article, stated
“increased issue resolution speeds, which helps to accelerate delivery time and enhance Dasher productivity and satisfaction.”article, stated