Class: OpenAI::Models::Audio::TranscriptionWord

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/openai/models/audio/transcription_word.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

Parameters:

  • end_ (Float) (defaults to: )

    End time of the word in seconds.

  • start (Float) (defaults to: )

    Start time of the word in seconds.

  • word (String) (defaults to: )

    The text content of the word.



# File 'lib/openai/models/audio/transcription_word.rb', line 25

Instance Attribute Details

#end_Float

End time of the word in seconds.

Returns:

  • (Float)


11
# File 'lib/openai/models/audio/transcription_word.rb', line 11

required :end_, Float, api_name: :end

#startFloat

Start time of the word in seconds.

Returns:

  • (Float)


17
# File 'lib/openai/models/audio/transcription_word.rb', line 17

required :start, Float

#wordString

The text content of the word.

Returns:

  • (String)


23
# File 'lib/openai/models/audio/transcription_word.rb', line 23

required :word, String