Skip to content

Instantly share code, notes, and snippets.

@yuya-takeyama
Created December 31, 2017 11:50
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 yuya-takeyama/c05d131d63865aa952eaa37470dc400f to your computer and use it in GitHub Desktop.
Save yuya-takeyama/c05d131d63865aa952eaa37470dc400f to your computer and use it in GitHub Desktop.
欅坂情報 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