/AWS1/CL_BDZAGNTCRETRVMESSAGE¶
A message in the agentic retrieval conversation.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
io_content TYPE REF TO /AWS1/CL_BDZAGNTCRETRVMSGCONT /AWS1/CL_BDZAGNTCRETRVMSGCONT¶
The content of the message.
iv_role TYPE /AWS1/BDZCONVERSATIONROLE /AWS1/BDZCONVERSATIONROLE¶
The role of the message sender (e.g., user or assistant).
Queryable Attributes¶
content¶
The content of the message.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_CONTENT() |
Getter for CONTENT |
role¶
The role of the message sender (e.g., user or assistant).
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ROLE() |
Getter for ROLE, with configurable default |
ASK_ROLE() |
Getter for ROLE w/ exceptions if field has no value |
HAS_ROLE() |
Determine if ROLE 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_AGENTICRETRIEVEMESSAGES¶
TYPES TT_AGENTICRETRIEVEMESSAGES TYPE STANDARD TABLE OF REF TO /AWS1/CL_BDZAGNTCRETRVMESSAGE WITH DEFAULT KEY
.