【发布时间】:2017-06-15 12:11:10
【问题描述】:
我带来了一个 Amazon echo,希望它能够向我的 HTPC 发送命令。 我找到并设置了以下内容,它使用了带有 eventghost 的 alexa。
http://www.eventghost.org/forum/viewtopic.php?f=2&t=7429&sid=c3d48a675d6d5674b25a35f4850bc920
原发帖人在我发现不再起作用的技能意图中使用了“literal”。在阅读了整个线程后,我发现您需要创建一个自定义插槽类型。
这里是技能设置
意图方案
{
"intents": [ {
"intent": "Run",
"slots": [
{
"name": "Action",
"type": "Commands"
} ]
} ]
}
自定义槽类型
命令
cleanup
clean up
move movies
move downloads
move cartoons
move the cartoons
move the downloads
move the downloaded movies
play
pause
stop
示例话语
Run {Action}
我想做的是说: “Alexa 告诉/询问(调用名称)进行清理” 要么 “Alexa 告诉/询问(调用名称)移动电影”
根据我的网络搜索,我在自定义插槽中输入了我认为正确的格式。
问题是当我通过 Alexa 运行它时,它有时会稍微错误地触发 Eventghost。
我该如何微调它。还是我技能设置错了?
【问题讨论】:
标签: alexa alexa-skills-kit alexa-slot