Skip to content

/AWS1/CL_DOAASSSTNTMSGBLOCK

A block of content in an assistant message.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_text TYPE /AWS1/DOASTRING /AWS1/DOASTRING

Text content from the assistant.

io_tooluse TYPE REF TO /AWS1/CL_RT_DOCUMENT /AWS1/CL_RT_DOCUMENT

Tool use request from the assistant.


Queryable Attributes

text

Text content from the assistant.

Accessible with the following methods

Method Description
GET_TEXT() Getter for TEXT, with configurable default
ASK_TEXT() Getter for TEXT w/ exceptions if field has no value
HAS_TEXT() Determine if TEXT has a value

toolUse

Tool use request from the assistant.

Accessible with the following methods

Method Description
GET_TOOLUSE() Getter for TOOLUSE, with configurable default
ASK_TOOLUSE() Getter for TOOLUSE w/ exceptions if field has no value
HAS_TOOLUSE() Determine if TOOLUSE 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_ASSISTANTMESSAGE

TYPES TT_ASSISTANTMESSAGE TYPE STANDARD TABLE OF REF TO /AWS1/CL_DOAASSSTNTMSGBLOCK WITH DEFAULT KEY
.