Skip to content

/AWS1/CL_LM2USERTURNRESULT

Contains the results for the user turn by the test execution.

CONSTRUCTOR

IMPORTING

Required arguments:

io_input TYPE REF TO /AWS1/CL_LM2USERTURNINPUTSPEC /AWS1/CL_LM2USERTURNINPUTSPEC

Contains information about the user messages in the turn in the input.

io_expectedoutput TYPE REF TO /AWS1/CL_LM2USERTURNOUTPUTSPEC /AWS1/CL_LM2USERTURNOUTPUTSPEC

Contains information about the expected output for the user turn.

Optional arguments:

io_actualoutput TYPE REF TO /AWS1/CL_LM2USERTURNOUTPUTSPEC /AWS1/CL_LM2USERTURNOUTPUTSPEC

Contains information about the actual output for the user turn.

io_errordetails TYPE REF TO /AWS1/CL_LM2EXECERRORDETAILS /AWS1/CL_LM2EXECERRORDETAILS

Details about an error in an execution of a test set.

iv_endtoendresult TYPE /AWS1/LM2TESTRESULTMATCHSTATUS /AWS1/LM2TESTRESULTMATCHSTATUS

Specifies whether the expected and actual outputs match or not, or if there is an error in execution.

iv_intentmatchresult TYPE /AWS1/LM2TESTRESULTMATCHSTATUS /AWS1/LM2TESTRESULTMATCHSTATUS

Specifies whether the expected and actual intents match or not.

iv_slotmatchresult TYPE /AWS1/LM2TESTRESULTMATCHSTATUS /AWS1/LM2TESTRESULTMATCHSTATUS

Specifies whether the expected and actual slots match or not.

iv_speechtranscriptionresult TYPE /AWS1/LM2TESTRESULTMATCHSTATUS /AWS1/LM2TESTRESULTMATCHSTATUS

Specifies whether the expected and actual speech transcriptions match or not, or if there is an error in execution.

io_conversationlevelresult TYPE REF TO /AWS1/CL_LM2CONVERSATIONLEVE05 /AWS1/CL_LM2CONVERSATIONLEVE05

Contains information about the results related to the conversation associated with the user turn.


Queryable Attributes

input

Contains information about the user messages in the turn in the input.

Accessible with the following methods

Method Description
GET_INPUT() Getter for INPUT

expectedOutput

Contains information about the expected output for the user turn.

Accessible with the following methods

Method Description
GET_EXPECTEDOUTPUT() Getter for EXPECTEDOUTPUT

actualOutput

Contains information about the actual output for the user turn.

Accessible with the following methods

Method Description
GET_ACTUALOUTPUT() Getter for ACTUALOUTPUT

errorDetails

Details about an error in an execution of a test set.

Accessible with the following methods

Method Description
GET_ERRORDETAILS() Getter for ERRORDETAILS

endToEndResult

Specifies whether the expected and actual outputs match or not, or if there is an error in execution.

Accessible with the following methods

Method Description
GET_ENDTOENDRESULT() Getter for ENDTOENDRESULT, with configurable default
ASK_ENDTOENDRESULT() Getter for ENDTOENDRESULT w/ exceptions if field has no valu
HAS_ENDTOENDRESULT() Determine if ENDTOENDRESULT has a value

intentMatchResult

Specifies whether the expected and actual intents match or not.

Accessible with the following methods

Method Description
GET_INTENTMATCHRESULT() Getter for INTENTMATCHRESULT, with configurable default
ASK_INTENTMATCHRESULT() Getter for INTENTMATCHRESULT w/ exceptions if field has no v
HAS_INTENTMATCHRESULT() Determine if INTENTMATCHRESULT has a value

slotMatchResult

Specifies whether the expected and actual slots match or not.

Accessible with the following methods

Method Description
GET_SLOTMATCHRESULT() Getter for SLOTMATCHRESULT, with configurable default
ASK_SLOTMATCHRESULT() Getter for SLOTMATCHRESULT w/ exceptions if field has no val
HAS_SLOTMATCHRESULT() Determine if SLOTMATCHRESULT has a value

speechTranscriptionResult

Specifies whether the expected and actual speech transcriptions match or not, or if there is an error in execution.

Accessible with the following methods

Method Description
GET_SPEECHTRANSCRIPTIONRSLT() Getter for SPEECHTRANSCRIPTIONRESULT, with configurable defa
ASK_SPEECHTRANSCRIPTIONRSLT() Getter for SPEECHTRANSCRIPTIONRESULT w/ exceptions if field
HAS_SPEECHTRANSCRIPTIONRSLT() Determine if SPEECHTRANSCRIPTIONRESULT has a value

conversationLevelResult

Contains information about the results related to the conversation associated with the user turn.

Accessible with the following methods

Method Description
GET_CONVERSATIONLEVELRESULT() Getter for CONVERSATIONLEVELRESULT