View a markdown version of this page

ManagedSearchConfiguration - Amazon Bedrock

ManagedSearchConfiguration

Configuration for managed search in a knowledge base. Managed search automatically determines the best search strategy based on your data store configuration.

Contents

filter

Filters the metadata of the retrieved results so that Amazon Bedrock returns only results that match the filter.

Type: RetrievalFilter object

Note: This object is a Union. Only one member of this object can be specified or returned.

Required: No

numberOfResults

The number of results to retrieve.

Type: Integer

Valid Range: Minimum value of 1. Maximum value of 100.

Required: No

rerankingConfiguration

Contains configurations for reranking the results retrieved from the managed search.

Type: ManagedSearchRerankingConfiguration object

Required: No

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.

Type: String

Valid Values: CUSTOM | MANAGED | NONE

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: