Interface CfnBotPropsMixin.NluImprovementSpecificationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnBotPropsMixin.NluImprovementSpecificationProperty.Jsii$Proxy
- Enclosing class:
CfnBotPropsMixin
@Stability(Stable)
public static interface CfnBotPropsMixin.NluImprovementSpecificationProperty
extends software.amazon.jsii.JsiiSerializable
Configures the Assisted Natural Language Understanding (NLU) feature for your bot.
This specification determines whether enhanced intent recognition and utterance understanding capabilities are active.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.lex.*;
NluImprovementSpecificationProperty nluImprovementSpecificationProperty = NluImprovementSpecificationProperty.builder()
.assistedNluMode("assistedNluMode")
.enabled(false)
.intentDisambiguationSettings(IntentDisambiguationSettingsProperty.builder()
.customDisambiguationMessage("customDisambiguationMessage")
.enabled(false)
.maxDisambiguationIntents(123)
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnBotPropsMixin.NluImprovementSpecificationPropertystatic final classAn implementation forCfnBotPropsMixin.NluImprovementSpecificationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringSpecifies the mode for Assisted NLU operation.default ObjectDetermines whether the Assisted NLU feature is enabled for the bot.default ObjectAn object containing specifications for the Intent Disambiguation feature within the Assisted NLU settings.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAssistedNluMode
Specifies the mode for Assisted NLU operation.Use
Primaryto make Assisted NLU the primary intent recognition method, orFallbackto use it only when standard NLU confidence is low.- See Also:
-
getEnabled
Determines whether the Assisted NLU feature is enabled for the bot.When set to
true, Amazon Lex uses advanced models to improve intent recognition and slot resolution, with the default beingfalse.Returns union: either
BooleanorIResolvable- See Also:
-
getIntentDisambiguationSettings
An object containing specifications for the Intent Disambiguation feature within the Assisted NLU settings.These settings determine how the bot handles ambiguous user inputs that could match multiple intents.
Returns union: either
IResolvableorCfnBotPropsMixin.IntentDisambiguationSettingsProperty- See Also:
-
builder
-