Skip to content

VectorSearchRerankingConfiguration

Source code in docs_src/capo_bedrock_agent/types/vector_search_reranking_configuration.py
class VectorSearchRerankingConfiguration(TypedDict, closed=True):
    type: "capo_bedrock_agent.types.vector_search_reranking_configuration_type.VectorSearchRerankingConfigurationType"
    """<p>Specifies the type of reranking model to use. Currently, the only supported value is <code>BEDROCK_RERANKING_MODEL</code>.</p>"""
    bedrock_reranking_configuration: NotRequired[
        "capo_bedrock_agent.types.vector_search_bedrock_reranking_configuration.VectorSearchBedrockRerankingConfiguration"
    ]
    """<p>Specifies the configuration for using an Amazon Bedrock reranker model to rerank retrieved results.</p>"""

bedrock_reranking_configuration instance-attribute

bedrock_reranking_configuration: NotRequired[VectorSearchBedrockRerankingConfiguration]

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.