Skip to content

/AWS1/CL_LM2INTENTDISAMBIGUA00

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.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_enabled TYPE /AWS1/LM2ENABLED /AWS1/LM2ENABLED

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.

Optional arguments:

iv_maxdisambiguationintents TYPE /AWS1/LM2MAXDISAMBIGUATIONIN00 /AWS1/LM2MAXDISAMBIGUATIONIN00

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.

iv_customdisambiguationmsg TYPE /AWS1/LM2CUSTDISAMBIGUATIONMSG /AWS1/LM2CUSTDISAMBIGUATIONMSG

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.


Queryable Attributes

enabled

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.

Accessible with the following methods

Method Description
GET_ENABLED() Getter for ENABLED

maxDisambiguationIntents

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.

Accessible with the following methods

Method Description
GET_MAXDISAMBIGUATIONINTENTS() Getter for MAXDISAMBIGUATIONINTENTS, with configurable defau
ASK_MAXDISAMBIGUATIONINTENTS() Getter for MAXDISAMBIGUATIONINTENTS w/ exceptions if field h
HAS_MAXDISAMBIGUATIONINTENTS() Determine if MAXDISAMBIGUATIONINTENTS has a value

customDisambiguationMessage

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.

Accessible with the following methods

Method Description
GET_CUSTOMDISAMBIGUATIONMSG() Getter for CUSTOMDISAMBIGUATIONMESSAGE, with configurable de
ASK_CUSTOMDISAMBIGUATIONMSG() Getter for CUSTOMDISAMBIGUATIONMESSAGE w/ exceptions if fiel
HAS_CUSTOMDISAMBIGUATIONMSG() Determine if CUSTOMDISAMBIGUATIONMESSAGE has a value