Alexa Slot Value Synonyms

  1. Alexa Slot Value Synonyms Value
  2. Alexa Slot Value Synonyms Dictionary
Alexa Slot Value SynonymsAlexa Slot Value Synonyms

A slot type is a list of values that Amazon Lex uses to train the machine learning model to recognize values for a slot. For example, you can define a slot type called ' Genres. ' Each value in the slot type is the name of a genre, 'comedy,' 'adventure,' 'documentary,' etc. You can define a synonym for a slot type value. Slot values will be used as training data and the slot is resolved to the value provided by the user if it is similar to the slot values and synonyms. This is the default behavior. Amazon Lex maintains a list of possible resolutions for a slot. I can get the value fine using this.event.request.intent.slots.RecipeName.value;, but since when it gets synonyms it returns the synonym and not the main value itself I want to use the ID as it will be consistent across all synonyms. I'm normally a Scala developer not a Javascript one so I'm not sure if I'm just messing up the JS syntax or what. A simple interaction model for Alexa consists of the following elements: Invocation, intents, utterances, and slots. Invocation There are two types of names for your Alexa Skill: While the first, the Name is the one people can see in their Alexa app and the Alexa Skill Store, the Invocation Name is the one that is used by your users to access. The world’s largest and most trusted free online thesaurus. For over 20 years, Thesaurus.com has been helping millions of people improve their mastery of the English language and find the precise word with over 3 million synonyms and antonyms.

Posted On: Aug 31, 2017

Alexa slot value synonyms valueAlexa

You can now provide synonyms for slot values in Amazon Lex. With the synonym functionality, you can specify multiple synonyms for a slot value in your chatbot. The synonyms specified are resolved to the corresponding slot values. For example, if the slot value is “comedy”, with “funny” and “humorous” specified as synonyms, then user input of “funny” will now be resolved to “comedy”. You can optimize your business logic to implement code for just the slot value instead of entire set of synonyms. In addition, the chatbot automatically resolves minor variants of the slot value to the original value without the user having to explicitly specify the synonym. For example, if “pineapple” is one of the slot values and the user value is “pineapples” then slot is resolved to the value “pineapple”.

Thesaurus

Alexa Slot Value Synonyms Value

You can also now validate user input and restrict it to a fixed set of values. You can enable this by configuring the slot resolution strategy so that the slot is resolved only if the user value is the same as one of the slot values or the synonym.

Alexa Slot Value Synonyms Dictionary

These new features are available with Amazon Lex in the US East (N. Virginia) AWS region. Visit the Amazon Lex documentation to learn more about the features.