Skip to content

VectorSearchBedrockRerankingConfigurationDict

Dictionary Type

VectorSearchBedrockRerankingConfigurationDict

Bases: TypedDict

Dictionary form of VectorSearchBedrockRerankingConfiguration.

Attributes

metadata_configuration instance-attribute

Configuration for how document metadata should be used during the reranking process. This determines which metadata fields are included when reordering search results.

model_configuration instance-attribute

Configuration for the Amazon Bedrock foundation model used for reranking. This includes the model ARN and any additional request fields required by the model.

number_of_reranked_results instance-attribute
number_of_reranked_results: int | None

The maximum number of results to rerank. This limits how many of the initial vector search results will be processed by the reranking model. A smaller number improves performance but may exclude potentially relevant results.