Skip to content

/AWS1/CL_LM2INTENTLEVELSLOTR01

Information about intent-level slot resolution in a test result.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_intentname TYPE /AWS1/LM2NAME /AWS1/LM2NAME

The name of the intent that was recognized.

iv_multiturnconversation TYPE /AWS1/LM2BOOLEAN /AWS1/LM2BOOLEAN

Indicates whether the conversation involves multiple turns or not.

it_slotresolutionresults TYPE /AWS1/CL_LM2SLOTRESOLUTIONTS00=>TT_SLOTRESOLUTIONTESTRSLTITEMS TT_SLOTRESOLUTIONTESTRSLTITEMS

The results for the slot resolution in the test execution result.


Queryable Attributes

intentName

The name of the intent that was recognized.

Accessible with the following methods

Method Description
GET_INTENTNAME() Getter for INTENTNAME, with configurable default
ASK_INTENTNAME() Getter for INTENTNAME w/ exceptions if field has no value
HAS_INTENTNAME() Determine if INTENTNAME has a value

multiTurnConversation

Indicates whether the conversation involves multiple turns or not.

Accessible with the following methods

Method Description
GET_MULTITURNCONVERSATION() Getter for MULTITURNCONVERSATION

slotResolutionResults

The results for the slot resolution in the test execution result.

Accessible with the following methods

Method Description
GET_SLOTRESOLUTIONRESULTS() Getter for SLOTRESOLUTIONRESULTS, with configurable default
ASK_SLOTRESOLUTIONRESULTS() Getter for SLOTRESOLUTIONRESULTS w/ exceptions if field has
HAS_SLOTRESOLUTIONRESULTS() Determine if SLOTRESOLUTIONRESULTS has a value

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_INTENTLEVELSLOTRESOLUTION00

TYPES TT_INTENTLEVELSLOTRESOLUTION00 TYPE STANDARD TABLE OF REF TO /AWS1/CL_LM2INTENTLEVELSLOTR01 WITH DEFAULT KEY
.