struct OpenAI::Segment
- OpenAI::Segment
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Extended Modules
- JSON::Schema
Defined in:
openai/api/audio.crConstructors
- .new(id : Int32 | Nil, seek : Int32 | Nil, start : Float64 | Nil, end __arg0 : Float64 | Nil, text : String | Nil, tokens : Array(Int32) | Nil, temperature : Float64 | Nil, avg_logprob : Float64 | Nil, compression_ratio : Float64 | Nil, no_speec_prob : Float64 | Nil, transient : Bool | Nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #avg_logprob : Float64 | Nil
- #clone
- #compression_ratio : Float64 | Nil
- #copy_with(id _id = @id, seek _seek = @seek, start _start = @start, end _end = @end, text _text = @text, tokens _tokens = @tokens, temperature _temperature = @temperature, avg_logprob _avg_logprob = @avg_logprob, compression_ratio _compression_ratio = @compression_ratio, no_speec_prob _no_speec_prob = @no_speec_prob, transient _transient = @transient)
- #end : Float64 | Nil
- #id : Int32 | Nil
- #no_speec_prob : Float64 | Nil
- #seek : Int32 | Nil
- #start : Float64 | Nil
- #temperature : Float64 | Nil
- #text : String | Nil
- #tokens : Array(Int32) | Nil
- #transient : Bool | Nil
Constructor Detail
def self.new(id : Int32 | Nil, seek : Int32 | Nil, start : Float64 | Nil, end __arg0 : Float64 | Nil, text : String | Nil, tokens : Array(Int32) | Nil, temperature : Float64 | Nil, avg_logprob : Float64 | Nil, compression_ratio : Float64 | Nil, no_speec_prob : Float64 | Nil, transient : Bool | Nil)
#
Instance Method Detail
def copy_with(id _id = @id, seek _seek = @seek, start _start = @start, end _end = @end, text _text = @text, tokens _tokens = @tokens, temperature _temperature = @temperature, avg_logprob _avg_logprob = @avg_logprob, compression_ratio _compression_ratio = @compression_ratio, no_speec_prob _no_speec_prob = @no_speec_prob, transient _transient = @transient)
#