class

OpenAI::TranscriptTextUsageDuration

Inherits JSON::Serializable < Reference < Object

Usage statistics for models billed by audio input duration.

Constructors

new(type_value : TranscriptTextUsageDurationType = TranscriptTextUsageDurationType::Duration, seconds : Float64 = 0.0)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

seconds

Duration of the input audio in seconds.

Source
seconds=(seconds : Float64)

Duration of the input audio in seconds.

Source
type_value

The type of the usage object. Always duration for this variant.

Source
type_value=(type_value : TranscriptTextUsageDurationType)

The type of the usage object. Always duration for this variant.

Source