Values.VectorSearchRerankingConfigurationSourceConfiguration for reranking vector search results to improve relevance. Reranking applies additional relevance models to reorder the initial vector search results based on more sophisticated criteria.
type nonrec t = {type_ : VectorSearchRerankingConfigurationType.t;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.
*)bedrockRerankingConfiguration : VectorSearchBedrockRerankingConfiguration.t
option;Configuration for using Amazon Bedrock foundation models to rerank search results. This is required when the reranking type is set to BEDROCK.
*)}val make :
?bedrockRerankingConfiguration:??? ->
type_:VectorSearchRerankingConfigurationType.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `Structure of
(string
* [> `Integer of
VectorSearchBedrockRerankingConfigurationNumberOfRerankedResultsInteger.t
| `Structure of
(string
* [> `Enum of string
| `Map of
([> `String of AdditionalModelRequestFieldsKey.t ]
* [> `Structure of 'a list ])
list
| `String of BedrockRerankingModelArn.t
| `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `String of
FieldForRerankingFieldNameString.t ])
list ]
list ])
list ])
list ])
list ])
list ]