interface LlmAsAJudgeEvaluatorConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.BedrockAgentCore.CfnEvaluator.LlmAsAJudgeEvaluatorConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsbedrockagentcore#CfnEvaluator_LlmAsAJudgeEvaluatorConfigProperty |
Java | software.amazon.awscdk.services.bedrockagentcore.CfnEvaluator.LlmAsAJudgeEvaluatorConfigProperty |
Python | aws_cdk.aws_bedrockagentcore.CfnEvaluator.LlmAsAJudgeEvaluatorConfigProperty |
TypeScript | aws-cdk-lib » aws_bedrockagentcore » CfnEvaluator » LlmAsAJudgeEvaluatorConfigProperty |
The configuration for LLM-as-a-Judge evaluation.
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 llmAsAJudgeEvaluatorConfigProperty: bedrockagentcore.CfnEvaluator.LlmAsAJudgeEvaluatorConfigProperty = {
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 |
|---|---|---|
| instructions | string | The evaluation instructions that guide the language model in assessing agent performance. |
| model | IResolvable | Evaluator | The model configuration that specifies which foundation model to use for evaluation. |
| rating | IResolvable | Rating | The rating scale that defines how evaluators should score agent performance. |
instructions
Type:
string
The evaluation instructions that guide the language model in assessing agent performance.
modelConfig
Type:
IResolvable | Evaluator
The model configuration that specifies which foundation model to use for evaluation.
ratingScale
Type:
IResolvable | Rating
The rating scale that defines how evaluators should score agent performance.

.NET
Go
Java
Python
TypeScript