RerankDocument - Amazon Bedrock

RerankDocument

Contains information about a document to rerank. Choose the type to define and include the field that corresponds to the type.

Contents

type

The type of document to rerank.

Type: String

Valid Values: TEXT | JSON

Required: Yes

jsonDocument

Contains a JSON document to rerank.

Type: JSON value

Required: No

textDocument

Contains information about a text document to rerank.

Type: RerankTextDocument object

Required: No

See Also

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