AWS::Lex::Bot SlotValueSelectionSetting
Contains settings used by Amazon Lex to select a slot value.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "AdvancedRecognitionSetting" :
AdvancedRecognitionSetting
, "RegexFilter" :SlotValueRegexFilter
, "ResolutionStrategy" :String
}
YAML
AdvancedRecognitionSetting:
AdvancedRecognitionSetting
RegexFilter:SlotValueRegexFilter
ResolutionStrategy:String
Properties
AdvancedRecognitionSetting
-
Provides settings that enable advanced recognition settings for slot values. You can use this to enable using slot values as a custom vocabulary for recognizing user utterances.
Required: No
Type: AdvancedRecognitionSetting
Update requires: No interruption
RegexFilter
-
A regular expression used to validate the value of a slot.
Required: No
Type: SlotValueRegexFilter
Update requires: No interruption
ResolutionStrategy
-
Determines the slot resolution strategy that Amazon Lex uses to return slot type values. The field can be set to one of the following values:
-
ORIGINAL_VALUE
- Returns the value entered by the user, if the user value is similar to the slot value. -
TOP_RESOLUTION
- If there is a resolution list for the slot, return the first value in the resolution list as the slot type value. If there is no resolution list, null is returned.
If you don't specify the
valueSelectionStrategy
, the default isORIGINAL_VALUE
.Required: Yes
Type: String
Allowed values:
ORIGINAL_VALUE | TOP_RESOLUTION
Update requires: No interruption
-