Skip to content

VectorSearchBedrockRerankingConfiguration

Structure Class

VectorSearchBedrockRerankingConfiguration dataclass

Bases: _SerdeShape

Configures the Amazon Bedrock reranker model to improve the relevance of retrieved results.

Attributes

metadata_configuration class-attribute instance-attribute
metadata_configuration: MetadataConfigurationForReranking | None = ...

Specifies how metadata fields should be handled during the reranking process.

model_configuration instance-attribute

Specifies the configuration for the Amazon Bedrock reranker model.

number_of_reranked_results class-attribute instance-attribute
number_of_reranked_results: int | None = ...

Specifies the number of results to return after reranking.