interface BedrockEvaluatorModelConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.BedrockAgentCore.CfnEvaluator.BedrockEvaluatorModelConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsbedrockagentcore#CfnEvaluator_BedrockEvaluatorModelConfigProperty |
Java | software.amazon.awscdk.services.bedrockagentcore.CfnEvaluator.BedrockEvaluatorModelConfigProperty |
Python | aws_cdk.aws_bedrockagentcore.CfnEvaluator.BedrockEvaluatorModelConfigProperty |
TypeScript | aws-cdk-lib » aws_bedrockagentcore » CfnEvaluator » BedrockEvaluatorModelConfigProperty |
The configuration for using Amazon Bedrock models in evaluator assessments.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrockagentcore as bedrockagentcore } from 'aws-cdk-lib';
declare const additionalModelRequestFields: any;
const bedrockEvaluatorModelConfigProperty: bedrockagentcore.CfnEvaluator.BedrockEvaluatorModelConfigProperty = {
modelId: 'modelId',
// the properties below are optional
additionalModelRequestFields: additionalModelRequestFields,
inferenceConfig: {
maxTokens: 123,
temperature: 123,
topP: 123,
},
};
Properties
| Name | Type | Description |
|---|---|---|
| model | string | The identifier of the Amazon Bedrock model to use for evaluation. |
| additional | any | Additional model-specific request fields. |
| inference | IResolvable | Inference | The inference configuration parameters that control model behavior during evaluation. |
modelId
Type:
string
The identifier of the Amazon Bedrock model to use for evaluation.
additionalModelRequestFields?
Type:
any
(optional)
Additional model-specific request fields.
inferenceConfig?
Type:
IResolvable | Inference
(optional)
The inference configuration parameters that control model behavior during evaluation.

.NET
Go
Java
Python
TypeScript