interface EvaluatorConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.BedrockAgentCore.CfnEvaluatorPropsMixin.EvaluatorConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsbedrockagentcore#CfnEvaluatorPropsMixin_EvaluatorConfigProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.bedrockagentcore.CfnEvaluatorPropsMixin.EvaluatorConfigProperty |
Python | aws_cdk.cfn_property_mixins.aws_bedrockagentcore.CfnEvaluatorPropsMixin.EvaluatorConfigProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_bedrockagentcore » CfnEvaluatorPropsMixin » 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/cfn-property-mixins';
declare const additionalModelRequestFields: any;
const evaluatorConfigProperty: bedrockagentcore.CfnEvaluatorPropsMixin.EvaluatorConfigProperty = {
llmAsAJudge: {
instructions: 'instructions',
modelConfig: {
bedrockEvaluatorModelConfig: {
additionalModelRequestFields: additionalModelRequestFields,
inferenceConfig: {
maxTokens: 123,
temperature: 123,
topP: 123,
},
modelId: 'modelId',
},
},
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
(optional)
The configuration for LLM-as-a-Judge evaluation.

.NET
Go
Java
Python
TypeScript