7. Amazon Lex - Features
Text and speech language understanding: powered by the same
technology as Alexa
Enterprise SaaS connectors: connect to enterprise systems
Deployment to chat services
Designed for builders: efficient and intuitive tools
to build conversations; scales automatically
Versioning and alias support@
8. Text and Speech Language Understanding
Speech
Recognition
Natural Language
Understanding
Powered by the same deep learning technology as Alexa
9. Amazon Lex
Scale
Business Logic
SecurityAnalytics
Text to Speech
Speech to Intent
End to
End
Native support & maintains
context
One-click deployment
Completely managed
service
Native integration with
AWS Lambda
Encrypted data
in transit & at
rest
Monitor and
improve
Amazon Polly
integrated into API
ASR + NLU integrated
into one API
Dialog Management Deployment
13. “Book a Hotel”
Book Hotel
NYC
“Book a Hotel in
NYC”
Automatic Speech
Recognition
Hotel Booking
New York City
Natural Language
Understanding
Intent/Slot
Model
UtterancesHotel Booking
City New York City
Check In Nov 30th
Check Out Dec 2nd
“Your hotel is booked for
Nov 30th”
Polly
Confirmation: “Your hotel is
booked for Nov 30th”
“Can I go ahead
with the booking?
a
in
14. Utterances
I’d like to book a hotel
I want to make my hotel reservations
I want to book a hotel in New York City
Can you help me book my hotel?
15. Slots
destination City New York City, Seattle, London, …
Slot Type Values
Check In Date Valid dates
Check Out Date Valid dates
16. Slot Elicitation
I’d like to book a hotel
What date do you check in?
New York City
Sure what city do you want to book?
Nov 30th Check In
11/30/2017
City
New York City
17. Fulfilment
AWS Lambda Integration Return to Client
User input parsed to derive
intents and slot values.
Output returned to client for
further processing.
Intents and slots passed to
AWS Lambda function for
business logic
implementation.
18. Save, Build, and Publish
Save Build
Saving your bot preserves the
current state on the server
Building your bot
creates versions that
you can test
Publish
Publishing your app will create a
version of your bot and provide an
alias to your clients
Test
Test your bot in a chat
window on the console
20. Amazon Lex Pricing
Text Speech
Price per 1000 requests $0.75 $4.00
Free Tier*
(requests per month)
10,000 5,000
*Available for the first year upon sign-up to new Amazon Lex customers
22. Facebook
Channel
Lex
Voice over PSTN
Connect
Are you on Twitter?
Sure. I'm on Twitter at https://
twitter.com/IanMmmm. Follow me
there.
What about GitHub?
You can find my GitHub account at
https://github.com/ianmas-aws
Web
App
facebook.com/ian.massingham.aws
https://bit.ly/rating-my-talk