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

Usage statistics for models billed by audio input duration.

Fields

  • :seconds - required - number()
    Duration of the input audio in seconds.

  • :type - required - :duration
    The type of the usage object. Always duration for this variant.
    Allowed values: "duration"

Summary

Types

@type t() :: %ExOpenAI.Components.TranscriptTextUsageDuration{
  seconds: number(),
  type: :duration
}