Skip to content

Instantly share code, notes, and snippets.

@daniel-frenkel
Last active January 5, 2019 03:43
Show Gist options
  • Save daniel-frenkel/1aa76c02a9956c7e6038f3d0c7c37e20 to your computer and use it in GitHub Desktop.
Save daniel-frenkel/1aa76c02a9956c7e6038f3d0c7c37e20 to your computer and use it in GitHub Desktop.
Alexa Skill JSON
{
"interactionModel": {
"languageModel": {
"invocationName": "morning rod",
"intents": [
{
"name": "AMAZON.FallbackIntent",
"samples": []
},
{
"name": "AMAZON.CancelIntent",
"samples": []
},
{
"name": "AMAZON.HelpIntent",
"samples": []
},
{
"name": "AMAZON.StopIntent",
"samples": []
},
{
"name": "AMAZON.NavigateHomeIntent",
"samples": []
},
{
"name": "OnOffIntent",
"slots": [
{
"name": "OnOff",
"type": "OnOffValue",
"samples": [
"no",
"yes"
]
}
],
"samples": [
"turn {OnOff} light",
"turn {OnOff} the light",
"turn {OnOff}",
"{OnOff}"
]
}
],
"types": [
{
"name": "OnOffValue",
"values": [
{
"name": {
"value": "Off"
}
},
{
"name": {
"value": "On"
}
}
]
}
]
},
"dialog": {
"intents": [
{
"name": "OnOffIntent",
"confirmationRequired": false,
"prompts": {},
"slots": [
{
"name": "OnOff",
"type": "OnOffValue",
"confirmationRequired": false,
"elicitationRequired": true,
"prompts": {
"elicitation": "Elicit.Slot.1491531299731.496876215167"
}
}
]
}
]
},
"prompts": [
{
"id": "Elicit.Slot.1491531299731.496876215167",
"variations": [
{
"type": "PlainText",
"value": "Do you want to turn your LED on or off?"
}
]
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment