Skip to content

Instantly share code, notes, and snippets.

@LucioMSP
Created February 17, 2021 17:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save LucioMSP/5092bd48768305ca06ea2b5eaf6db58a to your computer and use it in GitHub Desktop.
Save LucioMSP/5092bd48768305ca06ea2b5eaf6db58a to your computer and use it in GitHub Desktop.
Example JSON file to connect a Bot created in Azure to an Alexa Skill
{
"interactionModel": {
"languageModel": {
"invocationName": "lucy bot",
"intents": [
{
"name": "GetUserIntent",
"slots": [
{
"name": "phrase",
"type": "phrase"
}
],
"samples": [
"{phrase}"
]
},
{
"name": "AMAZON.StopIntent",
"samples": [
"stop"
]
},
{
"name": "AMAZON.CancelIntent",
"samples": [
"cancel"
]
},
{
"name": "AMAZON.HelpIntent",
"samples": [
"help"
]
},
{
"name": "AMAZON.FallbackIntent",
"samples": []
},
{
"name": "AMAZON.NavigateHomeIntent",
"samples": []
}
],
"types": [
{
"name": "phrase",
"values": [
{
"name": {
"value": "hack",
"synonyms": [
"hack",
"hackaton"
]
}
},
{
"name": {
"value": "emily"
}
},
{
"name": {
"value": "demo"
}
},
{
"name": {
"value": "lucy",
"synonyms": [
"lucinda"
]
}
}
]
}
]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment