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.
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.
A slot is a variable that relates to an intent allowing Alexa to understand information about the request.
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.
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.
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.
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.
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).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With