RerankResult - Amazon Bedrock

RerankResult

Contains information about a document that was reranked.

Contents

index

The original index of the document from the input sources array.

Type: Integer

Valid Range: Minimum value of 0. Maximum value of 1000.

Required: Yes

relevanceScore

The relevance score of the document.

Type: Float

Required: Yes

document

Contains information about the document.

Type: RerankDocument object

Required: No

See Also

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