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

Unlock the full course today

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

Confirmation prompts

Confirmation prompts - Amazon Web Services (AWS) Tutorial

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

Start my 1-month free trial

Confirmation prompts

- [Instructor] As we mentioned in the last video, our bot is doing everything we've asked of it up to this point. When it detected the right utterance, it engaged the order food intent. We don't have a lambda for initialization and validation so it goes right to the slots and prompts us for the input values. Once all the required input values are obtained, it goes to confirmation prompt, which we don't have any, and then the fulfillment, which just says, return parameters to client. And that's what we can see it doing down here. So everything we've told it to do is being done correctly. The next thing in the order after slots is the confirmation prompt. So let's add a new confirmation prompt. So there's tow options for confirmation prompting. There's the confirm, and then there's the response if the user says no. You notice that in between curly braces here there's a drink name. That's one of the slot names. We can put slot names values in our confirmation prompt. So for us we might…

Contents