struct OpenAI::TranscriptionResponse

Included Modules

Extended Modules

Defined in:

openai/api/audio.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(task : String | Nil, language : String | Nil, duration : Float64 | Nil, segments : Array(Segment) | Nil, text : String | Nil) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def clone #

[View source]
def copy_with(task _task = @task, language _language = @language, duration _duration = @duration, segments _segments = @segments, text _text = @text) #

[View source]
def duration : Float64 | Nil #

def language : String | Nil #

def segments : Array(Segment) | Nil #

def task : String | Nil #

def text : String | Nil #