Skip to content
v2.274.0

VectorSearchBedrockRerankingModelConfigurationProperty Struct ​

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 ​

ts
// 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 ​

additionalModelRequestFieldsoptionalanyadditional_model_request_fieldsoptionalAnyadditionalModelRequestFieldsoptionalObjectAdditionalModelRequestFieldsoptionalobjectAdditionalModelRequestFieldsoptionalinterface{}#
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.

modelArnstringmodel_arnstrmodelArnStringModelArnstringModelArn*stringrequired#
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.