Class: Aws::Bedrock::Types::VectorSearchBedrockRerankingConfiguration
- Inherits:
-
Struct
- Object
- Struct
- Aws::Bedrock::Types::VectorSearchBedrockRerankingConfiguration
- Defined in:
- gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb
Overview
Configuration for using Amazon Bedrock foundation models to rerank Knowledge Base vector search results. This enables more sophisticated relevance ranking using large language models.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#metadata_configuration ⇒ Types::MetadataConfigurationForReranking
Configuration for how document metadata should be used during the reranking process.
-
#model_configuration ⇒ Types::VectorSearchBedrockRerankingModelConfiguration
Configuration for the Amazon Bedrock foundation model used for reranking.
-
#number_of_reranked_results ⇒ Integer
The maximum number of results to rerank.
Instance Attribute Details
#metadata_configuration ⇒ Types::MetadataConfigurationForReranking
Configuration for how document metadata should be used during the reranking process. This determines which metadata fields are included when reordering search results.
12629 12630 12631 12632 12633 12634 12635 |
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 12629 class VectorSearchBedrockRerankingConfiguration < Struct.new( :model_configuration, :number_of_reranked_results, :metadata_configuration) SENSITIVE = [] include Aws::Structure end |
#model_configuration ⇒ Types::VectorSearchBedrockRerankingModelConfiguration
Configuration for the Amazon Bedrock foundation model used for reranking. This includes the model ARN and any additional request fields required by the model.
12629 12630 12631 12632 12633 12634 12635 |
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 12629 class VectorSearchBedrockRerankingConfiguration < Struct.new( :model_configuration, :number_of_reranked_results, :metadata_configuration) SENSITIVE = [] include Aws::Structure end |
#number_of_reranked_results ⇒ Integer
The maximum number of results to rerank. This limits how many of the initial vector search results will be processed by the reranking model. A smaller number improves performance but may exclude potentially relevant results.
12629 12630 12631 12632 12633 12634 12635 |
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 12629 class VectorSearchBedrockRerankingConfiguration < Struct.new( :model_configuration, :number_of_reranked_results, :metadata_configuration) SENSITIVE = [] include Aws::Structure end |