Skip to content

/AWS1/CL_LM2INTENTCLIFICATIO01

Information for an intent that is classified by the test workbench.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_intentname TYPE /AWS1/LM2NAME /AWS1/LM2NAME

The name of the intent.

iv_multiturnconversation TYPE /AWS1/LM2BOOLEAN /AWS1/LM2BOOLEAN

Indicates whether the conversation involves multiple turns or not.

io_resultcounts TYPE REF TO /AWS1/CL_LM2INTENTCLIFICATIO02 /AWS1/CL_LM2INTENTCLIFICATIO02

The result of the intent classification test.


Queryable Attributes

intentName

The name of the intent.

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

resultCounts

The result of the intent classification test.

Accessible with the following methods

Method Description
GET_RESULTCOUNTS() Getter for RESULTCOUNTS

Public Local Types In This Class

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

TT_INTENTCLIFICATIONTSTRSITE00

TYPES TT_INTENTCLIFICATIONTSTRSITE00 TYPE STANDARD TABLE OF REF TO /AWS1/CL_LM2INTENTCLIFICATIO01 WITH DEFAULT KEY
.