/AWS1/CL_BDRCITATION¶
Contains information about a citation that references a specific source document. Citations provide traceability between the model's generated response and the source documents that informed that response.
CONSTRUCTOR
¶
IMPORTING¶
Optional arguments:¶
iv_title
TYPE /AWS1/BDRSTRING
/AWS1/BDRSTRING
¶
The title or identifier of the source document being cited.
it_sourcecontent
TYPE /AWS1/CL_BDRCITATIONSOURCECONT=>TT_CITATIONSOURCECONTENTLIST
TT_CITATIONSOURCECONTENTLIST
¶
The specific content from the source document that was referenced or cited in the generated response.
io_location
TYPE REF TO /AWS1/CL_BDRCITATIONLOCATION
/AWS1/CL_BDRCITATIONLOCATION
¶
The precise location within the source document where the cited content can be found, including character positions, page numbers, or chunk identifiers.
Queryable Attributes¶
title¶
The title or identifier of the source document being cited.
Accessible with the following methods¶
Method | Description |
---|---|
GET_TITLE() |
Getter for TITLE, with configurable default |
ASK_TITLE() |
Getter for TITLE w/ exceptions if field has no value |
HAS_TITLE() |
Determine if TITLE has a value |
sourceContent¶
The specific content from the source document that was referenced or cited in the generated response.
Accessible with the following methods¶
Method | Description |
---|---|
GET_SOURCECONTENT() |
Getter for SOURCECONTENT, with configurable default |
ASK_SOURCECONTENT() |
Getter for SOURCECONTENT w/ exceptions if field has no value |
HAS_SOURCECONTENT() |
Determine if SOURCECONTENT has a value |
location¶
The precise location within the source document where the cited content can be found, including character positions, page numbers, or chunk identifiers.
Accessible with the following methods¶
Method | Description |
---|---|
GET_LOCATION() |
Getter for LOCATION |
Public Local Types In This Class¶
Internal table types, representing arrays and maps of this class, are defined as local types:
TT_CITATIONS
¶
TYPES TT_CITATIONS TYPE STANDARD TABLE OF REF TO /AWS1/CL_BDRCITATION WITH DEFAULT KEY
.