In responding to the user's request, there are a few options for the bot. A response message can be sent to the user. This message can contain the text defined in the console. It can also include various input data the user supplied when the bot prompted them for the slots. This is a text or speech portion of a response.
- [Instructor] As we've been traveling down … from top to bottom of our intent, … we defined our utterances, … we skipped over the lambda. … We'll talk about those in a later chapter. … We defined our slots … and what we need to gather from the user, … and we ended with the confirmation prompt. … Finally, the fulfillment just returns the parameters … to the client. … We could also call an AWS lambda function. … Again, we'll talk about lambda functions … in a later chapter. … Now we can add a response. … There's three sections to the response. … The first one is the message. … This allows us to just give a final message … to the user like Thanks! … Enjoy the Food. … We can add multiple versions of these, … and it'll pick one at random. … I hope the Food is good. … We can also add other messages like Goodbye. … So it'll also display this message, … picking one of these at random. … Thanks. … You can do these with a custom markup if you like, … but I prefer to use just plain old text. … You can also change the order by dragging them up and down. …
- 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.