Use Synonyms in Voice Interaction
Lesson 1 of 2
  1. 1
    Imagine you are creating a skill where a user can ask Alexa for a recommendation for a pet based on a size preference. The dialog may look something like: _USER: ask pet match to find me a big dog…
  2. 2
    To resolve the issue of mapping large to big, we can use synonyms in the Alexa Skills Kit to create a sort of custom thesaurus for our skill. For example, we could map small, medium, and big to the…
  3. 3
    In this exercise, we will walk you through the steps to create a new skill and add synonyms to the values for a MOVIE_GENRE custom slot type. If you need a refresher on how to create a skill, you s…
  4. 4
    In this exercise, you will learn how to test synonyms in your Alexa skill. #### Make a dummy endpoint 1. In the Amazon Developer Console , click on the Build tab, then select the Endpoint secti…
  5. 5
    In the Alexa Test Simulator , take some time to try a few more synonyms and the slot value itself (action). Did your JSON responses look similar to the image on the right? Notice, the JSON inpu…
  6. 6
    Let’s see what happens when the user says a word that is not included in our slot synonyms list. Try typing something like: - “ask movie match to find me pizza movie” - “ask movie match to find me…
  7. 7
    Nice work! You just learned how you can use synonyms to allow a user to speak in a natural way. Let’s review what we learned: - Using synonyms is a great way to improve the voice design of your …

What you'll create

Portfolio projects that showcase your new skills

Pro Logo

How you'll master it

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

Pro Logo