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)


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

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)


244
245
246
# File 'sig/types.rbs', line 244

def input
  @input
end

#modelString (readonly)

Returns the value of attribute model.

Returns:

  • (String)


243
244
245
# File 'sig/types.rbs', line 243

def model
  @model
end

#response_formatString? (readonly)

Returns the value of attribute response_format.

Returns:

  • (String, nil)


246
247
248
# File 'sig/types.rbs', line 246

def response_format
  @response_format
end

#speedFloat? (readonly)

Returns the value of attribute speed.

Returns:

  • (Float, nil)


247
248
249
# File 'sig/types.rbs', line 247

def speed
  @speed
end

#voiceString (readonly)

Returns the value of attribute voice.

Returns:

  • (String)


245
246
247
# File 'sig/types.rbs', line 245

def voice
  @voice
end