Skip to content

Bedrock Agent  >  Structures  >  VectorSearchRerankingConfiguration

VectorSearchRerankingConfiguration

Structure Class

VectorSearchRerankingConfiguration dataclass

Specifies how retrieved results from a knowledge base are reranked to improve relevance.

Attributes

bedrock_reranking_configuration class-attribute instance-attribute
bedrock_reranking_configuration: VectorSearchBedrockRerankingConfiguration | None = None

Specifies the configuration for using an Amazon Bedrock reranker model to rerank retrieved results.

type instance-attribute

Specifies the type of reranking model to use. Currently, the only supported value is BEDROCK_RERANKING_MODEL.