Class: OpenAI::Models::Audio::TranscriptionWord
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Audio::TranscriptionWord
- Defined in:
- lib/openai/models/audio/transcription_word.rb
Instance Attribute Summary collapse
-
#end_ ⇒ Float
End time of the word in seconds.
-
#start ⇒ Float
Start time of the word in seconds.
-
#word ⇒ String
The text content of the word.
Instance Method Summary collapse
- #initialize(end_: , start: , word: ) ⇒ Object constructor
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(end_: , start: , word: ) ⇒ Object
|
# File 'lib/openai/models/audio/transcription_word.rb', line 25
|
Instance Attribute Details
#end_ ⇒ Float
End time of the word in seconds.
11 |
# File 'lib/openai/models/audio/transcription_word.rb', line 11 required :end_, Float, api_name: :end |
#start ⇒ Float
Start time of the word in seconds.
17 |
# File 'lib/openai/models/audio/transcription_word.rb', line 17 required :start, Float |
#word ⇒ String
The text content of the word.
23 |
# File 'lib/openai/models/audio/transcription_word.rb', line 23 required :word, String |