Skip to content

/AWS1/CL_BDCHARNCONTENTBLOCK

A content block within a message.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_text TYPE /AWS1/BDCSENSITIVETEXT /AWS1/BDCSENSITIVETEXT

Text content.

io_tooluse TYPE REF TO /AWS1/CL_BDCHARNTOOLUSEBLOCK /AWS1/CL_BDCHARNTOOLUSEBLOCK

A tool use request from the model.

io_toolresult TYPE REF TO /AWS1/CL_BDCHARNTOOLRSLTBLOCK /AWS1/CL_BDCHARNTOOLRSLTBLOCK

A tool execution result.

io_reasoningcontent TYPE REF TO /AWS1/CL_BDCHARNREASNGCONTBLK /AWS1/CL_BDCHARNREASNGCONTBLK

Model reasoning content.


Queryable Attributes

text

Text content.

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

A tool use request from the model.

Accessible with the following methods

Method Description
GET_TOOLUSE() Getter for TOOLUSE

toolResult

A tool execution result.

Accessible with the following methods

Method Description
GET_TOOLRESULT() Getter for TOOLRESULT

reasoningContent

Model reasoning content.

Accessible with the following methods

Method Description
GET_REASONINGCONTENT() Getter for REASONINGCONTENT

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_HARNESSCONTENTBLOCKS

TYPES TT_HARNESSCONTENTBLOCKS TYPE STANDARD TABLE OF REF TO /AWS1/CL_BDCHARNCONTENTBLOCK WITH DEFAULT KEY
.