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.
Adding a request interceptor - Amazon Web Services (AWS) Tutorial
From the course: Developing Skills for AWS Alexa
Adding a request interceptor
- [Instructor] Now it's time to add some real smart to our skill. We want to handle a scenario where the user responds not with the answer we expect, but with another question. Here's what we want to do. Alexa, ask the pizza dog to fetch a pepperoni pizza. And that reminds me, we should add a sample utterance that lets us say fetch, it goes with the pizza dog thing. Alexa will respond via auto-delegation. What size? Instead of saying, small, medium or large, I'll say something like, well what's the difference or I have four people coming over. Something like that. We want Alexa to be able to answer with some information about the size of the pizza and then resume seamlessly into the order pizza intent. In order to do this, we're going to have to keep some state about the progress of the order pizza intent and restore it after we answer the question about the pizza size. We're going to do this with something called a…
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)
-
-