Class: LiterLlm::CreateTranscriptionRequest

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeCreateTranscriptionRequest

Returns a new instance of CreateTranscriptionRequest.

Parameters:

  • model: (String)
  • file: (String)
  • language: (String)
  • prompt: (String)
  • response_format: (String)
  • temperature: (Float)


260
# File 'sig/types.rbs', line 260

def initialize: (?model: String, ?file: String, ?language: String, ?prompt: String, ?response_format: String, ?temperature: Float) -> void

Instance Attribute Details

#fileString (readonly)

Returns the value of attribute file.

Returns:

  • (String)


254
255
256
# File 'sig/types.rbs', line 254

def file
  @file
end

#languageString? (readonly)

Returns the value of attribute language.

Returns:

  • (String, nil)


255
256
257
# File 'sig/types.rbs', line 255

def language
  @language
end

#modelString (readonly)

Returns the value of attribute model.

Returns:

  • (String)


253
254
255
# File 'sig/types.rbs', line 253

def model
  @model
end

#promptString? (readonly)

Returns the value of attribute prompt.

Returns:

  • (String, nil)


256
257
258
# File 'sig/types.rbs', line 256

def prompt
  @prompt
end

#response_formatString? (readonly)

Returns the value of attribute response_format.

Returns:

  • (String, nil)


257
258
259
# File 'sig/types.rbs', line 257

def response_format
  @response_format
end

#temperatureFloat? (readonly)

Returns the value of attribute temperature.

Returns:

  • (Float, nil)


258
259
260
# File 'sig/types.rbs', line 258

def temperature
  @temperature
end