Class: Telnyx::Models::TranscribeServerEvent::Transcript
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::TranscribeServerEvent::Transcript
- Defined in:
- lib/telnyx/models/transcribe_server_event.rb
Instance Attribute Summary collapse
-
#confidence ⇒ Float?
Confidence score of the transcription, ranging from 0 to 1.
-
#is_final ⇒ Boolean?
Whether this is a final transcription result.
-
#transcript ⇒ String
The transcribed text from the audio.
-
#type ⇒ Symbol, :transcript
Frame type identifier.
Method Summary
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, 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, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
This class inherits a constructor from Telnyx::Internal::Type::BaseModel
Instance Attribute Details
#confidence ⇒ Float?
Confidence score of the transcription, ranging from 0 to 1.
34 |
# File 'lib/telnyx/models/transcribe_server_event.rb', line 34 optional :confidence, Float |
#is_final ⇒ Boolean?
Whether this is a final transcription result. When ‘false`, this is an interim result that may be refined.
41 |
# File 'lib/telnyx/models/transcribe_server_event.rb', line 41 optional :is_final, Telnyx::Internal::Type::Boolean |
#transcript ⇒ String
The transcribed text from the audio.
22 |
# File 'lib/telnyx/models/transcribe_server_event.rb', line 22 required :transcript, String |
#type ⇒ Symbol, :transcript
Frame type identifier.
28 |
# File 'lib/telnyx/models/transcribe_server_event.rb', line 28 required :type, const: :transcript |