Skip to Content
Learn
Session Attributes
Building the Interaction Model

Before we build the Lambda function logic for our flashcards skill, we want to build the interaction model.

To do so, we’ll navigate to developer.amazon.com and use the Alexa Skill Builder. If you are unfamiliar with this process or need a refresher, check out these videos: how to create a skill and how to build an interaction model.


Create an interaction model

  1. Add a custom slot named languages with the following slot values: ruby, python, javascript.
  2. Add a custom slot named answer with the following slot values: length, len, print, puts, console.log, capitalized, lowercase.
  3. Create a custom intent named SetMyLanguageIntent
  4. Add the following utterances to SetMyLanguageIntent: Test my {languages} knowledge and Practice {languages}
  5. Create a custom intent named AnswerIntent
  6. Add the following utterances to AnswerIntent: I think it's {answer} and Is it {answer}

Instructions

The video to the right shows how to use the Alexa Skill Builder to create the intents, utterances, and slots that are necessary for this skill.

Folder Icon

Take this course for free

Already have an account?