SlotValueSelectionSetting - Amazon Lex

SlotValueSelectionSetting

Contains settings used by Amazon Lex to select a slot value.

Contents

regexFilter

A regular expression used to validate the value of a slot.

Type: SlotValueRegexFilter object

Required: No

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:

  • OriginalValue - Returns the value entered by the user, if the user value is similar to the slot value.

  • TopResolution - 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 is OriginalValue.

Type: String

Valid Values: OriginalValue | TopResolution

Required: Yes

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: