/AWS1/CL_BDZCITATION¶
An object containing a segment of the generated response that is based on a source in the knowledge base, alongside information about the source.
This data type is used in the following API operations:
-
InvokeAgent response – in the
citationsfield -
RetrieveAndGenerate response – in the
citationsfield
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
io_generatedresponsepart TYPE REF TO /AWS1/CL_BDZGENERATEDRSPPART /AWS1/CL_BDZGENERATEDRSPPART¶
Contains the generated response and metadata
it_retrievedreferences TYPE /AWS1/CL_BDZRETRIEVEDREFERENCE=>TT_RETRIEVEDREFERENCES TT_RETRIEVEDREFERENCES¶
Contains metadata about the sources cited for the generated response.
Queryable Attributes¶
generatedResponsePart¶
Contains the generated response and metadata
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_GENERATEDRESPONSEPART() |
Getter for GENERATEDRESPONSEPART |
retrievedReferences¶
Contains metadata about the sources cited for the generated response.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_RETRIEVEDREFERENCES() |
Getter for RETRIEVEDREFERENCES, with configurable default |
ASK_RETRIEVEDREFERENCES() |
Getter for RETRIEVEDREFERENCES w/ exceptions if field has no |
HAS_RETRIEVEDREFERENCES() |
Determine if RETRIEVEDREFERENCES has a value |
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_BDZCITATION WITH DEFAULT KEY
.