interface OpenResponsesEvaluatorModelConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.BedrockAgentCore.CfnEvaluator.OpenResponsesEvaluatorModelConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsbedrockagentcore#CfnEvaluator_OpenResponsesEvaluatorModelConfigProperty |
Java | software.amazon.awscdk.services.bedrockagentcore.CfnEvaluator.OpenResponsesEvaluatorModelConfigProperty |
Python | aws_cdk.aws_bedrockagentcore.CfnEvaluator.OpenResponsesEvaluatorModelConfigProperty |
TypeScript | aws-cdk-lib » aws_bedrockagentcore » CfnEvaluator » OpenResponsesEvaluatorModelConfigProperty |
The configuration for using OpenResponses-compatible 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';
const openResponsesEvaluatorModelConfigProperty: bedrockagentcore.CfnEvaluator.OpenResponsesEvaluatorModelConfigProperty = {
modelId: 'modelId',
// the properties below are optional
maxOutputTokens: 123,
reasoning: {
effort: 'effort',
},
temperature: 123,
topP: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| model | string | The identifier of the model to use for evaluation. |
| max | number | The maximum number of output tokens to generate, including visible output and reasoning tokens. |
| reasoning? | IResolvable | Reasoning | The reasoning configuration for reasoning models. |
| temperature? | number | The sampling temperature between 0 and 2. |
| top | number | The nucleus sampling probability mass between 0 and 1. |
modelId
Type:
string
The identifier of the model to use for evaluation.
maxOutputTokens?
Type:
number
(optional)
The maximum number of output tokens to generate, including visible output and reasoning tokens.
reasoning?
Type:
IResolvable | Reasoning
(optional)
The reasoning configuration for reasoning models.
temperature?
Type:
number
(optional)
The sampling temperature between 0 and 2.
topP?
Type:
number
(optional)
The nucleus sampling probability mass between 0 and 1.

.NET
Go
Java
Python
TypeScript