interface EvaluatorConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.BedrockAgentCore.CfnEvaluator.EvaluatorConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsbedrockagentcore#CfnEvaluator_EvaluatorConfigProperty |
Java | software.amazon.awscdk.services.bedrockagentcore.CfnEvaluator.EvaluatorConfigProperty |
Python | aws_cdk.aws_bedrockagentcore.CfnEvaluator.EvaluatorConfigProperty |
TypeScript | aws-cdk-lib » aws_bedrockagentcore » CfnEvaluator » EvaluatorConfigProperty |
The configuration that defines how an evaluator assesses agent performance.
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 evaluatorConfigProperty: bedrockagentcore.CfnEvaluator.EvaluatorConfigProperty = {
llmAsAJudge: {
instructions: 'instructions',
modelConfig: {
bedrockEvaluatorModelConfig: {
modelId: 'modelId',
// the properties below are optional
additionalModelRequestFields: additionalModelRequestFields,
inferenceConfig: {
maxTokens: 123,
temperature: 123,
topP: 123,
},
},
},
ratingScale: {
categorical: [{
definition: 'definition',
label: 'label',
}],
numerical: [{
definition: 'definition',
label: 'label',
value: 123,
}],
},
},
};
Properties
| Name | Type | Description |
|---|---|---|
| llm | IResolvable | Llm | The configuration for LLM-as-a-Judge evaluation. |
llmAsAJudge
Type:
IResolvable | Llm
The configuration for LLM-as-a-Judge evaluation.

.NET
Go
Java
Python
TypeScript