struct OpenAI::TranscriptionResponse
- OpenAI::TranscriptionResponse
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Extended Modules
- JSON::Schema
Defined in:
openai/api/audio.crConstructors
- .new(task : String | Nil, language : String | Nil, duration : Float64 | Nil, segments : Array(Segment) | Nil, text : String | Nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #clone
- #copy_with(task _task = @task, language _language = @language, duration _duration = @duration, segments _segments = @segments, text _text = @text)
- #duration : Float64 | Nil
- #language : String | Nil
- #segments : Array(Segment) | Nil
- #task : String | Nil
- #text : String | Nil
Constructor Detail
def self.new(task : String | Nil, language : String | Nil, duration : Float64 | Nil, segments : Array(Segment) | Nil, text : String | Nil)
#
Instance Method Detail
def copy_with(task _task = @task, language _language = @language, duration _duration = @duration, segments _segments = @segments, text _text = @text)
#