KnowledgeBaseRetrievalResult - Amazon Bedrock (original) (raw)

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:

KnowledgeBaseRetrievalConfiguration

KnowledgeBaseRetrieveAndGenerateConfiguration

Did this page help you? - Yes

Thanks for letting us know we're doing a good job!

If you've got a moment, please tell us what we did right so we can do more of it.

Did this page help you? - No

Thanks for letting us know this page needs work. We're sorry we let you down.

If you've got a moment, please tell us how we can make the documentation better.