Class: Telnyx::Models::Calls::TranscriptionEngineSonioxConfig
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::Calls::TranscriptionEngineSonioxConfig
- Defined in:
- lib/telnyx/models/calls/transcription_engine_soniox_config.rb
Defined Under Namespace
Modules: TranscriptionEngine, TranscriptionModel
Instance Attribute Summary collapse
-
#enable_endpoint_detection ⇒ Boolean?
When true, Soniox emits end-of-utterance events at the cadence configured by ‘max_endpoint_delay_ms`.
-
#interim_results ⇒ Boolean?
Whether to send also interim results.
-
#language ⇒ String?
ISO 639-1 language hint (e.g. ‘en`, `es`), or `auto` to omit the hint and let Soniox auto-detect supported languages multilingually.
-
#max_endpoint_delay_ms ⇒ Integer?
Maximum silence (in milliseconds) before Soniox emits an end-of-utterance event.
-
#transcription_engine ⇒ Symbol, Telnyx::Models::Calls::TranscriptionEngineSonioxConfig::TranscriptionEngine
Engine identifier for Soniox transcription service.
-
#transcription_model ⇒ Symbol, ...
The model to use for transcription.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(transcription_engine:, enable_endpoint_detection: nil, interim_results: nil, language: nil, max_endpoint_delay_ms: nil, transcription_model: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see TranscriptionEngineSonioxConfig for more details.
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, 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
#initialize(transcription_engine:, enable_endpoint_detection: nil, interim_results: nil, language: nil, max_endpoint_delay_ms: nil, transcription_model: nil) ⇒ Object
Some parameter documentations has been truncated, see Telnyx::Models::Calls::TranscriptionEngineSonioxConfig for more details.
|
|
# File 'lib/telnyx/models/calls/transcription_engine_soniox_config.rb', line 49
|
Instance Attribute Details
#enable_endpoint_detection ⇒ Boolean?
When true, Soniox emits end-of-utterance events at the cadence configured by ‘max_endpoint_delay_ms`.
19 |
# File 'lib/telnyx/models/calls/transcription_engine_soniox_config.rb', line 19 optional :enable_endpoint_detection, Telnyx::Internal::Type::Boolean |
#interim_results ⇒ Boolean?
Whether to send also interim results. If set to false, only final results will be sent.
26 |
# File 'lib/telnyx/models/calls/transcription_engine_soniox_config.rb', line 26 optional :interim_results, Telnyx::Internal::Type::Boolean |
#language ⇒ String?
ISO 639-1 language hint (e.g. ‘en`, `es`), or `auto` to omit the hint and let Soniox auto-detect supported languages multilingually.
33 |
# File 'lib/telnyx/models/calls/transcription_engine_soniox_config.rb', line 33 optional :language, String |
#max_endpoint_delay_ms ⇒ Integer?
Maximum silence (in milliseconds) before Soniox emits an end-of-utterance event. Only honored when ‘enable_endpoint_detection` is true. Range: 500-3000 ms.
40 |
# File 'lib/telnyx/models/calls/transcription_engine_soniox_config.rb', line 40 optional :max_endpoint_delay_ms, Integer |
#transcription_engine ⇒ Symbol, Telnyx::Models::Calls::TranscriptionEngineSonioxConfig::TranscriptionEngine
Engine identifier for Soniox transcription service
11 12 |
# File 'lib/telnyx/models/calls/transcription_engine_soniox_config.rb', line 11 required :transcription_engine, enum: -> { Telnyx::Calls::TranscriptionEngineSonioxConfig::TranscriptionEngine } |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/telnyx/models/calls/transcription_engine_soniox_config.rb', line 73
|