Skip to content

/AWS1/CL_LM2USERTURNOUTPUTSPEC

Contains results that are output for the user turn by the test execution.

CONSTRUCTOR

IMPORTING

Required arguments:

io_intent TYPE REF TO /AWS1/CL_LM2USERTURNINTENTOUT /AWS1/CL_LM2USERTURNINTENTOUT

Contains information about the intent.

Optional arguments:

it_activecontexts TYPE /AWS1/CL_LM2ACTIVECONTEXT=>TT_ACTIVECONTEXTLIST TT_ACTIVECONTEXTLIST

The contexts that are active in the turn.

iv_transcript TYPE /AWS1/LM2TESTSETUTTERANCETEXT /AWS1/LM2TESTSETUTTERANCETEXT

The transcript that is output for the user turn by the test execution.


Queryable Attributes

intent

Contains information about the intent.

Accessible with the following methods

Method Description
GET_INTENT() Getter for INTENT

activeContexts

The contexts that are active in the turn.

Accessible with the following methods

Method Description
GET_ACTIVECONTEXTS() Getter for ACTIVECONTEXTS, with configurable default
ASK_ACTIVECONTEXTS() Getter for ACTIVECONTEXTS w/ exceptions if field has no valu
HAS_ACTIVECONTEXTS() Determine if ACTIVECONTEXTS has a value

transcript

The transcript that is output for the user turn by the test execution.

Accessible with the following methods

Method Description
GET_TRANSCRIPT() Getter for TRANSCRIPT, with configurable default
ASK_TRANSCRIPT() Getter for TRANSCRIPT w/ exceptions if field has no value
HAS_TRANSCRIPT() Determine if TRANSCRIPT has a value