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
发布评论