Amazon Alexa-如何创建通用插槽 [英] Amazon Alexa - How to create Generic Slot

查看:89
本文介绍了Amazon Alexa-如何创建通用插槽的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何为Alexa技能创建通用插槽?这样我就可以创建自己的Todo应用程序,并且它将识别自由格式的文本。

How can I create a generic slot for an Alexa skill? So that I can create my own Todo app and it will recognise the free form text.

推荐答案

Alexa博客宣布了列表技能API 。如上所述,新技能不再支持文字插槽类型。

The Alexa blog announced a List Skill API. As mentioned above, the literal slot type is no longer supported for new skills.

如果您创建具有多个值的自定义插槽-取决于您期望的响应值,一个单词或两个或两个以上的单词-Alexa还将捕获不在列表中的口头单词,并将其传递给您。这些单词的转录是尽力而为的,可能还不够完美。亚马逊停止使用文字插槽类型,因为语音转文字效果不够好。

If you create a custom slot with a number of values - depending on your expected response values with a single word or 2+ words - Alexa will catch also spoken words not on the list and pass them to your skill. Transcription of these words is best effort, and probably not perfect. Amazon discontinued the literal slot type because the results of speech-to-text were not good enough.

您可以在List Skill API上注册有限的测试版,也许这可以解决您的问题。

As you can sign up for a limited beta on the List Skill API, maybe this will solve your issue.

这篇关于Amazon Alexa-如何创建通用插槽的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆