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:



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

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

Instance Attribute Details

#durationFloat?

Returns the value of attribute duration.

Returns:

  • (Float, nil)


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

def duration
  @duration
end

#languageString?

Returns the value of attribute language.

Returns:

  • (String, nil)


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

def language
  @language
end

#segmentsArray[TranscriptionSegment]?

Returns the value of attribute segments.

Returns:



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

def segments
  @segments
end

#textString?

Returns the value of attribute text.

Returns:

  • (String, nil)


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

def text
  @text
end