Class: LiterLlm::TranscriptionResponse
- Inherits:
-
Object
- Object
- LiterLlm::TranscriptionResponse
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#duration ⇒ Float?
readonly
Returns the value of attribute duration.
-
#language ⇒ String?
readonly
Returns the value of attribute language.
-
#segments ⇒ Array[TranscriptionSegment]?
readonly
Returns the value of attribute segments.
-
#text ⇒ String
readonly
Returns the value of attribute text.
Instance Method Summary collapse
-
#initialize ⇒ TranscriptionResponse
constructor
A new instance of TranscriptionResponse.
Constructor Details
#initialize ⇒ TranscriptionResponse
Returns a new instance of TranscriptionResponse.
354 |
# File 'sig/types.rbs', line 354
def initialize: (?text: String, ?language: String, ?duration: Float, ?segments: Array[TranscriptionSegment]) -> void
|
Instance Attribute Details
#duration ⇒ Float? (readonly)
Returns the value of attribute duration.
351 352 353 |
# File 'sig/types.rbs', line 351 def duration @duration end |
#language ⇒ String? (readonly)
Returns the value of attribute language.
350 351 352 |
# File 'sig/types.rbs', line 350 def language @language end |
#segments ⇒ Array[TranscriptionSegment]? (readonly)
Returns the value of attribute segments.
352 353 354 |
# File 'sig/types.rbs', line 352 def segments @segments end |
#text ⇒ String (readonly)
Returns the value of attribute text.
349 350 351 |
# File 'sig/types.rbs', line 349 def text @text end |