Package bg.codexio.ai.openai.api.sdk.voice.translation
package bg.codexio.ai.openai.api.sdk.voice.translation
-
ClassesClassDescriptionA stage to choose a model supported by /v1/audio/translations model endpoint compatibility .Registers callbacks and sends requestRegisters user input optionallyConfigures which audio file to translateConfigures the format of the output fileSets audio file for translation, before all other autoconfiguration.Registers text input optionallySimplifies configuration with already configured AI Model, temperature and output format;Sends blocking requests to OpenAI API with given user supplied promptConfigures the temperature or in other words, the creativity of the model.Entrypoint for Translation API.
The interaction starts by configuring the HTTP connection
either by providing a preconfiguredTranslationHttpExecutorhttp client,
HttpExecutorContext,SdkAuthor leave it toTranslation.defaults().Base for all Translation stagesConfigures how the HTTP client to act.