Class TemperatureStage

java.lang.Object
bg.codexio.ai.openai.api.sdk.voice.translation.TranslationConfigurationStage
bg.codexio.ai.openai.api.sdk.voice.translation.TemperatureStage

public class TemperatureStage extends TranslationConfigurationStage
Configures the temperature or in other words, the creativity of the model. This is usually related to temperature parameter.
  • Method Details

    • creativeAs

      public FormatStage creativeAs(bg.codexio.ai.openai.api.payload.creativity.Creativity creativity)
      Configures temperature
      Parameters:
      creativity - Creativity
      Returns:
      FormatStage to add prompts
    • deterministic

      public FormatStage deterministic()
      Configures temperature to Creativity.TRULY_DETERMINISTIC
      Returns:
      FormatStage to add prompts
    • randomized

      public FormatStage randomized()
      Configures temperature to Creativity.I_HAVE_NO_IDEA_WHAT_I_AM_TALKING
      Returns:
      FormatStage to add prompts