Class: Aws::LexModelsV2::Types::IntentDisambiguationSettings
- Inherits:
-
Struct
- Object
- Struct
- Aws::LexModelsV2::Types::IntentDisambiguationSettings
- Defined in:
- gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb
Overview
Configures the Intent Disambiguation feature that helps resolve ambiguous user inputs when multiple intents could match. When enabled, the system presents clarifying questions to users, helping them specify their exact intent for improved conversation accuracy.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#custom_disambiguation_message ⇒ String
Provides a custom message that will be displayed before presenting the disambiguation options to users.
-
#enabled ⇒ Boolean
Determines whether the Intent Disambiguation feature is enabled.
-
#max_disambiguation_intents ⇒ Integer
Specifies the maximum number of intent options (2-5) to present to users when disambiguation is needed.
Instance Attribute Details
#custom_disambiguation_message ⇒ String
Provides a custom message that will be displayed before presenting the disambiguation options to users. This message helps set the context for users and can be customized to match your bot's tone and brand. If not specified, a default message will be used.
8531 8532 8533 8534 8535 8536 8537 |
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 8531 class IntentDisambiguationSettings < Struct.new( :enabled, :max_disambiguation_intents, :custom_disambiguation_message) SENSITIVE = [] include Aws::Structure end |
#enabled ⇒ Boolean
Determines whether the Intent Disambiguation feature is enabled.
When set to true, Amazon Lex will present disambiguation options
to users when multiple intents could match their input, with the
default being false.
8531 8532 8533 8534 8535 8536 8537 |
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 8531 class IntentDisambiguationSettings < Struct.new( :enabled, :max_disambiguation_intents, :custom_disambiguation_message) SENSITIVE = [] include Aws::Structure end |
#max_disambiguation_intents ⇒ Integer
Specifies the maximum number of intent options (2-5) to present to users when disambiguation is needed. This setting determines how many intent options will be shown to users when the system detects ambiguous input. The default value is 3.
8531 8532 8533 8534 8535 8536 8537 |
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 8531 class IntentDisambiguationSettings < Struct.new( :enabled, :max_disambiguation_intents, :custom_disambiguation_message) SENSITIVE = [] include Aws::Structure end |