Skip to content

Instantly share code, notes, and snippets.

@randika
Created June 25, 2018 16:13
Show Gist options
  • Save randika/4b22528859cc85111a344733dbd20484 to your computer and use it in GitHub Desktop.
Save randika/4b22528859cc85111a344733dbd20484 to your computer and use it in GitHub Desktop.
{
"interactionModel": {
"languageModel": {
"invocationName": "my expenses",
"intents": [
{
"name": "AddExpense",
"slots": [
{
"name": "Amount",
"type": "AMAZON.NUMBER"
},
{
"name": "Category",
"type": "CATEGORIES"
}
],
"samples": [
"I paid {Amount} for {Category}",
"Add {Amount} for {Category}",
"{Amount} for {Category}",
"paid {Amount} for {Category}",
"for {Category} paid {Amount}",
"{Amount} paid for {Category}"
]
},
{
"name": "AMAZON.StartOverIntent",
"samples": []
},
{
"name": "AMAZON.RepeatIntent",
"samples": []
},
{
"name": "AMAZON.HelpIntent",
"samples": [
"help",
"help me"
]
},
{
"name": "AMAZON.StopIntent",
"samples": [
"stop"
]
},
{
"name": "AMAZON.CancelIntent",
"samples": [
"cancel"
]
},
{
"name": "AMAZON.YesIntent",
"samples": []
},
{
"name": "AMAZON.NoIntent",
"samples": []
}
],
"types": [
{
"name": "CATEGORIES",
"values": [
{
"name": {
"value": "Dining out"
}
},
{
"name": {
"value": "Groceries"
}
},
{
"name": {
"value": "Fuel"
}
},
{
"name": {
"value": "Car"
}
},
{
"name": {
"value": "Traveling"
}
},
{
"name": {
"value": "Loan"
}
},
{
"name": {
"value": "Internet"
}
},
{
"name": {
"value": "Telephone"
}
},
{
"name": {
"value": "Credit Card "
}
},
{
"name": {
"value": "Other"
}
}
]
}
]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment