Once you've created your Lambdas for an intent, you want to test again. This can also be done from the console UI or via your client. In either or both cases, you want to test the functionality with a variety of user inputs. The more complex your Lambda is, the more you want to test the possibilities.
- [Man] Your Lambda's in my bot. … Your bot is calling my Lambda, yes, both. … We have both. … We need to connect them now, and … from the bot, we'll specify the Lambda … to call in each of the initialization … and validation portion, and also the fulfillment area. … In our case, it's the same Lambda. … We'll call it in both places. … All we have to do is go back to our bot … and in the Lambda initialization and validation section … expand that, click the button for initialization … and validation code hook. … It's not letting me click, you notice that? … So, it's because I'm not editing. … I'm just looking at it. … So, go up at the top by the name … of the intent and click edit. … Now, I can check the box, and give it the Lambda name … and I can do the same for the lower part … of the bot for the fulfillment. … Now, it's saying you're about to … give permission to invoke your Lambda function. … That's totally fine. … That's what we want to do, but it … does have to verify that to give it permission …
- 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.