OpenAI::CreateTranscriptionResponseVerboseJson
Inherits JSON::Serializable < Reference < Object
Represents a verbose json transcription response returned by model, based on the provided input.
Constructors
new(pull : JSON::PullParser)
Sourcenew(language : String = "", duration : Float64 = 0.0, text : String = "", words : Array(TranscriptionWord) | Nil = nil, segments : Array(TranscriptionSegment) | Nil = nil, usage : TranscriptTextUsageDuration | Nil = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
Segments of the transcribed text and their corresponding details.
usage
Sourceusage=(usage : TranscriptTextUsageDuration | Nil)
Source