Use Dialog Management in Voice Interaction
Lesson 1 of 4
  1. 1
    #### Human Conversations Take a look at the script to the right. If you are recommending a movie to a friend, you may have a dialog that looks like this. Before you can make a good recommendation, …
  2. 2
    We’ll be using Dialog Management with an example “Video Match” skill. Before we add Dialog Management features, we need to create the basic skill: follow the walk-through below. If you need a refre…
  3. 3
    In a typical voice conversation, a user might provide all parts of their request in one go (Single Turn Conversation), or our skill may need to go back and forth prompting the user for each piece o…
  4. 4
    Alexa Skills Kit’s Dialog Management feature provides a simple way to handle both single and multi-turn conversations. If a user doesn’t provide all necessary slot values in one turn of the convers…
  5. 5
    Good work so far! Let’s make sure that slot elicitation works before moving on. #### Add an endpoint 1. You haven’t made a Lambda function for the Video Match skill yet, but don’t worry! Codecadem…
  6. 6
    Some pieces of information deserve confirmation, such as: - Amounts of money - Dates and times - Values with multiple meanings (e.g. Springfield, Illinois or Springfield, Massachusetts?) - Words …
  7. 7
    Excellent! Let’s test the slot confirmation for genre. If your skill has multiple slots marked as required with prompts and utterances set, Alexa will elicit the slots in the order in which the sl…
  8. 8
    Alexa can confirm intents as well as slots. Why? There can be serious consequences if Alexa misinterprets some requests, like: - Actions that are publicly visible (e.g. posting to social media) - …
  9. 9
    Well done! Let’s test the intent confirmation. #### Test intent confirmation 1. Go to the Test tab to open the Alexa Simulator. 2. You are testing that your Interaction Model confirms the int…
  10. 10
    Congrats! You’ve added Dialog Management to your skill’s interaction model and activated its three main features: - slot elicitation: asking for input from the user with prompts and expecting …

What you'll create

Portfolio projects that showcase your new skills

How you'll master it

Stress-test your knowledge with quizzes that help commit syntax to memory