/AWS1/CL_BDAMESSAGE¶
A message input or response from a model. For more information, see Create a prompt using Prompt management.
CONSTRUCTOR
¶
IMPORTING¶
Required arguments:¶
iv_role
TYPE /AWS1/BDACONVERSATIONROLE
/AWS1/BDACONVERSATIONROLE
¶
The role that the message belongs to.
it_content
TYPE /AWS1/CL_BDACONTENTBLOCK=>TT_CONTENTBLOCKS
TT_CONTENTBLOCKS
¶
The content in the message.
Queryable Attributes¶
role¶
The role that the message belongs to.
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 |
content¶
The content in the message.
Accessible with the following methods¶
Method | Description |
---|---|
GET_CONTENT() |
Getter for CONTENT, with configurable default |
ASK_CONTENT() |
Getter for CONTENT w/ exceptions if field has no value |
HAS_CONTENT() |
Determine if CONTENT 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_MESSAGES
¶
TYPES TT_MESSAGES TYPE STANDARD TABLE OF REF TO /AWS1/CL_BDAMESSAGE WITH DEFAULT KEY
.