Class: LiterLlm::CreateSpeechRequest

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeCreateSpeechRequest

Returns a new instance of CreateSpeechRequest.

Parameters:

  • model: (String)
  • input: (String)
  • voice: (String)
  • response_format: (String)
  • speed: (Float)


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

def initialize: (?model: String, ?input: String, ?voice: String, ?response_format: String, ?speed: Float) -> void

Instance Attribute Details

#inputString (readonly)

Returns the value of attribute input.

Returns:

  • (String)


329
330
331
# File 'sig/types.rbs', line 329

def input
  @input
end

#modelString (readonly)

Returns the value of attribute model.

Returns:

  • (String)


328
329
330
# File 'sig/types.rbs', line 328

def model
  @model
end

#response_formatString? (readonly)

Returns the value of attribute response_format.

Returns:

  • (String, nil)


331
332
333
# File 'sig/types.rbs', line 331

def response_format
  @response_format
end

#speedFloat? (readonly)

Returns the value of attribute speed.

Returns:

  • (Float, nil)


332
333
334
# File 'sig/types.rbs', line 332

def speed
  @speed
end

#voiceString (readonly)

Returns the value of attribute voice.

Returns:

  • (String)


330
331
332
# File 'sig/types.rbs', line 330

def voice
  @voice
end