interface VectorSearchBedrockRerankingModelConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.aws_bedrock.CfnFlowVersion.VectorSearchBedrockRerankingModelConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsbedrock#CfnFlowVersion_VectorSearchBedrockRerankingModelConfigurationProperty |
Java | software.amazon.awscdk.services.bedrock.CfnFlowVersion.VectorSearchBedrockRerankingModelConfigurationProperty |
Python | aws_cdk.aws_bedrock.CfnFlowVersion.VectorSearchBedrockRerankingModelConfigurationProperty |
TypeScript | aws-cdk-lib » aws_bedrock » CfnFlowVersion » VectorSearchBedrockRerankingModelConfigurationProperty |
Configuration for the Amazon Bedrock foundation model used for reranking vector search results.
This specifies which model to use and any additional parameters required by the model.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrock as bedrock } from 'aws-cdk-lib';
declare const additionalModelRequestFields: any;
const vectorSearchBedrockRerankingModelConfigurationProperty: bedrock.CfnFlowVersion.VectorSearchBedrockRerankingModelConfigurationProperty = {
modelArn: 'modelArn',
// the properties below are optional
additionalModelRequestFields: additionalModelRequestFields,
};
Properties
| Name | Type | Description |
|---|---|---|
| model | string | The Amazon Resource Name (ARN) of the foundation model to use for reranking. |
| additional | any | A list of additional fields to include in the model request during reranking. |
modelArn
Type:
string
The Amazon Resource Name (ARN) of the foundation model to use for reranking.
This model processes the query and search results to determine a more relevant ordering.
additionalModelRequestFields?
Type:
any
(optional)
A list of additional fields to include in the model request during reranking.
These fields provide extra context or configuration options specific to the selected foundation model.

.NET
Go
Java
Python
TypeScript