Skip to content

/AWS1/CL_BDZAGENTICRTVGENDRSP

The generated response synthesized from retrieved results.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_answer TYPE /AWS1/BDZSTRING /AWS1/BDZSTRING

The generated answer text.

Optional arguments:

it_citations TYPE /AWS1/CL_BDZAGNTCRETRVCITATION=>TT_AGENTICRETRIEVECITATIONLIST TT_AGENTICRETRIEVECITATIONLIST

Citations mapping spans of the answer to supporting results.


Queryable Attributes

answer

The generated answer text.

Accessible with the following methods

Method Description
GET_ANSWER() Getter for ANSWER, with configurable default
ASK_ANSWER() Getter for ANSWER w/ exceptions if field has no value
HAS_ANSWER() Determine if ANSWER has a value

citations

Citations mapping spans of the answer to supporting results.

Accessible with the following methods

Method Description
GET_CITATIONS() Getter for CITATIONS, with configurable default
ASK_CITATIONS() Getter for CITATIONS w/ exceptions if field has no value
HAS_CITATIONS() Determine if CITATIONS has a value