Interface CfnBot.NluImprovementSpecificationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnBot.NluImprovementSpecificationProperty.Jsii$Proxy
- Enclosing class:
CfnBot
@Stability(Stable)
public static interface CfnBot.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.services.lex.*;
NluImprovementSpecificationProperty nluImprovementSpecificationProperty = NluImprovementSpecificationProperty.builder()
.enabled(false)
// the properties below are optional
.assistedNluMode("assistedNluMode")
.intentDisambiguationSettings(IntentDisambiguationSettingsProperty.builder()
.enabled(false)
// the properties below are optional
.customDisambiguationMessage("customDisambiguationMessage")
.maxDisambiguationIntents(123)
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnBot.NluImprovementSpecificationPropertystatic final classAn implementation forCfnBot.NluImprovementSpecificationProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
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:
-
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:
-
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
IResolvableorCfnBot.IntentDisambiguationSettingsProperty- See Also:
-
builder
-