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

public class AIModelStage extends TranscriptionConfigurationStage
A stage to choose a model supported by /v1/audio/transcriptions model endpoint compatibility .
  • Method Details

    • poweredBy

      public AudioFileStage poweredBy(bg.codexio.ai.openai.api.models.ModelType modelType)
      Parameters:
      modelType - ModelType usually implemented by
      • Whisper:
        • Whisper10
      Supplying other models such as DallE30 may result into an error, when the API responds.
      Returns:
      AudioFileStage to configure the temperature.
    • poweredByWhisper10

      public AudioFileStage poweredByWhisper10()
      Configures the AI Model to be Whisper10
      Returns:
      AudioFileStage to configure the temperature.