新增了Alexa渠道的所有核心功能模块,包括配置管理、请求校验、会话管理、安全验证、去重、响应格式化、渐进式响应、主动推送、提醒功能、配对绑定以及Webhook端点,并完成了插件注册和配置项定义。
67 lines
1.4 KiB
JSON
67 lines
1.4 KiB
JSON
{
|
|
"interactionModel": {
|
|
"languageModel": {
|
|
"invocationName": "force pilot",
|
|
"intents": [
|
|
{
|
|
"name": "ChatIntent",
|
|
"slots": [
|
|
{
|
|
"name": "query",
|
|
"type": "AMAZON.SearchQuery"
|
|
}
|
|
],
|
|
"samples": [
|
|
"问一下 {query}",
|
|
"帮我查 {query}",
|
|
"查询 {query}",
|
|
"搜索 {query}",
|
|
"查找 {query}",
|
|
"{query}",
|
|
"ask {query}",
|
|
"search for {query}",
|
|
"look up {query}",
|
|
"find information about {query}",
|
|
"what is {query}",
|
|
"tell me about {query}",
|
|
"{query}"
|
|
]
|
|
},
|
|
{
|
|
"name": "AMAZON.HelpIntent",
|
|
"samples": [
|
|
"帮助",
|
|
"我需要帮助",
|
|
"怎么使用",
|
|
"help",
|
|
"I need help",
|
|
"how to use"
|
|
]
|
|
},
|
|
{
|
|
"name": "AMAZON.StopIntent",
|
|
"samples": [
|
|
"停止",
|
|
"取消",
|
|
"stop",
|
|
"cancel"
|
|
]
|
|
},
|
|
{
|
|
"name": "AMAZON.CancelIntent",
|
|
"samples": [
|
|
"取消",
|
|
"算了",
|
|
"cancel",
|
|
"never mind"
|
|
]
|
|
},
|
|
{
|
|
"name": "AMAZON.FallbackIntent",
|
|
"samples": []
|
|
}
|
|
],
|
|
"types": []
|
|
}
|
|
}
|
|
} |