Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Amazon Alexa - How to create Generic Slot

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.

like image 409
Michal Ciechan Avatar asked Oct 02 '16 17:10

Michal Ciechan


People also ask

How do you use Alexa skill slots?

To configure the slot for multiple valuesOn the Skills tab, in the SKILL NAME column, click the name of your custom skill. From the left-hand sidebar, click Custom > Interaction Model > Intents. Click an intent to open the detail page for the intent. In the list of Intent Slots, find the slot to change.

What is an intent slot?

A slot is a variable that relates to an intent allowing Alexa to understand information about the request.

What is a slot Alexa?

In Alexa Conversations, all variables that pass between user utterances, Alexa responses, and APIs must have a slot type. As with intent-based interaction models, slot types define how Alexa recognizes and passes data between components.

What is a slot type?

A slot type defines how the bot processes the information available in the identified slot. Make sure that you map each slot to a slot type. Slot types help the bot define the information that the bot looks for when trying to find a slot in the utterance. A slot type must include at least one value.


3 Answers

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

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.

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

like image 139
Holger Nösekabel Avatar answered Oct 03 '22 16:10

Holger Nösekabel


There is now way to get hold of the original "transcript" of the utterance or a portion of it.

There used to be a literal type built in slot, that gave you something, but Amazon stopped supporting it.

like image 32
Bela Vizy Avatar answered Oct 03 '22 18:10

Bela Vizy


Have you done any testing with a slot with some common examples in the slot list? I'm asking because I have a small custom slot with 10 choices and am able to recognize a very wide range of content with it (items that aren't in the list).

like image 43
Jim Rush Avatar answered Oct 03 '22 18:10

Jim Rush