Class TemperatureStage

java.lang.Object
bg.codexio.ai.openai.api.sdk.voice.transcription.TranscriptionConfigurationStage
bg.codexio.ai.openai.api.sdk.voice.transcription.TemperatureStage

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

    • creativeAs

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

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

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