Dissecting Skills

Skills are composed of two essential elements: the fulfillment implementation, which is code that provides the skill’s behavior, and the interaction model that describes how a human may interact with the skill.

The interaction model’s main purpose is to assist Alexa’s NLP in understanding what is said and where requests should be sent. It defines three things:

  • An invocation name: The name by which a skill may be launched

  • Utterances: Sample questions, commands, or phrases that a user might say to the skill

  • Intents: Unique and precise commands that the user intends for Alexa to perform, mapped to one or more utterances

The invocation name acts as the trigger that launches a skill so that a user may talk to it. It’s roughly ...

Get Build Talking Apps for Alexa now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.