RerankResult - Amazon Bedrock

RerankResult

Contains information about a document that was reranked.

Contents

index

The ranking of the document. The lower a number, the higher the document is ranked.

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: