Reference documentation and code samples for the Dialogflow CX V3 API class Google::Cloud::Dialogflow::CX::V3::AdvancedSettings::SpeechSettings.
Define behaviors of speech to text detection.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#endpointer_sensitivity
def endpointer_sensitivity() -> ::Integer
Returns
- (::Integer) — Sensitivity of the speech model that detects the end of speech. Scale from 0 to 100.
#endpointer_sensitivity=
def endpointer_sensitivity=(value) -> ::Integer
Parameter
- value (::Integer) — Sensitivity of the speech model that detects the end of speech. Scale from 0 to 100.
Returns
- (::Integer) — Sensitivity of the speech model that detects the end of speech. Scale from 0 to 100.
#models
def models() -> ::Google::Protobuf::Map{::String => ::String}
Returns
- (::Google::Protobuf::Map{::String => ::String}) — Mapping from language to Speech-to-Text model. The mapped Speech-to-Text model will be selected for requests from its corresponding language. For more information, see Speech models.
#models=
def models=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
- value (::Google::Protobuf::Map{::String => ::String}) — Mapping from language to Speech-to-Text model. The mapped Speech-to-Text model will be selected for requests from its corresponding language. For more information, see Speech models.
Returns
- (::Google::Protobuf::Map{::String => ::String}) — Mapping from language to Speech-to-Text model. The mapped Speech-to-Text model will be selected for requests from its corresponding language. For more information, see Speech models.
#no_speech_timeout
def no_speech_timeout() -> ::Google::Protobuf::Duration
Returns
- (::Google::Protobuf::Duration) — Timeout before detecting no speech.
#no_speech_timeout=
def no_speech_timeout=(value) -> ::Google::Protobuf::Duration
Parameter
- value (::Google::Protobuf::Duration) — Timeout before detecting no speech.
Returns
- (::Google::Protobuf::Duration) — Timeout before detecting no speech.
#use_timeout_based_endpointing
def use_timeout_based_endpointing() -> ::Boolean
Returns
- (::Boolean) — Use timeout based endpointing, interpreting endpointer sensitivy as seconds of timeout value.
#use_timeout_based_endpointing=
def use_timeout_based_endpointing=(value) -> ::Boolean
Parameter
- value (::Boolean) — Use timeout based endpointing, interpreting endpointer sensitivy as seconds of timeout value.
Returns
- (::Boolean) — Use timeout based endpointing, interpreting endpointer sensitivy as seconds of timeout value.