From the course: Developing Skills for AWS Alexa

Unlock the full course today

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

Restoring data from persistence

Restoring data from persistence - Amazon Web Services (AWS) Tutorial

From the course: Developing Skills for AWS Alexa

Start my 1-month free trial

Restoring data from persistence

- [Instructor] Okay, let's put it all together. We want the user to be able to say, Hey Pizza Dog, I'll have the usual. Head over to the bill tab and let's add a new intent. We'll call it UsualOrderIntent. Click create custom intent. Now it's onto utterances. We want to be able to say things like, ask Pizza Dog for the usual or ask Pizza Dog to fetch the usual. Or maybe we'll just say open Pizza Dog and say I'll have the usual. Maybe one more, how about order my favorite pizza? There are no slots for this intent, so we will build the model. Next, we need to head over to the code and add the usual intent handler. I've got the handler code for you here in an exercise file, so you can just copy it in and we'll take a look at it. Again in the code tab, let's find a nice space in between some other handlers, paste it in. The UsualOrderIntent handler. We check the name, UsualOrderIntent, and then we look in…

Contents