View Source ExOpenAI.Components.CreateTranslationResponseVerboseJson (ex_openai.ex v2.0.0-beta2)

Module for representing the OpenAI schema CreateTranslationResponseVerboseJson.

Fields

  • :duration - required - number()
    The duration of the input audio.

  • :language - required - String.t()
    The language of the output translation (always english).

  • :segments - optional - [ExOpenAI.Components.TranscriptionSegment.t()]
    Segments of the translated text and their corresponding details.

  • :text - required - String.t()
    The translated text.

Summary

Types

@type t() :: %ExOpenAI.Components.CreateTranslationResponseVerboseJson{
  duration: number(),
  language: String.t(),
  segments: [ExOpenAI.Components.TranscriptionSegment.t()] | nil,
  text: String.t()
}