Class: Telnyx::Models::Calls::TranscriptionEngineAConfig::SpeechContext
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::Calls::TranscriptionEngineAConfig::SpeechContext
- Defined in:
- lib/telnyx/models/calls/transcription_engine_a_config.rb,
sig/telnyx/models/calls/transcription_engine_a_config.rbs
Instance Attribute Summary collapse
-
#boost ⇒ Float?
Boost factor for the speech context.
- #phrases ⇒ Array<String>?
Instance Method Summary collapse
-
#initialize ⇒ SpeechContext
constructor
A new instance of SpeechContext.
- #to_hash ⇒ { boost: Float, phrases: ::Array[String] }
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 ⇒ SpeechContext
Returns a new instance of SpeechContext.
136 |
# File 'sig/telnyx/models/calls/transcription_engine_a_config.rbs', line 136
def initialize: (?boost: Float, ?phrases: ::Array[String]) -> void
|
Instance Attribute Details
#boost ⇒ Float?
Boost factor for the speech context.
126 |
# File 'lib/telnyx/models/calls/transcription_engine_a_config.rb', line 126 optional :boost, Float |
#phrases ⇒ Array<String>?
131 |
# File 'lib/telnyx/models/calls/transcription_engine_a_config.rb', line 131 optional :phrases, Telnyx::Internal::Type::ArrayOf[String] |
Instance Method Details
#to_hash ⇒ { boost: Float, phrases: ::Array[String] }
138 |
# File 'sig/telnyx/models/calls/transcription_engine_a_config.rbs', line 138
def to_hash: -> { boost: Float, phrases: ::Array[String] }
|