![]() When the slot type catalog only contains " sour cream " and " onion chips " as separate values, Alexa interprets the utterance as separate values (" sour cream ", " onion chips").ī. When the utterance is ambiguous, depending on the slot type values it could be interpreted in multiple ways.Ī. This would ensure that when the customer says “add sour cream and onion chips to my cart” you receive these values as “ sour cream” and “ onion chips” instead of “ sour”, “ cream”, “ onion,” or “ chips”. For example, include values such as sour cream and onion chips in a GroceryList slot type. Avoid Ambiguities : If your slot accepts values that have multiple values in them, ensure they are added as slot values.If you discover values that Alexa fails to recognize, add the values to your slot type to improve recognition. When you type utterances in the Test page, separate the slot values with either spaces, or spaces and commas.įor example, both these utterances would workĪpart from manually testing them, you can also use the Utterance Profiler and the NLU Evaluation tool to improve your model’s accuracy. Try testing your slots with both single values and a list of values. Test your interaction model : Once you have built your model, use the Test page in the Developer Console to test your Multi-Value Slots with a variety of utterances.Here are a few tips to enable you to use them even better. As you leverage the power of Multi-Value Slots to create more engaging experiences, it’s important to understand how it works in different scenarios so you can design the right experience for your skill. For my recipe suggestions skill, I have a SuggestRecipeIntent which uses the slot ingredients.Īnd that’s it, your skill can now capture multiple slot values and enable natural conversations with your customers. You can also refer to our cookbook for sample code on implementing Multi-Value Slots in your skill. In the Developer Console, open your Skill and open the intent which contains a slot you wish to modify into a Multi-Value Slot.To enable Multi-Value Slots within your skill, here’s what you need to do Instead of having to ask the customer multiple questions or stringing together multiple slots to get the desired values, you can now use a single slot and capture all the values with Multi-Value Slots. Multi-Value Slots reduce the amounts of turns in a conversation. As per your ingredients, you can cook Italian Potatoes and Broccoli today. What are the ingredients you have today?Ĭustomer : I have some potatoes and broccoli.Īlexa : Awesome. So your conversation looks like thisĬustomer : Alexa, open recipe suggestionsĪlexa : Welcome to recipe suggestions. With Multi-Value Slots, your Alexa Skill can collect multiple slot values for one slot in the intent. Based on the ingredients you have, Italian Potatoes and Broccoli sounds like a good idea. what’s the second ingredient you want today?Īlexa : Got it. Tell me the first ingredient you have today?Īlexa : Got it. Without Multi-Value Slots, here’s how you might have implemented that conversation within your skill.Ĭustomer : Alexa, open recipe suggestions.Īlexa : Welcome to recipe suggestions. For example, my partner and I could be discussing dinner plans, and I would say, “What can we cook with potatoes and broccoli for dinner?” If you want your customers to be able to have similar conversations with your Alexa skill, you can use Multi-Value Slots in your skill. One thing that makes conversations more natural is the ability to speak out multiple values of the same type in a single sentence, similar to what we do in our daily conversations. As skill developers, you spend a lot of time developing interactions to be more natural and conversational so your customers can have a memorable experience with your skill. Today we are excited to announce the general availability of Multi-Value Slots, taking a step toward enabling Alexa Skills to understand more complex commands and utterances. ![]()
0 Comments
Leave a Reply. |