Skip to content

/AWS1/CL_BDRCITATIONSCONTBLOCK

A content block that contains both generated text and associated citation information. This block type is returned when document citations are enabled, providing traceability between the generated content and the source documents that informed the response.

CONSTRUCTOR

IMPORTING

Optional arguments:

it_content TYPE /AWS1/CL_BDRCITATIONGENR8DCONT=>TT_CITATIONGENR8DCONTENTLIST TT_CITATIONGENR8DCONTENTLIST

The generated content that is supported by the associated citations.

it_citations TYPE /AWS1/CL_BDRCITATION=>TT_CITATIONS TT_CITATIONS

An array of citations that reference the source documents used to generate the associated content.


Queryable Attributes

content

The generated content that is supported by the associated citations.

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

citations

An array of citations that reference the source documents used to generate the associated content.

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