ManagedSearchConfiguration¶
Structure Class¶
ManagedSearchConfiguration
dataclass
¶
Configuration for managed search in a knowledge base. Managed search automatically determines the best search strategy based on your data store configuration.
Attributes¶
filter
class-attribute
instance-attribute
¶
filter: RetrievalFilter | None = field(repr=False, default=None)
Filters the metadata of the retrieved results so that Amazon Bedrock returns only results that match the filter.
number_of_results
class-attribute
instance-attribute
¶
number_of_results: int | None = None
The number of results to retrieve.
reranking_configuration
class-attribute
instance-attribute
¶
reranking_configuration: ManagedSearchRerankingConfiguration | None = None
Contains configurations for reranking the results retrieved from the managed search.
reranking_model_type
class-attribute
instance-attribute
¶
reranking_model_type: RerankingModelType | None = None
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.