KnowledgeBaseRetrievalResult - Amazon Bedrock
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

KnowledgeBaseRetrievalResult

Details about a result from querying the knowledge base.

This data type is used in the following API operations:

Contents

content

Contains information about the content of the chunk.

Type: RetrievalResultContent object

Required: Yes

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

score

The level of relevance of the result to the query.

Type: Double

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: