当我从技术顾问那里创建技能时,Alexa没有回应 [英] Alexa not responding for when i created skill from skill buidler
本文介绍了当我从技术顾问那里创建技能时,Alexa没有回应的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经使用技能生成器Beta版创建了名为EmergencyIntent的自定义技能意图。
I have created custom skill intent called EmergencyIntent by using the skill builder beta.
现在的问题是,它并没有要求意图确认作为我在技能生成器中配置。
Now the problem is it's not asking Intent confirmation as I configured in skill builder.
也这样尝试
< a href = https://i.stack.imgur.com/PpcvU.png rel = nofollow noreferrer>
为什么不是
推荐答案
从您的评论看来,您似乎已经解决了问题。但是,我想补充一下,您还可以在发出最终答复之前检查对话框状态。像...
From your comment it looks like you've resolved your issue. But, I thought I'd add that you could also check the dialog state before emitting your final response. Something like...
let dialogState = this.event.request.dialogState;
try {
if (dialogState == "STARTED" || dialogState == "IN_PROGRESS") {
this.emit(":delegate");
}
} catch(err) {
console.log("Error: " + err.message);
}
这篇关于当我从技术顾问那里创建技能时,Alexa没有回应的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文