Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This document helps you configure the chatbot in your favourite language. To change

Google Dialogflow

New Agent

  1. Create an Agent in Dialogflow. See, How to Create an agent.

  2. Name the Agent and select a default language from the dropdown.

...

You can change the output voice settings of your voice agent by changing the properties in the Experience Designer > Bot Manager flow> Bot Provider V2 node > Text To Speech Config.

You can use "languageCode": "es-ES" and "ssmlGender": "FEMALE" properties for Spanish(Female voice).

You can also choose to use a specific voice name such as "name": "es-ES-Wavenet-B" to use standard or Wavenet voices. https://cloud.google.com/text-to-speech/docs/voices

Using the "name": "es-ES-Wavenet-B" will override the languageCode and ssmlGender properties.

...

Property

Description

"languageCode": "en-US"

You can select the language accent in which you want the output voice using this property.

You can choose from the below:

Arabic — ar-XA, Bengali (India) — bn-IN, Chinese (Hong Kong) — yue-HK, Czech (Czech Republic) — cs-CZ, Danish (Denmark) — da-DK, Dutch (Netherlands) — nl-NL, English (Australia) — en-AU, English (India) — en-IN, English (UK) — en-GB, English (US) — en-US, Filipino (Philippines) — fil-PH, Finnish (Finland) — fi-FI, French (Canada) — fr-CA, French (France) — fr-FR, German (Germany) — de-DE, Greek (Greece) — el-GR, Gujarati (India) — gu-IN, Hindi (India) — hi-IN, Hungarian (Hungary) — hu-HU, Indonesian (Indonesia) — id-ID, Italian (Italy) — it-IT, Japanese (Japan) — ja-JP, Kannada (India) — kn-IN, Korean (South Korea) — ko-KR, Malayalam (India) — ml-IN, Mandarin Chinese — cmn-CN, Mandarin Chinese (Taiwan) — cmn-TW, Norwegian (Norway) — cmnnb-TWNO, Polish (Poland) — nbpl-NOPL, Portuguese (Brazil) — plpt-PLBR, Portuguese (Portugal) — pt-BRPT, Romanian (Romania) — ptro-PTRO, Russian (Russia) — roru-RORU, Slovak (Slovakia) — rusk-RUSK, Spanish (Spain) — skes-SKES, Swedish (Sweden) — essv-ESSE, Tamil (India) — sv-SE) — ta-IN, Telugu (India) — te-IN, Thai (Thailand) — th-TH, Turkish (Turkey) — tr-TR, Ukrainian (Ukraine) — uk-UA, Vietnamese (Vietnam) — vi-VN.

"ssmlGender": "FEMALE"

You can also choose the gender for the voice output.

You can choose from FEMALE and MALE.

"name": "en-US-Wavenet-G"

You can try out different variations on how the voice output can be with this property.
Please refer to Google documentation on voices

This property will override the language and ssmlGender properties.

"audioEncoding": "MP3"

You can choose the audio encoding of your choice from the below mentioned.

  1. LINEAR16 - Uncompressed 16-bit signed little-endian samples (Linear PCM).

  2. MP3 - MP3 audio.

  3. OGG_OPUS - Opus encoded audio wrapped in an ogg container.

...