Skip to content

/AWS1/CL_BDZAGNTCRETRVRSLTITEM

A single item from the agentic retrieval results.

CONSTRUCTOR

IMPORTING

Required arguments:

io_content TYPE REF TO /AWS1/CL_BDZRETRIEVALCONTENT /AWS1/CL_BDZRETRIEVALCONTENT

The retrieved content.

io_sourceretriever TYPE REF TO /AWS1/CL_BDZAGTCRTVSOURCERETR /AWS1/CL_BDZAGTCRTVSOURCERETR

The source retriever that produced this result.

Optional arguments:

it_metadata TYPE /AWS1/CL_RT_DOCUMENT=>TT_MAP TT_MAP

Metadata associated with the retrieved item.


Queryable Attributes

content

The retrieved content.

Accessible with the following methods

Method Description
GET_CONTENT() Getter for CONTENT

metadata

Metadata associated with the retrieved item.

Accessible with the following methods

Method Description
GET_METADATA() Getter for METADATA, with configurable default
ASK_METADATA() Getter for METADATA w/ exceptions if field has no value
HAS_METADATA() Determine if METADATA has a value

sourceRetriever

The source retriever that produced this result.

Accessible with the following methods

Method Description
GET_SOURCERETRIEVER() Getter for SOURCERETRIEVER

Public Local Types In This Class

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

TT_AGENTICRETRIEVERESULTS

TYPES TT_AGENTICRETRIEVERESULTS TYPE STANDARD TABLE OF REF TO /AWS1/CL_BDZAGNTCRETRVRSLTITEM WITH DEFAULT KEY
.