diff --git a/dialogflow-cx/detect-intent-streaming.js b/dialogflow-cx/detect-intent-streaming.js index d8fd52e67b..c0f02959ca 100644 --- a/dialogflow-cx/detect-intent-streaming.js +++ b/dialogflow-cx/detect-intent-streaming.js @@ -93,6 +93,13 @@ async function main( config: { audioEncoding: encoding, sampleRateHertz: sampleRateHertz, + synthesize_speech_config: { + voice: { + // Set's the name and gender of the ssml voice + name: 'en-GB-Standard-A', + ssml_gender: 'SSML_VOICE_GENDER_FEMALE', + }, + }, singleUtterance: true, }, },