RetrievedReference
Contains metadata about a source cited for the generated response.
This data type is used in the following API operations:
-
RetrieveAndGenerate response – in the
retrievedReferences
field -
InvokeAgent response – in the
retrievedReferences
field
Contents
- content
-
Contains the cited text from the data source.
Type: RetrievalResultContent object
Required: No
- location
-
Contains information about the location of the data source.
Type: RetrievalResultLocation object
Required: No
- metadata
-
Contains metadata attributes and their values for the file in the data source. For more information, see Metadata and filtering.
Type: String to JSON value map
Map Entries: Maximum number of items.
Key Length Constraints: Minimum length of 1. Maximum length of 100.
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: