OpenAI::CreateTranscriptionResponseDiarizedJson
Inherits JSON::Serializable < Reference < Object
Represents a diarized transcription response returned by the model, including the combined transcript and speaker-segment annotations.
Constructors
new(pull : JSON::PullParser)
Sourcenew(task : CreateTranscriptionResponseDiarizedJsonTask = CreateTranscriptionResponseDiarizedJsonTask::Transcribe, duration : Float64 = 0.0, text : String = "", segments : Array(TranscriptionDiarizedSegment) = [] of TranscriptionDiarizedSegment, usage : CreateTranscriptionResponseDiarizedJsonUsage | Nil = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
Segments of the transcript annotated with timestamps and speaker labels.
task=(task : CreateTranscriptionResponseDiarizedJsonTask)
The type of task that was run. Always transcribe.
usage=(usage : CreateTranscriptionResponseDiarizedJsonUsage | Nil)
Token or duration usage statistics for the request.