VoiceSessionConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)The config about how to process the audio for a voice-based session.
Attributes |
|
|---|---|
| Name | Description |
input_audio_encoding |
google.cloud.dialogflow_v2beta1.types.AudioEncoding
Required. The encoding of input audio. |
input_audio_sample_rate_hertz |
int
Required. The sample rate of input audio. |
output_audio_encoding |
google.cloud.dialogflow_v2beta1.types.OutputAudioEncoding
Required. The encoding of output audio. |
output_audio_sample_rate_hertz |
int
Required. The sample rate of output audio. |
enable_cx_proactive_processing |
bool
Optional. Whether to enable CX proactive processing. |
enable_streaming_synthesize |
bool
Optional. If true, Dialogflow will stream the audio bytes from Cloud TTS for speech synthesis using the StreamingSynthesize api. |