gpt4 book ai didi

alexa - 对 Alexa 插槽使用撇号

转载 作者:行者123 更新时间:2023-12-04 18:24:15 27 4
gpt4 key购买 nike

我正在开发一项 Alexa 技能,我会在其中停下来获取水果名称。但是,如果我说诸如“苹果的成本是多少”之类的话,其中插槽值带有撇号,Alexa 似乎无法识别撇号。解决方法是说“一个苹果的成本是多少”之类的话,但这并不是最好的客户体验。我怎样才能让 Alexa 理解带有撇号的插槽值?感谢您的帮助。

最佳答案

我认为这就是您要找的。

Create Intents, Utterances, and Slots (Rules for Sample Utterances)

If the word for a slot value may have apostrophes indicating the possessive, or any other similar punctuation (such as periods or hyphens) include those within the brackets defining the slot. Do not add 's after the closing bracket. For example: ...

关于alexa - 对 Alexa 插槽使用撇号,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47380866/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com