Skip to content

/AWS1/CL_LM2NLUIMPROVEMENTSPEC

Configures the Assisted Natural Language Understanding (NLU) feature for your bot. This specification determines whether enhanced intent recognition and utterance understanding capabilities are active.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_enabled TYPE /AWS1/LM2ENABLED /AWS1/LM2ENABLED

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 being false.

Optional arguments:

iv_assistednlumode TYPE /AWS1/LM2ASSISTEDNLUMODE /AWS1/LM2ASSISTEDNLUMODE

Specifies the mode for Assisted NLU operation. Use Primary to make Assisted NLU the primary intent recognition method, or Fallback to use it only when standard NLU confidence is low.

io_intentdisambiguationstgs TYPE REF TO /AWS1/CL_LM2INTENTDISAMBIGUA00 /AWS1/CL_LM2INTENTDISAMBIGUA00

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.


Queryable Attributes

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 being false.

Accessible with the following methods

Method Description
GET_ENABLED() Getter for ENABLED

assistedNluMode

Specifies the mode for Assisted NLU operation. Use Primary to make Assisted NLU the primary intent recognition method, or Fallback to use it only when standard NLU confidence is low.

Accessible with the following methods

Method Description
GET_ASSISTEDNLUMODE() Getter for ASSISTEDNLUMODE, with configurable default
ASK_ASSISTEDNLUMODE() Getter for ASSISTEDNLUMODE w/ exceptions if field has no val
HAS_ASSISTEDNLUMODE() Determine if ASSISTEDNLUMODE has a value

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.

Accessible with the following methods

Method Description
GET_INTENTDISAMBIGUATIONSTGS() Getter for INTENTDISAMBIGUATIONSETTINGS