Join Brandon Rich for an in-depth discussion in this video Handling yes/no questions, part of Developing Skills for AWS Alexa.
- [Instructor] Now that we know how to save … user data permanently, … let's put that ability to good use. … When the user has finished a pizza order, … we want to follow up with a question: … "Do you want to save this order as the usual?" … So let's go to the OrderPizzaIntentHandler. … The first part's easy. … Go to the end of the speech text and add a question: … Would you like to save this order as, … do double quotes, the usual, question mark. … Okay, now at this point, all we want … is for the user to answer yes or no. … And there are a few ways we could do this. … One you might consider is slot elicitation. … We can add a single intent whose only purpose … is to save the user's favorite pizza order. … It could have a single slot which is their response … and in the handler, we check that slot, … and we'd see: is it yes or is it no? … However, having a single slot as a sample utterance … for an intent is going to get you into trouble. … If for no other reason, then it only works one time, …
- Designing effective voice interactions
- Designing an interaction model
- Building voice interactions
- Building an interaction model
- Alexa response functions
- Skills software development kit (SDK)
- Mapping values
Skill Level Intermediate
1. Design Your Alexa Skill
2. Alexa Skill First Steps
3. Building the Interaction Model
4. Enhancing the Voice Interaction
5. Publishing to the Alexa Skill Store
Next steps1m 24s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.