Skip to content

VectorSearchRerankingConfiguration

Source code in docs_src/capo_bedrock/types/vector_search_reranking_configuration.py
class VectorSearchRerankingConfiguration(TypedDict, closed=True):
    type: "capo_bedrock.types.vector_search_reranking_configuration_type.VectorSearchRerankingConfigurationType"
    """<p>The type of reranking to apply to vector search results. Currently, the only supported value is BEDROCK, which uses Amazon Bedrock foundation models for reranking.</p>"""
    bedrock_reranking_configuration: NotRequired[
        "capo_bedrock.types.vector_search_bedrock_reranking_configuration.VectorSearchBedrockRerankingConfiguration"
    ]
    """<p>Configuration for using Amazon Bedrock foundation models to rerank search results. This is required when the reranking type is set to BEDROCK.</p>"""

bedrock_reranking_configuration instance-attribute

bedrock_reranking_configuration: NotRequired[VectorSearchBedrockRerankingConfiguration]

Configuration for using Amazon Bedrock foundation models to rerank search results. This is required when the reranking type is set to BEDROCK.

type instance-attribute

The type of reranking to apply to vector search results. Currently, the only supported value is BEDROCK, which uses Amazon Bedrock foundation models for reranking.