Class: LiterLlm::TranscriptionResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeTranscriptionResponse

Returns a new instance of TranscriptionResponse.

Parameters:



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

def initialize: (?text: String, ?language: String, ?duration: Float, ?segments: Array[TranscriptionSegment]) -> void

Instance Attribute Details

#durationFloat? (readonly)

Returns the value of attribute duration.

Returns:

  • (Float, nil)


351
352
353
# File 'sig/types.rbs', line 351

def duration
  @duration
end

#languageString? (readonly)

Returns the value of attribute language.

Returns:

  • (String, nil)


350
351
352
# File 'sig/types.rbs', line 350

def language
  @language
end

#segmentsArray[TranscriptionSegment]? (readonly)

Returns the value of attribute segments.

Returns:



352
353
354
# File 'sig/types.rbs', line 352

def segments
  @segments
end

#textString (readonly)

Returns the value of attribute text.

Returns:

  • (String)


349
350
351
# File 'sig/types.rbs', line 349

def text
  @text
end