Interface CfnBot.ISlotValueSelectionSettingProperty
Contains settings used by Amazon Lex to select a slot value.
Namespace: Amazon.CDK.AWS.Lex
Assembly: Amazon.CDK.AWS.Lex.dll
Syntax (csharp)
public interface ISlotValueSelectionSettingProperty
Syntax (vb)
Public Interface ISlotValueSelectionSettingProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Lex;
var slotValueSelectionSettingProperty = new SlotValueSelectionSettingProperty {
ResolutionStrategy = "resolutionStrategy",
// the properties below are optional
AdvancedRecognitionSetting = new AdvancedRecognitionSettingProperty {
AudioRecognitionStrategy = "audioRecognitionStrategy"
},
RegexFilter = new SlotValueRegexFilterProperty {
Pattern = "pattern"
}
};
Synopsis
Properties
AdvancedRecognitionSetting | Provides settings that enable advanced recognition settings for slot values. |
RegexFilter | A regular expression used to validate the value of a slot. |
ResolutionStrategy | Determines the slot resolution strategy that Amazon Lex uses to return slot type values. |
Properties
AdvancedRecognitionSetting
Provides settings that enable advanced recognition settings for slot values.
virtual object AdvancedRecognitionSetting { get; }
Property Value
System.Object
Remarks
You can use this to enable using slot values as a custom vocabulary for recognizing user utterances.
RegexFilter
A regular expression used to validate the value of a slot.
virtual object RegexFilter { get; }
Property Value
System.Object
Remarks
ResolutionStrategy
Determines the slot resolution strategy that Amazon Lex uses to return slot type values.
string ResolutionStrategy { get; }
Property Value
System.String
Remarks
The field can be set to one of the following values:
If you don't specify the valueSelectionStrategy
, the default is ORIGINAL_VALUE
.