Citation
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
citations
field -
RetrieveAndGenerate response – in the
citations
field
Contents
- generatedResponsePart
-
Contains the generated response and metadata
Type: GeneratedResponsePart object
Required: No
- retrievedReferences
-
Contains metadata about the sources cited for the generated response.
Type: Array of RetrievedReference objects
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: