Instantly share code, notes, and snippets.

Embed
What would you like to do?
欅坂情報 Alexa Skill の Intent とかの設定
{
"languageModel": {
"intents": [
{
"name": "AMAZON.CancelIntent",
"samples": []
},
{
"name": "AMAZON.HelpIntent",
"samples": []
},
{
"name": "AMAZON.StopIntent",
"samples": []
},
{
"name": "GetBirthdays",
"samples": [
"{Date} の誕生日",
"{Date} が誕生日のメンバー"
],
"slots": [
{
"name": "Date",
"type": "AMAZON.DATE",
"samples": [
"{Date}"
]
}
]
},
{
"name": "GetSchedules",
"samples": [
"{Date} の予定",
"{Date} のスケジュール"
],
"slots": [
{
"name": "Date",
"type": "AMAZON.DATE",
"samples": [
"{Date}"
]
}
]
}
],
"invocationName": "けやきざかテスト"
},
"prompts": [
{
"id": "Elicit.Intent-GetBirthdays.IntentSlot-Date",
"variations": [
{
"type": "PlainText",
"value": "何月の誕生日ですか?"
}
]
},
{
"id": "Elicit.Intent-GetSchedules.IntentSlot-Date",
"variations": [
{
"type": "PlainText",
"value": "何日のスケジュールですか?"
}
]
}
],
"dialog": {
"intents": [
{
"name": "GetBirthdays",
"confirmationRequired": false,
"prompts": {},
"slots": [
{
"name": "Date",
"type": "AMAZON.DATE",
"elicitationRequired": true,
"confirmationRequired": false,
"prompts": {
"elicitation": "Elicit.Intent-GetBirthdays.IntentSlot-Date"
}
}
]
},
{
"name": "GetSchedules",
"confirmationRequired": false,
"prompts": {},
"slots": [
{
"name": "Date",
"type": "AMAZON.DATE",
"elicitationRequired": true,
"confirmationRequired": false,
"prompts": {
"elicitation": "Elicit.Intent-GetSchedules.IntentSlot-Date"
}
}
]
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment