Build a Fact Skill with Slots and Custom Slot Types

Training Module #2

In this module, we will construct a simple skill called Number Facts. We will use a built-in slot type, AMAZON.Number, and then we will define our own to query for different kinds of facts. We will use a tunneled local environment via ngrok, and interface directly with the JSON requests and responses, now including references to slots. We will cover retrieval of slot information from a JSON request in Ruby. This module introduces:

  • Slots
  • Custom slot types
  • Sinatra
  • Ruby's JSON library
  • Ruby's HTTP library
  • The Numbers API

Learn more »

Quick Links

Subscribe to the Alexa Developer Newsletter