Class AIModelStage
java.lang.Object
bg.codexio.ai.openai.api.sdk.voice.translation.TranslationConfigurationStage
bg.codexio.ai.openai.api.sdk.voice.translation.AIModelStage
A stage to choose a model supported by
/v1/audio/translations model endpoint compatibility
.
-
Field Summary
Fields inherited from class bg.codexio.ai.openai.api.sdk.voice.translation.TranslationConfigurationStage
executor, requestBuilder -
Method Summary
Modifier and TypeMethodDescriptionpoweredBy(bg.codexio.ai.openai.api.models.ModelType modelType) Configures the AI Model to beWhisper10
-
Method Details
-
poweredBy
- Parameters:
modelType-ModelTypeusually implemented by- Whisper:
Whisper10
DallE30may result into an error, when the API responds.- Whisper:
- Returns:
AudioFileStageto configure the temperature.
-
poweredByWhisper10
Configures the AI Model to beWhisper10- Returns:
AudioFileStageto configure the temperature.
-