AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Configuration for using Amazon Bedrock foundation models to rerank Knowledge Base vector search results. This enables more sophisticated relevance ranking using large language models.

Inheritance Hierarchy

System.Object
  Amazon.Bedrock.Model.VectorSearchBedrockRerankingConfiguration

Namespace: Amazon.Bedrock.Model
Assembly: AWSSDK.Bedrock.dll
Version: 3.x.y.z

Syntax

C#
public class VectorSearchBedrockRerankingConfiguration

The VectorSearchBedrockRerankingConfiguration type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property MetadataConfiguration Amazon.Bedrock.Model.MetadataConfigurationForReranking

Gets and sets the property MetadataConfiguration.

Configuration for how document metadata should be used during the reranking process. This determines which metadata fields are included when reordering search results.

Public Property ModelConfiguration Amazon.Bedrock.Model.VectorSearchBedrockRerankingModelConfiguration

Gets and sets the property ModelConfiguration.

Configuration for the Amazon Bedrock foundation model used for reranking. This includes the model ARN and any additional request fields required by the model.

Public Property NumberOfRerankedResults System.Int32

Gets and sets the property NumberOfRerankedResults.

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.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5