ManagedSearchConfiguration
¶
Source code in docs_src/capo_bedrock_agent_runtime/types/managed_search_configuration.py
filter
instance-attribute
¶
filter: NotRequired[RetrievalFilter]
Filters the metadata of the retrieved results so that Amazon Bedrock returns only results that match the filter.
number_of_results
instance-attribute
¶
number_of_results: NotRequired[int]
The number of results to retrieve.
reranking_configuration
instance-attribute
¶
reranking_configuration: NotRequired[ManagedSearchRerankingConfiguration]
Contains configurations for reranking the results retrieved from the managed search.
reranking_model_type
instance-attribute
¶
reranking_model_type: NotRequired[RerankingModelType]
The type of reranking model to use when reranking results retrieved from the managed search. Use CUSTOM to specify a model, MANAGED to use the service default, or NONE to disable reranking.