Class: Telnyx::Models::AI::TranscriptionSettingsConfig

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/telnyx/models/ai/transcription_settings_config.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, 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(eager_eot_threshold: nil, eot_threshold: nil, eot_timeout_ms: nil, numerals: nil, smart_format: nil) ⇒ Object

Some parameter documentations has been truncated, see Telnyx::Models::AI::TranscriptionSettingsConfig for more details.

Parameters:

  • eager_eot_threshold (Float) (defaults to: nil)

    Available only for deepgram/flux. Confidence threshold for eager end of turn det

  • eot_threshold (Float) (defaults to: nil)

    Available only for deepgram/flux. Confidence required to trigger an end of turn.

  • eot_timeout_ms (Integer) (defaults to: nil)

    Available only for deepgram/flux. Maximum milliseconds of silence before forcing

  • numerals (Boolean) (defaults to: nil)
  • smart_format (Boolean) (defaults to: nil)


# File 'lib/telnyx/models/ai/transcription_settings_config.rb', line 39

Instance Attribute Details

#eager_eot_thresholdFloat?

Available only for deepgram/flux. Confidence threshold for eager end of turn detection. Must be lower than or equal to eot_threshold. Setting this equal to eot_threshold effectively disables eager end of turn.

Returns:

  • (Float, nil)


13
# File 'lib/telnyx/models/ai/transcription_settings_config.rb', line 13

optional :eager_eot_threshold, Float

#eot_thresholdFloat?

Available only for deepgram/flux. Confidence required to trigger an end of turn. Higher values = more reliable turn detection but slightly increased latency.

Returns:

  • (Float, nil)


20
# File 'lib/telnyx/models/ai/transcription_settings_config.rb', line 20

optional :eot_threshold, Float

#eot_timeout_msInteger?

Available only for deepgram/flux. Maximum milliseconds of silence before forcing an end of turn, regardless of confidence.

Returns:

  • (Integer, nil)


27
# File 'lib/telnyx/models/ai/transcription_settings_config.rb', line 27

optional :eot_timeout_ms, Integer

#numeralsBoolean?

Returns:

  • (Boolean, nil)


32
# File 'lib/telnyx/models/ai/transcription_settings_config.rb', line 32

optional :numerals, Telnyx::Internal::Type::Boolean

#smart_formatBoolean?

Returns:

  • (Boolean, nil)


37
# File 'lib/telnyx/models/ai/transcription_settings_config.rb', line 37

optional :smart_format, Telnyx::Internal::Type::Boolean