当我从技术顾问那里创建技能时,Alexa没有回应

编程入门 行业动态 更新时间:2024-10-06 22:33:29
本文介绍了当我从技术顾问那里创建技能时,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.

也这样尝试

为什么不是

推荐答案

从您的评论看来,您似乎已经解决了问题。但是,我想补充一下,您还可以在发出最终答复之前检查对话框状态。像...

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没有回应

本文发布于:2023-11-28 03:12:23,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1640739.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:当我   技能   顾问   技术   Alexa

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!