Upload
amazon-web-services
View
311
Download
2
Embed Size (px)
Citation preview
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Shankar Ramachandran, Solutions Architect, AWS and Elaine Tsai, Product Manager, Twilio
December 1, 2016
Building Serverless Bots on AWS
- Botathon
DCS205
What to Expect from the Session
What is How to
build
Amazon
LexBotathon
Bot or Not
Bot
Classification
Not a Bot
Bot
Classification
Not a Bot
Bot
Classification
Not a Bot
Types
Text Chatbots Voice Chatbots Many more types...
Anatomy of a Bot
Conversations,
Bot Logic,
Deployment Platform,
Anatomy of a Bot
Hello, I am the MARS Rover.
Welcome to Mars!
What a fine day to be in
the Red planet!
Conversations,
i.e what does the bot say
Bot Logic,
i.e compute logic
associated with
the actions
Deployment Platform,
i.e, where is the bot deployed
Lifecycle of building a Bot
Build Conversations
1
Build Bot logic
2
Deploy the Bot
3
Monitor
4
Amazon Lex
Amazon Lex
Easily build a voice/text interface into your mobile, IoT,
gaming, or web applications to provide a conversational
experience for your customers.
Amazon Lex
Build Conversations
1
Build Bot logic
2
Deploy the Bot
3
Monitor
4
Amazon Lex
App Developer Challenges
• Speech or text input requires integration with multiple
APIs across speech recognition and language
understanding
• Deployment across multiple platforms increases app
complexity
• Testing for accuracy prior to deployment
Amazon Lex - Technology
Amazon Lex
Automatic Speech
Recognition (ASR)
Natural Language
Understanding (NLU)
Same technology that powers Alexa
Cognito CloudTrail CloudWatch
AWS Services
ActionAWS Lambda
Authentication
& Visibility
Speech
APILanguage
API
Fulfillment
End-Users
Developers
Console
SDK
Intents,
Slots,
Prompts,
Utterances
Input:
Speech
or Text
Multi-Platform Clients:
Mobile, IoT, Web,
Chat
API
Output:
Speech (via Polly TTS)
or Text
Amazon Lex Demo
Bot Use Cases
“Choose your
own adventure”
News
Route Customer Requests
Route Customer Requests
Let’s build a Concierge Bot
Demo
AWS LambdaAmazon Lex
Lex-Powered Twilio App
Serverless
Automated
Determine intent
Holds conversational context
Botathon
Botathon
Choose among the 4 bot themes:
Informational, Social, Transactional, DevOps
Progress from Basic (30 min) to Advanced (30 min).
Code, instructions, and guidance.
Bot Themes
Informational
Social
Transactional
Devops
Botathon
Sample conversation
When was the movie Avatar released?
What are people saying about Avatar on Twitter?
I need 4 tickets to Avatar this evening.
What’s the spot price of compute optimized in
Virginia?
Thank you!
Remember to complete
your evaluations!