Interface NluImprovementSpecification.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<NluImprovementSpecification.Builder,,NluImprovementSpecification> SdkBuilder<NluImprovementSpecification.Builder,,NluImprovementSpecification> SdkPojo
- Enclosing class:
NluImprovementSpecification
-
Method Summary
Modifier and TypeMethodDescriptionassistedNluMode(String assistedNluMode) Specifies the mode for Assisted NLU operation.assistedNluMode(AssistedNluMode assistedNluMode) Specifies the mode for Assisted NLU operation.Determines whether the Assisted NLU feature is enabled for the bot.intentDisambiguationSettings(Consumer<IntentDisambiguationSettings.Builder> intentDisambiguationSettings) An object containing specifications for the Intent Disambiguation feature within the Assisted NLU settings.intentDisambiguationSettings(IntentDisambiguationSettings intentDisambiguationSettings) An object containing specifications for the Intent Disambiguation feature within the Assisted NLU settings.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
enabled
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.- Parameters:
enabled- Determines whether the Assisted NLU feature is enabled for the bot. When set totrue, Amazon Lex uses advanced models to improve intent recognition and slot resolution, with the default beingfalse.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assistedNluMode
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.- Parameters:
assistedNluMode- Specifies the mode for Assisted NLU operation. UsePrimaryto make Assisted NLU the primary intent recognition method, orFallbackto use it only when standard NLU confidence is low.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
assistedNluMode
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.- Parameters:
assistedNluMode- Specifies the mode for Assisted NLU operation. UsePrimaryto make Assisted NLU the primary intent recognition method, orFallbackto use it only when standard NLU confidence is low.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
intentDisambiguationSettings
NluImprovementSpecification.Builder intentDisambiguationSettings(IntentDisambiguationSettings intentDisambiguationSettings) 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.
- Parameters:
intentDisambiguationSettings- 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:
- Returns a reference to this object so that method calls can be chained together.
-
intentDisambiguationSettings
default NluImprovementSpecification.Builder intentDisambiguationSettings(Consumer<IntentDisambiguationSettings.Builder> intentDisambiguationSettings) 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.
This is a convenience method that creates an instance of theIntentDisambiguationSettings.Builderavoiding the need to create one manually viaIntentDisambiguationSettings.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tointentDisambiguationSettings(IntentDisambiguationSettings).- Parameters:
intentDisambiguationSettings- a consumer that will call methods onIntentDisambiguationSettings.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-