import { OpenAI } from "https://deno.land/x/openai_deno@v0.9.8/mod.ts";
Translates audio into into English.
Parameters
file: string | BlobPart
The audio file to translate, in one of these formats: mp3, mp4, mpeg, mpga, m4a, wav, or webm.
optional
params: CreateTranslationParamsOptional parameters for the API.
Returns
Promise<CreateTranslationResponse>
The translation of the audio.