Class SpeechSettings (1.36.0)

SpeechSettings(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Define behaviors of speech to text detection.

Attributes

Name Description
endpointer_sensitivity int
Sensitivity of the speech model that detects the end of speech. Scale from 0 to 100.
no_speech_timeout google.protobuf.duration_pb2.Duration
Timeout before detecting no speech.
use_timeout_based_endpointing bool
Use timeout based endpointing, interpreting endpointer sensitivy as seconds of timeout value.
models MutableMapping[str, str]
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

Classes

ModelsEntry

ModelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
Name Description
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.