From the course: Building Intelligent Chatbots on AWS (2019)

Unlock the full course today

Join today to access over 22,700 courses taught by industry experts or purchase this course individually.

User input in prompts

User input in prompts - Amazon Web Services (AWS) Tutorial

From the course: Building Intelligent Chatbots on AWS (2019)

Start my 1-month free trial

User input in prompts

- [Instructor] So we've talked all about the slot types. Now we're going to define our slots. The slots again are the blanks in our sentence we need to complete. For our sentence we need to know what food the user wants to order, from where they want to order it, and where they want to meet the delivery driver. We have the right intent selected, the OrderFood. Before we go on though, I want to go back just for a second to the Amazon: Lex console. Again we can see our bots listed but now we also have some items under intents, these are the intents we defined, and also our slot type we defined. Again going back to our OrderMeal bot, we select OrderMeal, make sure that we click Edit, and now we're going to define our slots. Again the three slots are the Food, the Restaurant, and the DropOffLocation. Let's define the slot for DropOffLocation first. So we'll define that as DropOffLoc and for the slot type there's our DropOffLocation type and we have to specify a prompt. This is the…

Contents