SlideShare a Scribd company logo
1 of 45
Download to read offline
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS re:INVENT
B u i l d i n g a V o i c e - E n a b l e d C u s t o m e r S e r v i c e C h a t b o t U s i n g
A m a z o n L e x a n d A m a z o n P o l l y
M C L 3 0 1
N o v e m b e r 2 8 , 2 0 1 7
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Gillian McCann
Liberty Mutual
Cloud architect
Applied Innovation and Workgrid
@othergill
Gill Armstrong
Liberty Mutual
Technologist
Applied Innovation
@virtualgill
Niranjan Hira
AWS
Solutions architect
Amazon Lex
We are …
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
HIGHLY PERSONALIZED
CUSTOMER SERVICE EXPERIENCES
AT SCALE
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Building blocks
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon Polly
Voice quality and pronunciation
1. Automatic, accurate text processing
2. Intelligible and easy to understand
3. Add semantic meaning to text
4. Customized pronunciation
Character voices
Articles and blogs
Training material
Chatbots (Amazon Lex)
Public announcements
Converts text
to life-like speech
52 voices 25 languages Low latency,
real time
Fully managed
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon Lex
Voice and text
“chatbots”
Powers
Alexa
Voice interactions
on mobile, web,
and devices
Text interaction
with Slack, Twilio SMS, and
Facebook Messenger
Enterprise
connectors
Improving human interactions…
• Contact, service, and support center interfaces (text + voice)
• Employee productivity and collaboration (minutes into seconds)
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Conversation flow
Utterances
Spoken or typed phrases that invoke
your intent
BookHotel
Intents
An intent performs an action in
response to natural language user
input
Slots
Slots are input data required to fulfill
the intent
Fulfillment
Fulfillment mechanism for your
intent
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Popular Bots
Employee support (help desk)
DevOps admin (deployment)
Customer service (contact center)
Executive assistant (business intelligence)
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
The fine print
• Bots rely on APIs
• Bots are not human—they struggle to adapt beyond their design
• Bots don’t get subtlety
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
We <3 bots
• Bots don’t sleep
• Bots are fast (I don’t like to wait)
• Bots don’t get frustrated with me
• Bots “like” getting to know me
• Bots don’t judge me for my requests and preferences
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Let’s go! I want one!
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
What do customers ask about?
How do they contact us?
What’s a script? Who writes it?
When?
What if it fails?
How can customers “exit” and talk to an agent?
Where will customer information come from?
Can this be updated?
What about the fulfillment API?
Will it scale?
How will we handle errors?
How will we know if we’re successful?
How will it improve?
Who will monitor this stuff?
What will we monitor?
Which languages do we need to support?
What about accents?
Who will record the audio?
Will the text-to-speech work?
How will we test?
What does the CI/CD pipeline look like?
Is it secure?
What about compliance?
Can we use the brand voice?
How can we integrate it into the experience?
What if you have an outage?
What if fulfillment takes too long?
This could be a PR nightmare!
Where to start?
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Start with “Why?”
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Why are we doing this?
• To offer a better customer experience
• To connect with customers where they are
• To save time and money
• To offer new products
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Why are we doing this?
• To offer a better customer experience
• To connect with customers where they are
• To save time and money
• To offer new products
… as measured
by … ?
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Why are we doing this?
• Restaurant overflow
• Customers calling the restaurant at peak times consume the host’s time with questions
like: “How long is the wait?” Could a chatbot answer the questions and direct overflow to
nearby locations?
• Measure automated interactions, calls reduced, and lift in other locations
• FAQ
• Half of the questions answered by our social media team on Facebook are in our FAQs.
Our queue times get beyond 5 minutes! Can we automate that?
• Measure automated interactions, contact throughput, queue depth, and queue time
• What about interactions beyond office hours?
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Why are we doing this?
• Self-service
• The number one question on the claims line is: “What’s the status of my claim?” We’re
spending hours just scheduling these reviews. Can we automate these (so we can spend
the time processing claims)?
• Measure automated interactions, calls reduced, reviews scheduled, claims throughput
• Office productivity
• Where does Sofia Martinez work, and what’s her number? Is there a cafeteria in this
building? Where is the “Inspiration” room?
• Who broke the build?
• Measure successful lookups, feedback on more things to do
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Focus
So wait—we’re not going to handle, “Tell me a joke”?
What about the weather? That’s trivial!
And traffic—we definitely need traffic!
How hard could it be to get stock quotes?!
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Focus
So wait—we’re not going to handle, “Tell me a joke”?
What about the weather? That’s trivial!
And traffic—we definitely need traffic!
How hard could it be to get stock quotes?!
Who’s asking for this?
Does it serve the
“why”?
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Interaction design
Transcripts and
analysis
Whiteboard
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Interaction design
Hi there! I am a chatbot and can help you do stuff (what?). How can I help you today?
> I want to come in for a well-baby visit.
# schedule well-baby visit appointment intent
# get child’s name? (or do we already know this?)
# (do we need the parent’s name?)
# lookups and schedule access here
Sure, Joe. I can help you with that. Does Thursday at 10 a.m. work?
# do we need to reserve that slot tentatively?
> Anything sooner?
We can also do Tuesday at 2 p.m. and 4 p.m. if one of those will be better. You can always
call the nurse’s hotline (hotline #) for something urgent.
> 4 p.m.—let’s do 4 p.m.
# reserve slot and return
Great! We have you scheduled to come in on …
# want a reminder?
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Interaction design
User Bot App Notes/alternatives
Make me a sandwich
No Raspberry emoji sudo?
Well-baby
visit
Select time
Schedule
appt and
reminder
Get member
info
Is it
urgent?
Call hotline
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Interaction design
User Bot App Notes/alternatives
Make me a sandwich
No Raspberry emoji sudo?
Well-baby
visit
Select time
Schedule
appt and
reminder
Get member
info
Is it
urgent?
Call hotline
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Operations & monitoring
• Will you know if it fails? Will you know if it works? Will you know if no one uses it?
• Who gets notified? How will this person react?
• How will it scale? Is it elastic? Is it secure?
• Test it; run a “game day”
• What if it messes up? What if someone posts a threat this way? What if the region
goes down?
• Do you have filters in place? How would you find out?
• Can you deploy a fix quickly?
• Have a procedure in place and rehearse it
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Operations & monitoring
• Will you know if it fails? Will you know if it works? Will you know if no one uses it?
• Who gets notified? How will this person react?
• How will it scale? Is it elastic? Is it secure?
• Test it; run a “game day”
• What if it messes up? What if someone posts a threat this way? What if the Region
goes down?
• Do you have filters in place? How would you find out?
• Can you deploy a fix quickly?
• Have a procedure in place and rehearse it
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Consider
• Amazon Lex makes it easy to build, deploy, and monitor a bot, but conversational
experiences do require thoughtful design
• At the end of the day, the user is expecting the bot to perform tasks for her with
minimal delay; the fulfillment architecture is critical to a competent bot
• Metrics are certainly essential for operations, but that feedback loop is also
necessary for continuous improvement and to demonstrate progress toward
business goals
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Liberty Mutual
Gillian McCann—Cloud Architect, Applied Innovation and Workgrid | @othergill
Gill Armstrong—Technologist, Applied Innovation | @virtualgill
O u r D i g i t a l A s s i s t a n t
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Chatbots for the Enterprise
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Our chat platform architecture
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Our chat platform architecture
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Our chat platform architecture
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Analytics
Examples of what we look at:
• number of users
• number of conversations
• length of conversations
• what functionality is being used
• where we are getting it right
• what people want us to add
• where we are getting it wrong
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Conversation as code
Fully validated and repeatable bot build and deploy to any AWS account
Everything written in CFN,
with JSON for API calls to
Amazon Lex Model Building
API as part of deploy
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Conversation as code
Fully validated and repeatable bot build and deploy to any AWS account
Everything written in CFN,
with JSON for API calls to
Amazon Lex Model Building
API as part of deploy
Code push triggers tests, and automatic build and
deploy across multiple environments
All tests, builds, deploys, and
alarms sent to Slack channels
to immediately alert
developers
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Conversation as code
Fully validated and repeatable bot build and deploy to any AWS account
Everything written in CFN,
with JSON for API calls to
Amazon Lex Model Building
API as part of deploy
Code push triggers tests, and automatic build and
deploy across multiple environments
All tests, builds, deploys, and
alarms sent to Slack channels
to immediately alert
developers
Analytics
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Conversation as code
Fully validated and repeatable bot build and deploy to any AWS account
Everything written in CFN,
with JSON for API calls to
Amazon Lex Model Building
API as part of deploy
Code push triggers tests, and automatic build and
deploy across multiple environments
All tests, builds, deploys, and
alarms sent to Slack channels
to immediately alert
developers
Fully tested new
functionality
available in minutes
Analytics
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
• Unit test
• Lambdas
• libraries
• Static analysis
• Cloud Formation
• code
• API calls JSON
Locally, pre-commit
hook and build
• Smoke test
• Component
test (bot)
Deploy
• Centralized
logging
• X-ray
• CloudWatch
metrics and
dashboards
• Alarms
Running
Testing, testing 1, 2, 3
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
• Unit test
• Lambdas
• libraries
• Static analysis
• Cloud Formation
• code
• API calls JSON
Locally, pre-commit
hook and build
• Smoke test
• Component
test (bot)
Deploy
• Centralized
logging
• X-ray
• CloudWatch
metrics and
dashboards
• Alarms
Running
Testing, testing 1, 2, 3
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
• Unit test
• Lambdas
• libraries
• Static analysis
• Cloud Formation
• code
• API calls JSON
Locally, pre-commit
hook and build
• Smoke test
• Component
test (bot)
Deploy
• Centralized
logging
• AWS X-ray
• Amazon
CloudWatch
metrics and
dashboards
• Alarms
Running
Testing, testing 1, 2, 3
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
BUILDING A SIMPLE CHATBOT
IS SIMPLE…
BUILDING A GOOD CHATBOT
IS REALLY, REALLY HARD
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Q&A
Gillian McCann—Cloud Architect, Applied Innovation and Workgrid | @othergill
Gill Armstrong—Technologist, Applied Innovation | @virtualgill
Niranjan Hira—AWS Solutions Architect, Amazon Lex
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Related sessions
MCL302 - Maximizing the Customer Experience with AI on AWS
MCL332 - Use Amazon Lex to build a Customer Service chatbot
MCL319 - Capturing Voice Input in a Browser and Sending it to Amazon Lex
MCL328 - Building Effective Interfaces with a hybrid AI architecture
MCL308 - Using a Digital Assistant in the Enterprise for Business Productivity
MCL301 - Building a Voice-Enabled Customer Service Chatbot Using Amazon Lex and Amazon Polly
MCL401 - What do users want? Using Semantics to Predict User Intents at Scale
MCL323 - Create dynamic conversation workflows with Amazon Lex and AWS Lambda
MCL403 - Building an intelligent multi-model user agent with voice, natural language understanding and facial animation
MCL312 - Building Multi-Channel Conversational Interfaces Using Amazon Lex
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Thank you!

More Related Content

What's hot

NEW LAUNCH! Amazon Rekognition Video eliminates manual cataloging of video wh...
NEW LAUNCH! Amazon Rekognition Video eliminates manual cataloging of video wh...NEW LAUNCH! Amazon Rekognition Video eliminates manual cataloging of video wh...
NEW LAUNCH! Amazon Rekognition Video eliminates manual cataloging of video wh...Amazon Web Services
 
RET305-Turbo Charge Your E-Commerce Site wAmazon Cache and Search Solutions.pdf
RET305-Turbo Charge Your E-Commerce Site wAmazon Cache and Search Solutions.pdfRET305-Turbo Charge Your E-Commerce Site wAmazon Cache and Search Solutions.pdf
RET305-Turbo Charge Your E-Commerce Site wAmazon Cache and Search Solutions.pdfAmazon Web Services
 
Become a Serverless Black Belt: Optimizing Your Serverless Applications - SRV...
Become a Serverless Black Belt: Optimizing Your Serverless Applications - SRV...Become a Serverless Black Belt: Optimizing Your Serverless Applications - SRV...
Become a Serverless Black Belt: Optimizing Your Serverless Applications - SRV...Amazon Web Services
 
Bringing Characters to Life with Amazon Polly Text-to-Speech - AWS Online Tec...
Bringing Characters to Life with Amazon Polly Text-to-Speech - AWS Online Tec...Bringing Characters to Life with Amazon Polly Text-to-Speech - AWS Online Tec...
Bringing Characters to Life with Amazon Polly Text-to-Speech - AWS Online Tec...Amazon Web Services
 
MCL206-Creating Next Generation Speech-Enabled Applications with Amazon Polly
MCL206-Creating Next Generation Speech-Enabled Applications with Amazon PollyMCL206-Creating Next Generation Speech-Enabled Applications with Amazon Polly
MCL206-Creating Next Generation Speech-Enabled Applications with Amazon PollyAmazon Web Services
 
NEW LAUNCH! Building Virtual Reality and Augmented Reality Applications with ...
NEW LAUNCH! Building Virtual Reality and Augmented Reality Applications with ...NEW LAUNCH! Building Virtual Reality and Augmented Reality Applications with ...
NEW LAUNCH! Building Virtual Reality and Augmented Reality Applications with ...Amazon Web Services
 
MCL302_Maximizing the Customer Experience with AI on AWS
MCL302_Maximizing the Customer Experience with AI on AWSMCL302_Maximizing the Customer Experience with AI on AWS
MCL302_Maximizing the Customer Experience with AI on AWSAmazon Web Services
 
NEW LAUNCH! Learn how Fubo is monetizing their content with server side ad in...
NEW LAUNCH! Learn how Fubo is monetizing their content with server side ad in...NEW LAUNCH! Learn how Fubo is monetizing their content with server side ad in...
NEW LAUNCH! Learn how Fubo is monetizing their content with server side ad in...Amazon Web Services
 
NEW LAUNCH! Driving Dynamically Animated Characters in VR/AR Applications Usi...
NEW LAUNCH! Driving Dynamically Animated Characters in VR/AR Applications Usi...NEW LAUNCH! Driving Dynamically Animated Characters in VR/AR Applications Usi...
NEW LAUNCH! Driving Dynamically Animated Characters in VR/AR Applications Usi...Amazon Web Services
 
DynamoDB adaptive capacity: smooth performance for chaotic workloads - DAT327...
DynamoDB adaptive capacity: smooth performance for chaotic workloads - DAT327...DynamoDB adaptive capacity: smooth performance for chaotic workloads - DAT327...
DynamoDB adaptive capacity: smooth performance for chaotic workloads - DAT327...Amazon Web Services
 
Alexa State of the Science - ALX321 - 2h amazonwebservices Deep Dive into Ama...
Alexa State of the Science - ALX321 - 2h amazonwebservices Deep Dive into Ama...Alexa State of the Science - ALX321 - 2h amazonwebservices Deep Dive into Ama...
Alexa State of the Science - ALX321 - 2h amazonwebservices Deep Dive into Ama...Amazon Web Services
 
GAM309-Breathe Life into a Mobile Game_NoNotes.pdf
GAM309-Breathe Life into a Mobile Game_NoNotes.pdfGAM309-Breathe Life into a Mobile Game_NoNotes.pdf
GAM309-Breathe Life into a Mobile Game_NoNotes.pdfAmazon Web Services
 
NEW LAUNCH! Hear how OwnZones is using AWS Elemental MediaConvert to help med...
NEW LAUNCH! Hear how OwnZones is using AWS Elemental MediaConvert to help med...NEW LAUNCH! Hear how OwnZones is using AWS Elemental MediaConvert to help med...
NEW LAUNCH! Hear how OwnZones is using AWS Elemental MediaConvert to help med...Amazon Web Services
 
MCL308_Using a Digital Assistant in the Enterprise for Business Productivity
MCL308_Using a Digital Assistant in the Enterprise for Business ProductivityMCL308_Using a Digital Assistant in the Enterprise for Business Productivity
MCL308_Using a Digital Assistant in the Enterprise for Business ProductivityAmazon Web Services
 
Bringing the Superpower of Bots to Your Company with a Serverless Bot Solutio...
Bringing the Superpower of Bots to Your Company with a Serverless Bot Solutio...Bringing the Superpower of Bots to Your Company with a Serverless Bot Solutio...
Bringing the Superpower of Bots to Your Company with a Serverless Bot Solutio...Amazon Web Services
 
LFS309-High-Throughput Genomics on AWS.pdf
LFS309-High-Throughput Genomics on AWS.pdfLFS309-High-Throughput Genomics on AWS.pdf
LFS309-High-Throughput Genomics on AWS.pdfAmazon Web Services
 
ALX401-Advanced Alexa Skill Building Conversation and Memory
ALX401-Advanced Alexa Skill Building Conversation and MemoryALX401-Advanced Alexa Skill Building Conversation and Memory
ALX401-Advanced Alexa Skill Building Conversation and MemoryAmazon Web Services
 
MCL331_Building a Virtual Assistant with Amazon Polly and Amazon Lex Pollexy
MCL331_Building a Virtual Assistant with Amazon Polly and Amazon Lex PollexyMCL331_Building a Virtual Assistant with Amazon Polly and Amazon Lex Pollexy
MCL331_Building a Virtual Assistant with Amazon Polly and Amazon Lex PollexyAmazon Web Services
 

What's hot (20)

NEW LAUNCH! Amazon Rekognition Video eliminates manual cataloging of video wh...
NEW LAUNCH! Amazon Rekognition Video eliminates manual cataloging of video wh...NEW LAUNCH! Amazon Rekognition Video eliminates manual cataloging of video wh...
NEW LAUNCH! Amazon Rekognition Video eliminates manual cataloging of video wh...
 
RET305-Turbo Charge Your E-Commerce Site wAmazon Cache and Search Solutions.pdf
RET305-Turbo Charge Your E-Commerce Site wAmazon Cache and Search Solutions.pdfRET305-Turbo Charge Your E-Commerce Site wAmazon Cache and Search Solutions.pdf
RET305-Turbo Charge Your E-Commerce Site wAmazon Cache and Search Solutions.pdf
 
Become a Serverless Black Belt: Optimizing Your Serverless Applications - SRV...
Become a Serverless Black Belt: Optimizing Your Serverless Applications - SRV...Become a Serverless Black Belt: Optimizing Your Serverless Applications - SRV...
Become a Serverless Black Belt: Optimizing Your Serverless Applications - SRV...
 
Bringing Characters to Life with Amazon Polly Text-to-Speech - AWS Online Tec...
Bringing Characters to Life with Amazon Polly Text-to-Speech - AWS Online Tec...Bringing Characters to Life with Amazon Polly Text-to-Speech - AWS Online Tec...
Bringing Characters to Life with Amazon Polly Text-to-Speech - AWS Online Tec...
 
MCL206-Creating Next Generation Speech-Enabled Applications with Amazon Polly
MCL206-Creating Next Generation Speech-Enabled Applications with Amazon PollyMCL206-Creating Next Generation Speech-Enabled Applications with Amazon Polly
MCL206-Creating Next Generation Speech-Enabled Applications with Amazon Polly
 
NEW LAUNCH! Building Virtual Reality and Augmented Reality Applications with ...
NEW LAUNCH! Building Virtual Reality and Augmented Reality Applications with ...NEW LAUNCH! Building Virtual Reality and Augmented Reality Applications with ...
NEW LAUNCH! Building Virtual Reality and Augmented Reality Applications with ...
 
MCL302_Maximizing the Customer Experience with AI on AWS
MCL302_Maximizing the Customer Experience with AI on AWSMCL302_Maximizing the Customer Experience with AI on AWS
MCL302_Maximizing the Customer Experience with AI on AWS
 
Women in Big Data
Women in Big DataWomen in Big Data
Women in Big Data
 
NEW LAUNCH! Learn how Fubo is monetizing their content with server side ad in...
NEW LAUNCH! Learn how Fubo is monetizing their content with server side ad in...NEW LAUNCH! Learn how Fubo is monetizing their content with server side ad in...
NEW LAUNCH! Learn how Fubo is monetizing their content with server side ad in...
 
NEW LAUNCH! Driving Dynamically Animated Characters in VR/AR Applications Usi...
NEW LAUNCH! Driving Dynamically Animated Characters in VR/AR Applications Usi...NEW LAUNCH! Driving Dynamically Animated Characters in VR/AR Applications Usi...
NEW LAUNCH! Driving Dynamically Animated Characters in VR/AR Applications Usi...
 
DynamoDB adaptive capacity: smooth performance for chaotic workloads - DAT327...
DynamoDB adaptive capacity: smooth performance for chaotic workloads - DAT327...DynamoDB adaptive capacity: smooth performance for chaotic workloads - DAT327...
DynamoDB adaptive capacity: smooth performance for chaotic workloads - DAT327...
 
Alexa State of the Science - ALX321 - 2h amazonwebservices Deep Dive into Ama...
Alexa State of the Science - ALX321 - 2h amazonwebservices Deep Dive into Ama...Alexa State of the Science - ALX321 - 2h amazonwebservices Deep Dive into Ama...
Alexa State of the Science - ALX321 - 2h amazonwebservices Deep Dive into Ama...
 
GAM309-Breathe Life into a Mobile Game_NoNotes.pdf
GAM309-Breathe Life into a Mobile Game_NoNotes.pdfGAM309-Breathe Life into a Mobile Game_NoNotes.pdf
GAM309-Breathe Life into a Mobile Game_NoNotes.pdf
 
NEW LAUNCH! Hear how OwnZones is using AWS Elemental MediaConvert to help med...
NEW LAUNCH! Hear how OwnZones is using AWS Elemental MediaConvert to help med...NEW LAUNCH! Hear how OwnZones is using AWS Elemental MediaConvert to help med...
NEW LAUNCH! Hear how OwnZones is using AWS Elemental MediaConvert to help med...
 
MCL308_Using a Digital Assistant in the Enterprise for Business Productivity
MCL308_Using a Digital Assistant in the Enterprise for Business ProductivityMCL308_Using a Digital Assistant in the Enterprise for Business Productivity
MCL308_Using a Digital Assistant in the Enterprise for Business Productivity
 
Bringing the Superpower of Bots to Your Company with a Serverless Bot Solutio...
Bringing the Superpower of Bots to Your Company with a Serverless Bot Solutio...Bringing the Superpower of Bots to Your Company with a Serverless Bot Solutio...
Bringing the Superpower of Bots to Your Company with a Serverless Bot Solutio...
 
LFS309-High-Throughput Genomics on AWS.pdf
LFS309-High-Throughput Genomics on AWS.pdfLFS309-High-Throughput Genomics on AWS.pdf
LFS309-High-Throughput Genomics on AWS.pdf
 
AWSome Day Utrecht - Keynote
AWSome Day Utrecht - KeynoteAWSome Day Utrecht - Keynote
AWSome Day Utrecht - Keynote
 
ALX401-Advanced Alexa Skill Building Conversation and Memory
ALX401-Advanced Alexa Skill Building Conversation and MemoryALX401-Advanced Alexa Skill Building Conversation and Memory
ALX401-Advanced Alexa Skill Building Conversation and Memory
 
MCL331_Building a Virtual Assistant with Amazon Polly and Amazon Lex Pollexy
MCL331_Building a Virtual Assistant with Amazon Polly and Amazon Lex PollexyMCL331_Building a Virtual Assistant with Amazon Polly and Amazon Lex Pollexy
MCL331_Building a Virtual Assistant with Amazon Polly and Amazon Lex Pollexy
 

Similar to MCL301_Building a Voice-Enabled Customer Service Chatbot Using Amazon Lex and Amazon Polly

Bring the Power of AI to Contact Centers - BAP301 - re:Invent 2017
Bring the Power of AI to Contact Centers - BAP301 - re:Invent 2017Bring the Power of AI to Contact Centers - BAP301 - re:Invent 2017
Bring the Power of AI to Contact Centers - BAP301 - re:Invent 2017Amazon Web Services
 
The Enterprise Fast Lane - What Your Competition Doesn't Want You to Know abo...
The Enterprise Fast Lane - What Your Competition Doesn't Want You to Know abo...The Enterprise Fast Lane - What Your Competition Doesn't Want You to Know abo...
The Enterprise Fast Lane - What Your Competition Doesn't Want You to Know abo...Amazon Web Services
 
CityWallet - From Mount Augustus to Los Roques Archipelago
CityWallet - From Mount Augustus to Los Roques ArchipelagoCityWallet - From Mount Augustus to Los Roques Archipelago
CityWallet - From Mount Augustus to Los Roques ArchipelagoHernan Garcia
 
DEV206_Life of a Code Change to a Tier 1 Service
DEV206_Life of a Code Change to a Tier 1 ServiceDEV206_Life of a Code Change to a Tier 1 Service
DEV206_Life of a Code Change to a Tier 1 ServiceAmazon Web Services
 
Keynote: What Transformation Really Means for the Enterprise - AWS Transforma...
Keynote: What Transformation Really Means for the Enterprise - AWS Transforma...Keynote: What Transformation Really Means for the Enterprise - AWS Transforma...
Keynote: What Transformation Really Means for the Enterprise - AWS Transforma...Amazon Web Services
 
How To Use AWS IoT and Amazon Connect to Drive Proactive Customer Service - B...
How To Use AWS IoT and Amazon Connect to Drive Proactive Customer Service - B...How To Use AWS IoT and Amazon Connect to Drive Proactive Customer Service - B...
How To Use AWS IoT and Amazon Connect to Drive Proactive Customer Service - B...Amazon Web Services
 
BAP202_Amazon Connect Delivers Personalized Customer Experiences for Your Clo...
BAP202_Amazon Connect Delivers Personalized Customer Experiences for Your Clo...BAP202_Amazon Connect Delivers Personalized Customer Experiences for Your Clo...
BAP202_Amazon Connect Delivers Personalized Customer Experiences for Your Clo...Amazon Web Services
 
Innovations and The Cloud
Innovations and The CloudInnovations and The Cloud
Innovations and The CloudAdrian Hornsby
 
Darin_Briskman_AWS_Machine_Learning_Beyond_the_Hype
Darin_Briskman_AWS_Machine_Learning_Beyond_the_HypeDarin_Briskman_AWS_Machine_Learning_Beyond_the_Hype
Darin_Briskman_AWS_Machine_Learning_Beyond_the_HypeTriNimbus
 
NEW LAUNCH! Introducing Amazon MQ Managed Message Broker Service for ActiveMQ...
NEW LAUNCH! Introducing Amazon MQ Managed Message Broker Service for ActiveMQ...NEW LAUNCH! Introducing Amazon MQ Managed Message Broker Service for ActiveMQ...
NEW LAUNCH! Introducing Amazon MQ Managed Message Broker Service for ActiveMQ...Amazon Web Services
 
NEW LAUNCH! Introducing Amazon Sumerian – Build VR/AR and 3D Applications - M...
NEW LAUNCH! Introducing Amazon Sumerian – Build VR/AR and 3D Applications - M...NEW LAUNCH! Introducing Amazon Sumerian – Build VR/AR and 3D Applications - M...
NEW LAUNCH! Introducing Amazon Sumerian – Build VR/AR and 3D Applications - M...Amazon Web Services
 
AI Services on AWS - CTO Club JLM
AI Services on AWS - CTO Club JLMAI Services on AWS - CTO Club JLM
AI Services on AWS - CTO Club JLMBoaz Ziniman
 
User Self-Service and Admin Portals for Amazon WorkSpaces - BAP302 - re:Inven...
User Self-Service and Admin Portals for Amazon WorkSpaces - BAP302 - re:Inven...User Self-Service and Admin Portals for Amazon WorkSpaces - BAP302 - re:Inven...
User Self-Service and Admin Portals for Amazon WorkSpaces - BAP302 - re:Inven...Amazon Web Services
 
AI and Machine Learning Services
AI and Machine Learning ServicesAI and Machine Learning Services
AI and Machine Learning ServicesAmazon Web Services
 
An Introduction to AI Services on AWS - Web Summit Lisbon
An Introduction to AI Services on AWS -  Web Summit LisbonAn Introduction to AI Services on AWS -  Web Summit Lisbon
An Introduction to AI Services on AWS - Web Summit LisbonBoaz Ziniman
 
NEW LAUNCH! Bring Alexa to Work! Voice-enable Your Organization with Alexa fo...
NEW LAUNCH! Bring Alexa to Work! Voice-enable Your Organization with Alexa fo...NEW LAUNCH! Bring Alexa to Work! Voice-enable Your Organization with Alexa fo...
NEW LAUNCH! Bring Alexa to Work! Voice-enable Your Organization with Alexa fo...Amazon Web Services
 
CON320_Monitoring, Logging and Debugging Containerized Services
CON320_Monitoring, Logging and Debugging Containerized ServicesCON320_Monitoring, Logging and Debugging Containerized Services
CON320_Monitoring, Logging and Debugging Containerized ServicesAmazon Web Services
 
Serverless Text Analytics with Amazon Comprehend
Serverless Text Analytics with Amazon ComprehendServerless Text Analytics with Amazon Comprehend
Serverless Text Analytics with Amazon ComprehendDonnie Prakoso
 

Similar to MCL301_Building a Voice-Enabled Customer Service Chatbot Using Amazon Lex and Amazon Polly (20)

Bring the Power of AI to Contact Centers - BAP301 - re:Invent 2017
Bring the Power of AI to Contact Centers - BAP301 - re:Invent 2017Bring the Power of AI to Contact Centers - BAP301 - re:Invent 2017
Bring the Power of AI to Contact Centers - BAP301 - re:Invent 2017
 
The Enterprise Fast Lane - What Your Competition Doesn't Want You to Know abo...
The Enterprise Fast Lane - What Your Competition Doesn't Want You to Know abo...The Enterprise Fast Lane - What Your Competition Doesn't Want You to Know abo...
The Enterprise Fast Lane - What Your Competition Doesn't Want You to Know abo...
 
CityWallet - From Mount Augustus to Los Roques Archipelago
CityWallet - From Mount Augustus to Los Roques ArchipelagoCityWallet - From Mount Augustus to Los Roques Archipelago
CityWallet - From Mount Augustus to Los Roques Archipelago
 
DEV206_Life of a Code Change to a Tier 1 Service
DEV206_Life of a Code Change to a Tier 1 ServiceDEV206_Life of a Code Change to a Tier 1 Service
DEV206_Life of a Code Change to a Tier 1 Service
 
Keynote: What Transformation Really Means for the Enterprise - AWS Transforma...
Keynote: What Transformation Really Means for the Enterprise - AWS Transforma...Keynote: What Transformation Really Means for the Enterprise - AWS Transforma...
Keynote: What Transformation Really Means for the Enterprise - AWS Transforma...
 
How To Use AWS IoT and Amazon Connect to Drive Proactive Customer Service - B...
How To Use AWS IoT and Amazon Connect to Drive Proactive Customer Service - B...How To Use AWS IoT and Amazon Connect to Drive Proactive Customer Service - B...
How To Use AWS IoT and Amazon Connect to Drive Proactive Customer Service - B...
 
BAP202_Amazon Connect Delivers Personalized Customer Experiences for Your Clo...
BAP202_Amazon Connect Delivers Personalized Customer Experiences for Your Clo...BAP202_Amazon Connect Delivers Personalized Customer Experiences for Your Clo...
BAP202_Amazon Connect Delivers Personalized Customer Experiences for Your Clo...
 
Innovations and The Cloud
Innovations and The CloudInnovations and The Cloud
Innovations and The Cloud
 
Darin_Briskman_AWS_Machine_Learning_Beyond_the_Hype
Darin_Briskman_AWS_Machine_Learning_Beyond_the_HypeDarin_Briskman_AWS_Machine_Learning_Beyond_the_Hype
Darin_Briskman_AWS_Machine_Learning_Beyond_the_Hype
 
NEW LAUNCH! Introducing Amazon MQ Managed Message Broker Service for ActiveMQ...
NEW LAUNCH! Introducing Amazon MQ Managed Message Broker Service for ActiveMQ...NEW LAUNCH! Introducing Amazon MQ Managed Message Broker Service for ActiveMQ...
NEW LAUNCH! Introducing Amazon MQ Managed Message Broker Service for ActiveMQ...
 
NEW LAUNCH! Introducing Amazon Sumerian – Build VR/AR and 3D Applications - M...
NEW LAUNCH! Introducing Amazon Sumerian – Build VR/AR and 3D Applications - M...NEW LAUNCH! Introducing Amazon Sumerian – Build VR/AR and 3D Applications - M...
NEW LAUNCH! Introducing Amazon Sumerian – Build VR/AR and 3D Applications - M...
 
Introducing Amazon Personalize
Introducing Amazon PersonalizeIntroducing Amazon Personalize
Introducing Amazon Personalize
 
AI Services on AWS - CTO Club JLM
AI Services on AWS - CTO Club JLMAI Services on AWS - CTO Club JLM
AI Services on AWS - CTO Club JLM
 
User Self-Service and Admin Portals for Amazon WorkSpaces - BAP302 - re:Inven...
User Self-Service and Admin Portals for Amazon WorkSpaces - BAP302 - re:Inven...User Self-Service and Admin Portals for Amazon WorkSpaces - BAP302 - re:Inven...
User Self-Service and Admin Portals for Amazon WorkSpaces - BAP302 - re:Inven...
 
AI and Machine Learning Services
AI and Machine Learning ServicesAI and Machine Learning Services
AI and Machine Learning Services
 
Intro to Amazon AI Services
Intro to Amazon AI ServicesIntro to Amazon AI Services
Intro to Amazon AI Services
 
An Introduction to AI Services on AWS - Web Summit Lisbon
An Introduction to AI Services on AWS -  Web Summit LisbonAn Introduction to AI Services on AWS -  Web Summit Lisbon
An Introduction to AI Services on AWS - Web Summit Lisbon
 
NEW LAUNCH! Bring Alexa to Work! Voice-enable Your Organization with Alexa fo...
NEW LAUNCH! Bring Alexa to Work! Voice-enable Your Organization with Alexa fo...NEW LAUNCH! Bring Alexa to Work! Voice-enable Your Organization with Alexa fo...
NEW LAUNCH! Bring Alexa to Work! Voice-enable Your Organization with Alexa fo...
 
CON320_Monitoring, Logging and Debugging Containerized Services
CON320_Monitoring, Logging and Debugging Containerized ServicesCON320_Monitoring, Logging and Debugging Containerized Services
CON320_Monitoring, Logging and Debugging Containerized Services
 
Serverless Text Analytics with Amazon Comprehend
Serverless Text Analytics with Amazon ComprehendServerless Text Analytics with Amazon Comprehend
Serverless Text Analytics with Amazon Comprehend
 

More from Amazon Web Services

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Amazon Web Services
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Amazon Web Services
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateAmazon Web Services
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSAmazon Web Services
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Amazon Web Services
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Amazon Web Services
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...Amazon Web Services
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsAmazon Web Services
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareAmazon Web Services
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSAmazon Web Services
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAmazon Web Services
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareAmazon Web Services
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWSAmazon Web Services
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckAmazon Web Services
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without serversAmazon Web Services
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...Amazon Web Services
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceAmazon Web Services
 

More from Amazon Web Services (20)

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS Fargate
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWS
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot
 
Open banking as a service
Open banking as a serviceOpen banking as a service
Open banking as a service
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
 
Computer Vision con AWS
Computer Vision con AWSComputer Vision con AWS
Computer Vision con AWS
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatare
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e web
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
 
Fundraising Essentials
Fundraising EssentialsFundraising Essentials
Fundraising Essentials
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container Service
 

MCL301_Building a Voice-Enabled Customer Service Chatbot Using Amazon Lex and Amazon Polly

  • 1. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS re:INVENT B u i l d i n g a V o i c e - E n a b l e d C u s t o m e r S e r v i c e C h a t b o t U s i n g A m a z o n L e x a n d A m a z o n P o l l y M C L 3 0 1 N o v e m b e r 2 8 , 2 0 1 7
  • 2. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Gillian McCann Liberty Mutual Cloud architect Applied Innovation and Workgrid @othergill Gill Armstrong Liberty Mutual Technologist Applied Innovation @virtualgill Niranjan Hira AWS Solutions architect Amazon Lex We are …
  • 3. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. HIGHLY PERSONALIZED CUSTOMER SERVICE EXPERIENCES AT SCALE
  • 4. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Building blocks
  • 5. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Polly Voice quality and pronunciation 1. Automatic, accurate text processing 2. Intelligible and easy to understand 3. Add semantic meaning to text 4. Customized pronunciation Character voices Articles and blogs Training material Chatbots (Amazon Lex) Public announcements Converts text to life-like speech 52 voices 25 languages Low latency, real time Fully managed
  • 6. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Lex Voice and text “chatbots” Powers Alexa Voice interactions on mobile, web, and devices Text interaction with Slack, Twilio SMS, and Facebook Messenger Enterprise connectors Improving human interactions… • Contact, service, and support center interfaces (text + voice) • Employee productivity and collaboration (minutes into seconds)
  • 7. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Conversation flow Utterances Spoken or typed phrases that invoke your intent BookHotel Intents An intent performs an action in response to natural language user input Slots Slots are input data required to fulfill the intent Fulfillment Fulfillment mechanism for your intent
  • 8. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Popular Bots Employee support (help desk) DevOps admin (deployment) Customer service (contact center) Executive assistant (business intelligence)
  • 9. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. The fine print • Bots rely on APIs • Bots are not human—they struggle to adapt beyond their design • Bots don’t get subtlety
  • 10. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. We <3 bots • Bots don’t sleep • Bots are fast (I don’t like to wait) • Bots don’t get frustrated with me • Bots “like” getting to know me • Bots don’t judge me for my requests and preferences
  • 11. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Let’s go! I want one!
  • 12. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. What do customers ask about? How do they contact us? What’s a script? Who writes it? When? What if it fails? How can customers “exit” and talk to an agent? Where will customer information come from? Can this be updated? What about the fulfillment API? Will it scale? How will we handle errors? How will we know if we’re successful? How will it improve? Who will monitor this stuff? What will we monitor? Which languages do we need to support? What about accents? Who will record the audio? Will the text-to-speech work? How will we test? What does the CI/CD pipeline look like? Is it secure? What about compliance? Can we use the brand voice? How can we integrate it into the experience? What if you have an outage? What if fulfillment takes too long? This could be a PR nightmare! Where to start?
  • 13. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 14. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Start with “Why?”
  • 15. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Why are we doing this? • To offer a better customer experience • To connect with customers where they are • To save time and money • To offer new products
  • 16. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Why are we doing this? • To offer a better customer experience • To connect with customers where they are • To save time and money • To offer new products … as measured by … ?
  • 17. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Why are we doing this? • Restaurant overflow • Customers calling the restaurant at peak times consume the host’s time with questions like: “How long is the wait?” Could a chatbot answer the questions and direct overflow to nearby locations? • Measure automated interactions, calls reduced, and lift in other locations • FAQ • Half of the questions answered by our social media team on Facebook are in our FAQs. Our queue times get beyond 5 minutes! Can we automate that? • Measure automated interactions, contact throughput, queue depth, and queue time • What about interactions beyond office hours?
  • 18. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Why are we doing this? • Self-service • The number one question on the claims line is: “What’s the status of my claim?” We’re spending hours just scheduling these reviews. Can we automate these (so we can spend the time processing claims)? • Measure automated interactions, calls reduced, reviews scheduled, claims throughput • Office productivity • Where does Sofia Martinez work, and what’s her number? Is there a cafeteria in this building? Where is the “Inspiration” room? • Who broke the build? • Measure successful lookups, feedback on more things to do
  • 19. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Focus So wait—we’re not going to handle, “Tell me a joke”? What about the weather? That’s trivial! And traffic—we definitely need traffic! How hard could it be to get stock quotes?!
  • 20. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Focus So wait—we’re not going to handle, “Tell me a joke”? What about the weather? That’s trivial! And traffic—we definitely need traffic! How hard could it be to get stock quotes?! Who’s asking for this? Does it serve the “why”?
  • 21. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Interaction design Transcripts and analysis Whiteboard
  • 22. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Interaction design Hi there! I am a chatbot and can help you do stuff (what?). How can I help you today? > I want to come in for a well-baby visit. # schedule well-baby visit appointment intent # get child’s name? (or do we already know this?) # (do we need the parent’s name?) # lookups and schedule access here Sure, Joe. I can help you with that. Does Thursday at 10 a.m. work? # do we need to reserve that slot tentatively? > Anything sooner? We can also do Tuesday at 2 p.m. and 4 p.m. if one of those will be better. You can always call the nurse’s hotline (hotline #) for something urgent. > 4 p.m.—let’s do 4 p.m. # reserve slot and return Great! We have you scheduled to come in on … # want a reminder?
  • 23. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Interaction design User Bot App Notes/alternatives Make me a sandwich No Raspberry emoji sudo? Well-baby visit Select time Schedule appt and reminder Get member info Is it urgent? Call hotline
  • 24. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Interaction design User Bot App Notes/alternatives Make me a sandwich No Raspberry emoji sudo? Well-baby visit Select time Schedule appt and reminder Get member info Is it urgent? Call hotline
  • 25. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Operations & monitoring • Will you know if it fails? Will you know if it works? Will you know if no one uses it? • Who gets notified? How will this person react? • How will it scale? Is it elastic? Is it secure? • Test it; run a “game day” • What if it messes up? What if someone posts a threat this way? What if the region goes down? • Do you have filters in place? How would you find out? • Can you deploy a fix quickly? • Have a procedure in place and rehearse it
  • 26. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Operations & monitoring • Will you know if it fails? Will you know if it works? Will you know if no one uses it? • Who gets notified? How will this person react? • How will it scale? Is it elastic? Is it secure? • Test it; run a “game day” • What if it messes up? What if someone posts a threat this way? What if the Region goes down? • Do you have filters in place? How would you find out? • Can you deploy a fix quickly? • Have a procedure in place and rehearse it
  • 27. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Consider • Amazon Lex makes it easy to build, deploy, and monitor a bot, but conversational experiences do require thoughtful design • At the end of the day, the user is expecting the bot to perform tasks for her with minimal delay; the fulfillment architecture is critical to a competent bot • Metrics are certainly essential for operations, but that feedback loop is also necessary for continuous improvement and to demonstrate progress toward business goals
  • 28. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Liberty Mutual Gillian McCann—Cloud Architect, Applied Innovation and Workgrid | @othergill Gill Armstrong—Technologist, Applied Innovation | @virtualgill O u r D i g i t a l A s s i s t a n t
  • 29. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Chatbots for the Enterprise
  • 30. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 31. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Our chat platform architecture
  • 32. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Our chat platform architecture
  • 33. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Our chat platform architecture
  • 34. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Analytics Examples of what we look at: • number of users • number of conversations • length of conversations • what functionality is being used • where we are getting it right • what people want us to add • where we are getting it wrong
  • 35. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Conversation as code Fully validated and repeatable bot build and deploy to any AWS account Everything written in CFN, with JSON for API calls to Amazon Lex Model Building API as part of deploy
  • 36. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Conversation as code Fully validated and repeatable bot build and deploy to any AWS account Everything written in CFN, with JSON for API calls to Amazon Lex Model Building API as part of deploy Code push triggers tests, and automatic build and deploy across multiple environments All tests, builds, deploys, and alarms sent to Slack channels to immediately alert developers
  • 37. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Conversation as code Fully validated and repeatable bot build and deploy to any AWS account Everything written in CFN, with JSON for API calls to Amazon Lex Model Building API as part of deploy Code push triggers tests, and automatic build and deploy across multiple environments All tests, builds, deploys, and alarms sent to Slack channels to immediately alert developers Analytics
  • 38. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Conversation as code Fully validated and repeatable bot build and deploy to any AWS account Everything written in CFN, with JSON for API calls to Amazon Lex Model Building API as part of deploy Code push triggers tests, and automatic build and deploy across multiple environments All tests, builds, deploys, and alarms sent to Slack channels to immediately alert developers Fully tested new functionality available in minutes Analytics
  • 39. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. • Unit test • Lambdas • libraries • Static analysis • Cloud Formation • code • API calls JSON Locally, pre-commit hook and build • Smoke test • Component test (bot) Deploy • Centralized logging • X-ray • CloudWatch metrics and dashboards • Alarms Running Testing, testing 1, 2, 3
  • 40. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. • Unit test • Lambdas • libraries • Static analysis • Cloud Formation • code • API calls JSON Locally, pre-commit hook and build • Smoke test • Component test (bot) Deploy • Centralized logging • X-ray • CloudWatch metrics and dashboards • Alarms Running Testing, testing 1, 2, 3
  • 41. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. • Unit test • Lambdas • libraries • Static analysis • Cloud Formation • code • API calls JSON Locally, pre-commit hook and build • Smoke test • Component test (bot) Deploy • Centralized logging • AWS X-ray • Amazon CloudWatch metrics and dashboards • Alarms Running Testing, testing 1, 2, 3
  • 42. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. BUILDING A SIMPLE CHATBOT IS SIMPLE… BUILDING A GOOD CHATBOT IS REALLY, REALLY HARD
  • 43. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Q&A Gillian McCann—Cloud Architect, Applied Innovation and Workgrid | @othergill Gill Armstrong—Technologist, Applied Innovation | @virtualgill Niranjan Hira—AWS Solutions Architect, Amazon Lex
  • 44. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Related sessions MCL302 - Maximizing the Customer Experience with AI on AWS MCL332 - Use Amazon Lex to build a Customer Service chatbot MCL319 - Capturing Voice Input in a Browser and Sending it to Amazon Lex MCL328 - Building Effective Interfaces with a hybrid AI architecture MCL308 - Using a Digital Assistant in the Enterprise for Business Productivity MCL301 - Building a Voice-Enabled Customer Service Chatbot Using Amazon Lex and Amazon Polly MCL401 - What do users want? Using Semantics to Predict User Intents at Scale MCL323 - Create dynamic conversation workflows with Amazon Lex and AWS Lambda MCL403 - Building an intelligent multi-model user agent with voice, natural language understanding and facial animation MCL312 - Building Multi-Channel Conversational Interfaces Using Amazon Lex
  • 45. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Thank you!