VectorSearchBedrockRerankingConfiguration¶
Structure Class¶
VectorSearchBedrockRerankingConfiguration
dataclass
¶
Configures the Amazon Bedrock reranker model to improve the relevance of retrieved results.
Attributes¶
metadata_configuration
class-attribute
instance-attribute
¶
metadata_configuration: MetadataConfigurationForReranking | None = None
Specifies how metadata fields should be handled during the reranking process.
model_configuration
instance-attribute
¶
model_configuration: VectorSearchBedrockRerankingModelConfiguration
Specifies the configuration for the Amazon Bedrock reranker model.
number_of_reranked_results
class-attribute
instance-attribute
¶
number_of_reranked_results: int | None = None
Specifies the number of results to return after reranking.