Class: LiterLlm::TranscriptionResponse
- Inherits:
-
Object
- Object
- LiterLlm::TranscriptionResponse
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#duration ⇒ Float?
Returns the value of attribute duration.
-
#language ⇒ String?
Returns the value of attribute language.
-
#segments ⇒ Array[TranscriptionSegment]?
Returns the value of attribute segments.
-
#text ⇒ String?
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.
344 |
# File 'sig/types.rbs', line 344
def initialize: (?text: String, ?language: String, ?duration: Float, ?segments: Array[TranscriptionSegment]) -> void
|
Instance Attribute Details
#duration ⇒ Float?
Returns the value of attribute duration.
341 342 343 |
# File 'sig/types.rbs', line 341 def duration @duration end |
#language ⇒ String?
Returns the value of attribute language.
340 341 342 |
# File 'sig/types.rbs', line 340 def language @language end |
#segments ⇒ Array[TranscriptionSegment]?
Returns the value of attribute segments.
342 343 344 |
# File 'sig/types.rbs', line 342 def segments @segments end |
#text ⇒ String?
Returns the value of attribute text.
339 340 341 |
# File 'sig/types.rbs', line 339 def text @text end |