View Source ExOpenAI.Components.CreateTranscriptionRequest (ex_openai.ex v1.5.1)

Schema representing a CreateTranscriptionRequest within the OpenAI API

Summary

Types

@type t() :: %ExOpenAI.Components.CreateTranscriptionRequest{
  file: bitstring() | {String.t(), bitstring()},
  language: String.t() | nil,
  model: :"whisper-1" | String.t(),
  prompt: String.t() | nil,
  response_format: (:vtt | :verbose_json | :srt | :text | :json) | nil,
  temperature: float() | nil
}