Class LanguageStage
- 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.
-
-
Field Summary
-
Fields inherited from class bg.codexio.ai.openai.api.sdk.voice.transcription.TranscriptionConfigurationStage
executor, requestBuilder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FormatStagetalkingIn(String language)Denotes a language in which the audio file isFormatStagetalkingInDeutsch()Denotes a language of the audio file to be German (de)FormatStagetalkingInEnglish()Denotes a language of the audio file to be English (en)
-
-
-
Method Detail
-
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:
FormatStageto configure the format of the output file
-
talkingInEnglish
public FormatStage talkingInEnglish()
Denotes a language of the audio file to be English (en)- Returns:
FormatStageto configure the format of the output file
-
talkingInDeutsch
public FormatStage talkingInDeutsch()
Denotes a language of the audio file to be German (de)- Returns:
FormatStageto configure the format of the output file
-
-