Temperature Intent

Custom Intent

Let’s create an intent called SetTemperature with many utterances that a user can say to map to this intent. We will set each slot to type AMAZON.NUMBER. The intent is then passed to the backend for processing, which we will cover shortly.

  1. Click the blue Add button next to Intents
Create Intents

Utterance and Slot

  1. Create your first utterance by typing:

    Set the temperature to temp

    Create Intents

  2. Double click on temp and click Add

    • This adds a new slot called temp
  3. Scroll down to the Intent Slots section.

    • Set Slot Type to AMAZON.NUMBER
      Create Intents
  4. Create more utterances to account for multiple interaction flows.

    Create Intents
  5. Scroll to the top of the page and click Save Model