Bots can call Lambdas in two places for their intents. The first place is at the beginning of the execution of the intent. After the utterance is detected, a Lambda can be called. The second place is near the end. The fulfillment step of the intent can also call a Lambda. So the functionality of a Lambda can be based on the user's input.
- [Instructor] So if you remember way back … when we started this course, … we had the option of creating our bot from a sample. … We had Book Trip, Order Flowers, and Schedule Appointment. … This is what we're going to use for talking about lambdas. … The BookTrip sample is set up … to be able to use a BookTrip Lambda blueprint … that we'll create later. … But for now, we're just going to create this bot … from the BookTrip sample. … We don't have to do anything else … as far as setting anything up just yet. … We just leave the name as BookTrip, click no on the COPPA, … and click create. … Now this bot has two intents kind of like ours did. … So we back a BookCar, … which has the PickUpCity, PickUpDate, ReturnDate … and so on. … The fulfillment is just to return the parameters … like ours was. … The BookHotel is pretty similar, … but it has nights and location right in the utterance, … so that's pretty fancy. … So you could actually fill in some slot details … just from the utterance of the user, so that's pretty cool. …
- Introducing Amazon Lex
- Lex API and CLI
- Creating the bot
- Testing the bot
- Defining slot types
- Configuring input and confirmation prompts
- Designing responses
- Publishing the bot
- Creating and connecting lambdas
Skill Level Advanced
AWS Machine Learning by Examplewith Jonathan Fernandes1h 23m Intermediate
Creating chatbots1m 36s
1. AWS Lex Overview
2. Creating a Bot
3. Slots and Slot Types
6. Functionality with Lambdas
Next steps1m 13s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.