Class AudioFileStage
java.lang.Object
bg.codexio.ai.openai.api.sdk.voice.translation.TranslationConfigurationStage
bg.codexio.ai.openai.api.sdk.voice.translation.AudioFileStage
Configures which audio file to translate
-
Field Summary
Fields inherited from class bg.codexio.ai.openai.api.sdk.voice.translation.TranslationConfigurationStage
executor, requestBuilder -
Method Summary
Modifier and TypeMethodDescriptionSets local audio file to translate.
-
Method Details
-
translate
Sets local audio file to translate. Must be one these formats:- flac
- mp3
- mp4
- mpeg
- mpga
- m4a
- ogg
- wav
- Parameters:
audioFile- local file- Returns:
TemperatureStageto configure the temperature level
-