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 - Amazon Web Services (AWS) Tutorial
From the course: Developing Skills for AWS Alexa
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…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
(Locked)
Modifying speech with SSML4m 34s
-
(Locked)
Adding and playing media6m 35s
-
(Locked)
Keeping context with session persistence13m 27s
-
(Locked)
Adding a request interceptor3m 41s
-
(Locked)
Manual dialog delegation and slot elicitation8m 11s
-
(Locked)
Handling interruptions by restoring intent state9m 37s
-
(Locked)
Remembering key information with long-term persistence7m 47s
-
(Locked)
Handling yes/no questions9m 5s
-
(Locked)
Restoring data from persistence3m 43s
-
(Locked)
Personalize your skill by requesting user profile data11m 8s
-
(Locked)
Grant and use profile data permissions5m 19s
-
(Locked)
-
-