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

public class LanguageStage extends TranscriptionConfigurationStage
Tells the OpenAI API in which language the voice in the audio file is.
  • Method Details

    • talkingIn

      public FormatStage talkingIn(String language)
      Denotes a language in which the audio file is
      Parameters:
      language - in short format such as en, de, ft, es, bg, lt, ro, ...
      Returns:
      FormatStage to configure the format of the output file
    • talkingInEnglish

      public FormatStage talkingInEnglish()
      Denotes a language of the audio file to be English (en)
      Returns:
      FormatStage to configure the format of the output file
    • talkingInDeutsch

      public FormatStage talkingInDeutsch()
      Denotes a language of the audio file to be German (de)
      Returns:
      FormatStage to configure the format of the output file