Interface OpenResponsesEvaluatorModelConfig.Builder

  • 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

      OpenResponsesEvaluatorModelConfig.Builder maxOutputTokens(Integer 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

      The reasoning configuration for reasoning models. Non-reasoning models ignore this configuration.

      This is a convenience method that creates an instance of the ReasoningConfiguration.Builder avoiding the need to create one manually via ReasoningConfiguration.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to reasoning(ReasoningConfiguration).

      Parameters:
      reasoning - a consumer that will call methods on ReasoningConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: