我是一个完全的新手来构建Alexa技能。
我已经成功地构建并发送了一项现场技能,但现在想要提高它。
我主要想改变Alexa说我代码的方式...我不知道如何在我的Node.js代码中实现SSML...
这是我代码的一部分。
"AMAZON.CancelIntent": function () {
this.response.speak("Thank you for using The Bible Geek. If you enjoyed your learning experience, why not leave us a 5 star review and let us know if there are topics that you would like The Bible Geek to cover. Goodbye")
this.emit(':responseReady'); },我真的希望能够实现像<break time="3s"/>这样的暂停
感谢您的帮助。提前感谢
发布于 2018-12-07 22:50:47
在你的例子中,使用SSML标签真的很简单,你只需要在响应中添加这个中断时间标签<break time="3s"/>,你需要3秒的暂停。
例如,在上面的代码片段中,您只需执行以下操作:
this.response.speak(`There is a three second pause here <break time="3s"/> then the speech continues.`)
this.emit(':responseReady');
https://stackoverflow.com/questions/53671718
复制相似问题