Skip to content

/AWS1/CL_BDZAGNTCRETRVRSLTEVT

An event containing agentic retrieval results.

CONSTRUCTOR

IMPORTING

Required arguments:

it_results TYPE /AWS1/CL_BDZAGNTCRETRVRSLTITEM=>TT_AGENTICRETRIEVERESULTS TT_AGENTICRETRIEVERESULTS

The list of retrieved result items.

Optional arguments:

io_generatedresponse TYPE REF TO /AWS1/CL_BDZAGENTICRTVGENDRSP /AWS1/CL_BDZAGENTICRTVGENDRSP

The generated response. Present only when generateResponse is true.

iv_nexttoken TYPE /AWS1/BDZNEXTTOKEN /AWS1/BDZNEXTTOKEN

Opaque continuation token for paginated results.


Queryable Attributes

results

The list of retrieved result items.

Accessible with the following methods

Method Description
GET_RESULTS() Getter for RESULTS, with configurable default
ASK_RESULTS() Getter for RESULTS w/ exceptions if field has no value
HAS_RESULTS() Determine if RESULTS has a value

generatedResponse

The generated response. Present only when generateResponse is true.

Accessible with the following methods

Method Description
GET_GENERATEDRESPONSE() Getter for GENERATEDRESPONSE

nextToken

Opaque continuation token for paginated results.

Accessible with the following methods

Method Description
GET_NEXTTOKEN() Getter for NEXTTOKEN, with configurable default
ASK_NEXTTOKEN() Getter for NEXTTOKEN w/ exceptions if field has no value
HAS_NEXTTOKEN() Determine if NEXTTOKEN has a value