|
1 |
| -// Copyright 2022 Google LLC |
| 1 | +// Copyright 2023 Google LLC |
2 | 2 | //
|
3 | 3 | // Licensed under the Apache License, Version 2.0 (the "License");
|
4 | 4 | // you may not use this file except in compliance with the License.
|
@@ -190,6 +190,12 @@ message InputAudioConfig {
|
190 | 190 | // [Cloud Speech API
|
191 | 191 | // documentation](https://cloud.google.com/speech-to-text/docs/basics#select-model)
|
192 | 192 | // for more details.
|
| 193 | + // If you specify a model, the following models typically have the best |
| 194 | + // performance: |
| 195 | + // |
| 196 | + // - phone_call (best for Agent Assist and telephony) |
| 197 | + // - latest_short (best for Dialogflow non-telephony) |
| 198 | + // - command_and_search (best for very short utterances and commands) |
193 | 199 | string model = 7;
|
194 | 200 |
|
195 | 201 | // Optional. Which variant of the [Speech
|
@@ -317,10 +323,20 @@ message OutputAudioConfig {
|
317 | 323 | SynthesizeSpeechConfig synthesize_speech_config = 3;
|
318 | 324 | }
|
319 | 325 |
|
320 |
| -// Settings related to speech generating. |
| 326 | +// Settings related to speech synthesizing. |
321 | 327 | message TextToSpeechSettings {
|
322 |
| - // Configuration of how speech should be synthesized, mapping from |
323 |
| - // language (https://dialogflow.com/docs/reference/language) to |
| 328 | + // Configuration of how speech should be synthesized, mapping from language |
| 329 | + // (https://cloud.google.com/dialogflow/cx/docs/reference/language) to |
324 | 330 | // SynthesizeSpeechConfig.
|
| 331 | + // |
| 332 | + // These settings affect: |
| 333 | + // |
| 334 | + // - The synthesize configuration used in [phone |
| 335 | + // gateway](https://cloud.google.com/dialogflow/cx/docs/concept/integration/phone-gateway). |
| 336 | + // |
| 337 | + // - You no longer need to specify |
| 338 | + // [OutputAudioConfig.synthesize_speech_config][google.cloud.dialogflow.cx.v3.OutputAudioConfig.synthesize_speech_config] |
| 339 | + // when invoking API calls. Your agent will use the pre-configured options |
| 340 | + // for speech synthesizing. |
325 | 341 | map<string, SynthesizeSpeechConfig> synthesize_speech_configs = 1;
|
326 | 342 | }
|
0 commit comments