Amazon.StopIntent 在 Alexa Skill 中表现异常

Amazon.StopIntent is behaving weirdly in Alexa Skill

我的 STOPINTENT 行为异常,它在 JSON 输出中返回 null,我不知道我做错了什么。 None 我以前的技能 运行 变成了这个问题。

'AMAZON.StopIntent': function () {
this.response.speak('Goodbye!');
this.emit(':responseReady');

我仍然收到 所请求技能的响应有问题

JSON 输入

"request": {
        "type": "IntentRequest",
        "requestId": "amzn1.echo-api.request.8e9eadd5-7018-40b0-a749-ba84ee2d44f7",
        "timestamp": "2018-01-09T01:36:44Z",
        "locale": "en-US",
        "intent": {
            "name": "AMAZON.StopIntent",
            "confirmationStatus": "NONE"
        }
    }

问题是一些未处理的状态,AMAZON.HELP 和 AMAZON.STOP Intent。

我通过在所有具有不同状态的处理程序中添加帮助、停止、取消来让它们工作。

每当使用不同的状态处理程序时,请确保所有处理程序都包含其单独的 AMAZON.HELP 和 AMAZON.STOP Intent 以使它们正常工作。