AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

Inheritance Hierarchy

System.Object
  Amazon.LexModelsV2.Model.SlotValueSelectionSetting

Namespace: Amazon.LexModelsV2.Model
Assembly: AWSSDK.LexModelsV2.dll
Version: 3.x.y.z

Syntax

C#
public class SlotValueSelectionSetting

The SlotValueSelectionSetting type exposes the following members

Constructors

NameDescription
Public Method SlotValueSelectionSetting()

Properties

NameTypeDescription
Public Property AdvancedRecognitionSetting Amazon.LexModelsV2.Model.AdvancedRecognitionSetting

Gets and sets the property 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.

Public Property RegexFilter Amazon.LexModelsV2.Model.SlotValueRegexFilter

Gets and sets the property RegexFilter.

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

Public Property ResolutionStrategy Amazon.LexModelsV2.SlotValueResolutionStrategy

Gets and sets the property 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 is ORIGINAL_VALUE.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5