Class: Aws::Bedrock::Types::VectorSearchRerankingConfiguration

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb

Overview

Configuration 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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#bedrock_reranking_configurationTypes::VectorSearchBedrockRerankingConfiguration

Configuration for using Amazon Bedrock foundation models to rerank search results. This is required when the reranking type is set to BEDROCK.



9483
9484
9485
9486
9487
9488
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 9483

class VectorSearchRerankingConfiguration < Struct.new(
  :type,
  :bedrock_reranking_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#typeString

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.

Returns:

  • (String)


9483
9484
9485
9486
9487
9488
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 9483

class VectorSearchRerankingConfiguration < Struct.new(
  :type,
  :bedrock_reranking_configuration)
  SENSITIVE = []
  include Aws::Structure
end