struct

Crig::TranscriptionRequestBuilder

Inherits Struct < Value < Object

Constructors

new(model : TranscriptionModel, data_value : Bytes = Bytes.empty, filename_value : String | Nil = nil, language_value : String | Nil = nil, prompt_value : String | Nil = nil, temperature_value : Float64 | Nil = nil, additional_params_value : JSON::Any | Nil = nil)
Source

Instance methods

additional_params(additional_params : JSON::Any) : self
Source
additional_params_opt(additional_params : JSON::Any | Nil) : self
Source
additional_params_value
Source
build
Source
data(data : Bytes) : self
Source
data_value
Source
filename(filename : String | Nil) : self
Source
filename_value
Source
language(language : String) : self
Source
language_value
Source
load_file(path : Path | String) : self
Source
model
Source
prompt(prompt : String) : self
Source
prompt_value
Source
send
Source
send_async
Source
temperature(temperature : Float64) : self
Source
temperature_value
Source