使用Lambda的Alexa技能失败 - 请求的技能的响应

时间:2018-01-17 01:41:35

标签: aws-lambda alexa alexa-skills-kit alexa-skill

使用针对Alexa的测试模拟器测试我的技能时出现以下错误:

  

问题请求技能的响应存在问题

我试着看解决方案,但找不到任何东西。

如果有人可以提供帮助,我非常感谢!

谢谢!

这是发送给Lambda的内容

代码编辑器



{
  "languageModel": {
    "intents": [
      {
        "name": "AMAZON.CancelIntent",
        "samples": []
      },
      {
        "name": "AMAZON.HelpIntent",
        "samples": []
      },
      {
        "name": "AMAZON.NoIntent",
        "samples": []
      },
      {
        "name": "AMAZON.RepeatIntent",
        "samples": []
      },
      {
        "name": "AMAZON.StartOverIntent",
        "samples": []
      },
      {
        "name": "AMAZON.StopIntent",
        "samples": []
      },
      {
        "name": "AMAZON.YesIntent",
        "samples": []
      },
      {
        "name": "AnswerIntent",
        "samples": [
          "the answer is {Answer}",
          "my answer is {Answer}",
          "is it {Answer}",
          "{Answer} is my answer",
          "{Answer}"
        ],
        "slots": [
          {
            "name": "Answer",
            "type": "AMAZON.NUMBER"
          }
        ]
      },
      {
        "name": "DontKnowIntent",
        "samples": [
          "i don't know",
          "don't know",
          "i don't know that one",
          "dunno",
          "skip",
          "i don't know that",
          "who knows",
          "i don't know this question"
        ],
        "slots": []
      }
    ],
    "invocationName": "geo trivia"
  }
}




0 个答案:

没有答案