Interface GenerationSamplingConfig.Builder

  • Method Details

    • maxScenarios

      GenerationSamplingConfig.Builder maxScenarios(Integer maxScenarios)

      The maximum number of scenarios to generate, from 1 to 1,000. The default is 100. The generation produces at most one scenario for each selected session. The dataset's draft examples plus this value can't be more than 1,000.

      Parameters:
      maxScenarios - The maximum number of scenarios to generate, from 1 to 1,000. The default is 100. The generation produces at most one scenario for each selected session. The dataset's draft examples plus this value can't be more than 1,000.
      Returns:
      Returns a reference to this object so that method calls can be chained together.