An object containing parameters for defining the OpenAI translation model.
The OpenAI client instance.
OptionalmodelRef?: ModelReference<CustomOptions>Optional reference to the model's configuration and custom options.
The name of the model.
OptionalpluginOptions?: PluginOptionsOptionalrequestBuilder?: TranslationRequestBuilderthe created ModelAction
Method to define a new Genkit Model that is compatible with Open AI Translation API.
These models are to be used to translate audio to text.