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:



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

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)


879
880
881
# File 'sig/types.rbs', line 879

def duration
  @duration
end

#languageString? (readonly)

Returns the value of attribute language.

Returns:

  • (String, nil)


878
879
880
# File 'sig/types.rbs', line 878

def language
  @language
end

#segmentsArray[TranscriptionSegment]? (readonly)

Returns the value of attribute segments.

Returns:



880
881
882
# File 'sig/types.rbs', line 880

def segments
  @segments
end

#textString (readonly)

Returns the value of attribute text.

Returns:

  • (String)


877
878
879
# File 'sig/types.rbs', line 877

def text
  @text
end