AMAZON.FIVE

编程入门 行业动态 更新时间:2024-10-07 02:18:30
本文介绍了AMAZON.FIVE_DIGIT_NUMBER 不存在用于在 Amazon Alexa 中捕获邮政编码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

Alexa 认证反馈说对邮政编码使用插槽类型AMAZON.FIVE_DIGIT_NUMBER".这是有道理的,但它实际上并不存在!

Alexa certification feedback says to use slot type "AMAZON.FIVE_DIGIT_NUMBER" for zipcodes. That would make sense, but it doesn't actually exist!

当我包含此插槽类型时,我无法保存意图 json 它给出了错误:插槽 'POSTCODE' 的未知插槽类型 'AMAZON.FIVE_DIGIT_NUMBER'".

When I include this slot type, I am unable to save the intent json It gives the error: "Unknown slot type 'AMAZON.FIVE_DIGIT_NUMBER' for slot 'POSTCODE'".

我可以用 AMAZON.FOUR_DIGIT_NUMBER 替换它,它工作得很好,可以很好地捕获所有 5 位数字.但是,有人提到这个问题是认证失败的原因.

I can replace with AMAZON.FOUR_DIGIT_NUMBER and it works great and captures all 5 digits nicely. However, this issue was mentioned as a reason for failed certification.

我可以用 AMAZON.NUMBER 替换,它有点工作(根据认证中的建议),但通常只捕获前 4 个数字,具有讽刺意味的是不如 AMAZON.FOUR_DIGIT_NUMBER 几乎总是捕获所有 5 个.

I can replace with AMAZON.NUMBER which kinda works (as per suggestion in certification), but often only captures the first 4 digits, ironically not as well as AMAZON.FOUR_DIGIT_NUMBER which almost always captures all 5.

我想通过认证,但 AMAZON.NUMBER 似乎给出了较差的结果.

I want to pass certification but the AMAZON.NUMBER seems to give inferior results.

我该怎么办?

推荐答案

是的,您从 Alexa 认证人员那里得到了信息.没有 AMAZON.FIVE_DIGIT_NUMBER 内置插槽,即使在他们最近添加的大量新内置插槽中也是如此.

Yes, you got back info from the Alexa certification people. There is no AMAZON.FIVE_DIGIT_NUMBER built-in slot, even in the big new batch of built-in slots that they added recently.

有 AMAZON.PostalAddress 和各种针对城市的内置插件,但这些都不符合要求,因此您只能使用 AMAZON.NUMBER.

There is AMAZON.PostalAddress and various built-ins for cities, but neither of those really fit the bill, so you are stuck with AMAZON.NUMBER.

更多推荐

AMAZON.FIVE

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

发布评论

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

>www.elefans.com

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