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)


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

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)


339
340
341
# File 'sig/types.rbs', line 339

def file
  @file
end

#languageString? (readonly)

Returns the value of attribute language.

Returns:

  • (String, nil)


340
341
342
# File 'sig/types.rbs', line 340

def language
  @language
end

#modelString (readonly)

Returns the value of attribute model.

Returns:

  • (String)


338
339
340
# File 'sig/types.rbs', line 338

def model
  @model
end

#promptString? (readonly)

Returns the value of attribute prompt.

Returns:

  • (String, nil)


341
342
343
# File 'sig/types.rbs', line 341

def prompt
  @prompt
end

#response_formatString? (readonly)

Returns the value of attribute response_format.

Returns:

  • (String, nil)


342
343
344
# File 'sig/types.rbs', line 342

def response_format
  @response_format
end

#temperatureFloat? (readonly)

Returns the value of attribute temperature.

Returns:

  • (Float, nil)


343
344
345
# File 'sig/types.rbs', line 343

def temperature
  @temperature
end