In any conversation, it's important to remember details. In this video, learn about how to persist data within an Alexa dialogue session.
- [Instructor] One of the key ingredients … to a quality voice interaction is memory. … To make Alexa remember things within a session … we'll add some code to do a simple save and restore … of session variables. … We'll then go on to adapt this technique … to a case in which the user interrupts … the expected dialog flow. … Let's test this out with some simple intents. … Later we'll add session persistence … into our whole pizza dog flow, … but right now I'm going to keep it simple. … Let's do favorite color. … Head to the Build tab, … we'll create two intents. … One called FavoriteColorIntent, … which we'll save to the session. … Sample Utterance here will be my favorite color is color. … We'll create a slot with the curly braces there, click Add, … hit Enter, and then down below set the Slot Type to color, … AMAZON.Color. … Okay, very simple there. … We'll create another intent. … It's called RecallColorIntent … and we'll create a custom intent. … And then this won't even have any slots, …
- 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.