Class AIModelStage
- java.lang.Object
-
- bg.codexio.ai.openai.api.sdk.voice.translation.TranslationConfigurationStage
-
- bg.codexio.ai.openai.api.sdk.voice.translation.AIModelStage
-
public class AIModelStage extends TranslationConfigurationStage
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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AudioFileStagepoweredBy(bg.codexio.ai.openai.api.models.ModelType modelType)AudioFileStagepoweredByWhisper10()Configures the AI Model to beWhisper10
-
-
-
Method Detail
-
poweredBy
public AudioFileStage poweredBy(bg.codexio.ai.openai.api.models.ModelType modelType)
- Parameters:
modelType-ModelTypeusually implemented by- Whisper:
Whisper10
DallE30may result into an error, when the API responds.- Whisper:
- Returns:
AudioFileStageto configure the temperature.
-
poweredByWhisper10
public AudioFileStage poweredByWhisper10()
Configures the AI Model to beWhisper10- Returns:
AudioFileStageto configure the temperature.
-
-