Instance Propertymacpaw.openai 0.3.8OpenAI
words
Extracted words and their corresponding timestamps.
let words: [Word]?
Extracted words and their corresponding timestamps.
let words: [Word]?
s6OpenAI24AudioTranscriptionResultV5wordsSayAC4WordVGSgvp
What are these?6QY2Y
import OpenAI
struct AudioTranscriptionResult
struct Word
init(from decoder: any Decoder) throws
init(task: String? = nil, language: String? = nil, duration: Float? = nil, text: String, words: [Word]? = nil, segments: [Segment]? = nil)
let duration: Float?
The duration of the input audio.
let language: String?
The language of the input audio.
let segments: [Segment]?
Segments of the transcribed text and their corresponding details.
let task: String?
let text: String
The transcribed text.
struct Segment