Interface OpenResponsesEvaluatorModelConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<OpenResponsesEvaluatorModelConfig.Builder,,OpenResponsesEvaluatorModelConfig> SdkBuilder<OpenResponsesEvaluatorModelConfig.Builder,,OpenResponsesEvaluatorModelConfig> SdkPojo
- Enclosing class:
OpenResponsesEvaluatorModelConfig
-
Method Summary
Modifier and TypeMethodDescriptionmaxOutputTokens(Integer maxOutputTokens) The maximum number of tokens to generate in the model response, including visible output and reasoning tokens.The identifier of the model to use for evaluation.reasoning(Consumer<ReasoningConfiguration.Builder> reasoning) The reasoning configuration for reasoning models.reasoning(ReasoningConfiguration reasoning) The reasoning configuration for reasoning models.temperature(Float temperature) The temperature value that controls randomness in the model's responses.The top-p sampling parameter that controls the diversity of the model's responses by limiting the cumulative probability of token choices.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
modelId
The identifier of the model to use for evaluation.
- Parameters:
modelId- The identifier of the model to use for evaluation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxOutputTokens
The maximum number of tokens to generate in the model response, including visible output and reasoning tokens.
- Parameters:
maxOutputTokens- The maximum number of tokens to generate in the model response, including visible output and reasoning tokens.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
temperature
The temperature value that controls randomness in the model's responses. Lower values produce more deterministic outputs.
- Parameters:
temperature- The temperature value that controls randomness in the model's responses. Lower values produce more deterministic outputs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
topP
The top-p sampling parameter that controls the diversity of the model's responses by limiting the cumulative probability of token choices.
- Parameters:
topP- The top-p sampling parameter that controls the diversity of the model's responses by limiting the cumulative probability of token choices.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reasoning
The reasoning configuration for reasoning models. Non-reasoning models ignore this configuration.
- Parameters:
reasoning- The reasoning configuration for reasoning models. Non-reasoning models ignore this configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reasoning
default OpenResponsesEvaluatorModelConfig.Builder reasoning(Consumer<ReasoningConfiguration.Builder> reasoning) The reasoning configuration for reasoning models. Non-reasoning models ignore this configuration.
This is a convenience method that creates an instance of theReasoningConfiguration.Builderavoiding the need to create one manually viaReasoningConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toreasoning(ReasoningConfiguration).- Parameters:
reasoning- a consumer that will call methods onReasoningConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-