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.
882 |
# File 'sig/types.rbs', line 882
def initialize: (?text: String, ?language: String, ?duration: Float, ?segments: Array[TranscriptionSegment]) -> void
|
Instance Attribute Details
#duration ⇒ Float? (readonly)
Returns the value of attribute duration.
879 880 881 |
# File 'sig/types.rbs', line 879 def duration @duration end |
#language ⇒ String? (readonly)
Returns the value of attribute language.
878 879 880 |
# File 'sig/types.rbs', line 878 def language @language end |
#segments ⇒ Array[TranscriptionSegment]? (readonly)
Returns the value of attribute segments.
880 881 882 |
# File 'sig/types.rbs', line 880 def segments @segments end |
#text ⇒ String (readonly)
Returns the value of attribute text.
877 878 879 |
# File 'sig/types.rbs', line 877 def text @text end |