struct OpenAI::Segment

Included Modules

Extended Modules

Defined in:

openai/api/audio.cr

Constructors

Instance Method Summary

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) #

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

[View source]

Instance Method Detail

def avg_logprob : Float64 | Nil #

def clone #

[View source]
def compression_ratio : Float64 | Nil #

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) #

[View source]
def end : Float64 | Nil #

def id : Int32 | Nil #

def no_speec_prob : Float64 | Nil #

def seek : Int32 | Nil #

def start : Float64 | Nil #

def temperature : Float64 | Nil #

def text : String | Nil #

def tokens : Array(Int32) | Nil #

def transient : Bool | Nil #