Skip to content

Instantly share code, notes, and snippets.

@ahernama
Created September 6, 2018 20:06
Show Gist options
  • Save ahernama/d428a514912610b937e9182f594717d8 to your computer and use it in GitHub Desktop.
Save ahernama/d428a514912610b937e9182f594717d8 to your computer and use it in GitHub Desktop.
{
"interactionModel": {
"languageModel": {
"invocationName": "mi cartera de monedas",
"intents": [{
"name": "AMAZON.CancelIntent",
"samples": []
},
{
"name": "AMAZON.HelpIntent",
"samples": []
},
{
"name": "AMAZON.StopIntent",
"samples": []
},
{
"name": "GetCoinPriceIntent",
"slots": [{
"name": "moneda",
"type": "CoinType"
},
{
"name": "cantidad",
"type": "AMAZON.NUMBER"
},
{
"name": "tengo",
"type": "IHaveType"
}
],
"samples": [
"{tengo} {cantidad} {moneda} dime su valor en euros",
"{tengo} {cantidad} {moneda} calcula su precio en euros",
"{tengo} {cantidad} {moneda} calcula su valor"
]
}
],
"types": [{
"name": "IHaveType",
"values": [{
"name": {
"value": "tengo"
}
},
{
"name": {
"value": "tengo en mi cartera"
}
},
{
"name": {
"value": "dime el valor de"
}
},
{
"name": {
"value": "he comprado"
}
},
{
"name": {
"value": "he invertido"
}
}
]
}, {
"name": "CoinType",
"values": [{
"name": {
"value": "bitcoin"
}
},
{
"name": {
"value": "litecoin"
}
}
]
}]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment