Error: Failed building the interaction model.

Error: Failed building the interaction model.

我正在开发一项技能,我有一个交互模型和 3 个自定义插槽类型。当我有插槽类型的玩具值时,一切似乎都有效,但是当我粘贴自定义插槽类型的值并点击保存时,首先我得到一个纺车说更新交互模型,然后另一个说 Please wait while model is being built...几分钟后我收到一条红色错误消息:Error: Failed building the interaction model.

我在我的自定义槽类型中粘贴了大约 100 个话语和大约 30、300 和 30,000 个值。根据文档:A skill can have a total of 50,000 custom slot values, totaled across all custom slots used in the interaction model. https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/alexa-skills-kit-interaction-model-reference

已知交互模型生成器会损坏。有时您必须等待一两天才能重置。在开发者论坛上投诉或提交 "Contact Us" 请求有时可以得到处理。

您没有说您的 30、300 或 30,000 值测试中哪些有效,哪些无效。不过,需要记住的一点是,在几百次之后,识别质量只会略有提高。您为自定义插槽提供的单词列表是 "advice"。这不是一个一成不变的清单。 Alexa 可能 return 告诉你不在列表中的单词。你拥有的单词越多,它的输入就会越广泛、越随意return。所以,虽然你可以提交50000字,但这样做的利润很少。