Skip to content

/AWS1/CL_BDZINLINEAGENTTRACE00

Contains information about the agent and session, alongside the agent's reasoning process and results from calling API actions and querying knowledge bases and metadata about the trace. You can use the trace to understand how the agent arrived at the response it provided the customer. For more information, see Trace enablement.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_sessionid TYPE /AWS1/BDZSESSIONID /AWS1/BDZSESSIONID

The unique identifier of the session with the agent.

io_trace TYPE REF TO /AWS1/CL_BDZTRACE /AWS1/CL_BDZTRACE

Contains one part of the agent's reasoning process and results from calling API actions and querying knowledge bases. You can use the trace to understand how the agent arrived at the response it provided the customer. For more information, see Trace enablement.

it_callerchain TYPE /AWS1/CL_BDZCALLER=>TT_CALLERCHAIN TT_CALLERCHAIN

The caller chain for the trace part.

iv_eventtime TYPE /AWS1/BDZDATETIMESTAMP /AWS1/BDZDATETIMESTAMP

The time that trace occurred.

iv_collaboratorname TYPE /AWS1/BDZNAME /AWS1/BDZNAME

The collaborator name for the trace part.


Queryable Attributes

sessionId

The unique identifier of the session with the agent.

Accessible with the following methods

Method Description
GET_SESSIONID() Getter for SESSIONID, with configurable default
ASK_SESSIONID() Getter for SESSIONID w/ exceptions if field has no value
HAS_SESSIONID() Determine if SESSIONID has a value

trace

Contains one part of the agent's reasoning process and results from calling API actions and querying knowledge bases. You can use the trace to understand how the agent arrived at the response it provided the customer. For more information, see Trace enablement.

Accessible with the following methods

Method Description
GET_TRACE() Getter for TRACE

callerChain

The caller chain for the trace part.

Accessible with the following methods

Method Description
GET_CALLERCHAIN() Getter for CALLERCHAIN, with configurable default
ASK_CALLERCHAIN() Getter for CALLERCHAIN w/ exceptions if field has no value
HAS_CALLERCHAIN() Determine if CALLERCHAIN has a value

eventTime

The time that trace occurred.

Accessible with the following methods

Method Description
GET_EVENTTIME() Getter for EVENTTIME, with configurable default
ASK_EVENTTIME() Getter for EVENTTIME w/ exceptions if field has no value
HAS_EVENTTIME() Determine if EVENTTIME has a value

collaboratorName

The collaborator name for the trace part.

Accessible with the following methods

Method Description
GET_COLLABORATORNAME() Getter for COLLABORATORNAME, with configurable default
ASK_COLLABORATORNAME() Getter for COLLABORATORNAME w/ exceptions if field has no va
HAS_COLLABORATORNAME() Determine if COLLABORATORNAME has a value