8. 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@
9. Text and Speech Language Understanding
Speech
Recognition
Natural Language
Understanding
Powered by the same deep learning technology as Alexa
14. “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
15. 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?
16. Slots
destination City New York City, Seattle, London, …
Slot Type Values
Check In Date Valid dates
Check Out Date Valid dates
17. 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
18. 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.
19. 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
21. 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