【问题标题】:Alexa skill Interaction Model unsure about custom slotAlexa 技能交互模型不确定自定义插槽
【发布时间】: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


    【解决方案1】:

    上面的设置看起来不错,Alexa技能有能力通过培训技能更多地学习

    但我不知道,你写错字了

    您的示例话语看起来像“Alexa tell/ask (Invocation Name) clean up”,但您的问题是“Alexa tell/ask (Invocation Name) to clean up”加上多余的单词“to”,如果这不是拼写错误,请删除单词“to”

    因为在发音时,“to”这个词会尝试与你的命令结合

    【讨论】:

    • 非常感谢,是的,“to”是我帖子中的错字,我的提示是“Alexa tell/ask (Invocation Name) clean up”
    猜你喜欢
    • 2020-02-23
    • 2019-03-07
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-12-31
    相关资源
    最近更新 更多