Versions Compared

Key

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

...

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) — nb-NO, Polish (Poland) — pl-PL, Portuguese (Brazil) — pt-BR, Portuguese (Portugal) — pt-PT, Romanian (Romania) — ro-RO, Russian (Russia) — ru-RU, Slovak (Slovakia) — sk-SK, Spanish (Spain) — es-ES, Swedish (Sweden) — sv-SE, Tamil (India) — 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.
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.

Troubleshooting

If you have carefully followed this document and configured your multilingual chatbot but cannot get it to work in the language you desired,

Remove App Settings function node

  1. Go to Experience Designer>Bot Manager flow

  2. Look for the App Settings function node.

  3. Remove the App Settings function node and the connected nodes/flow.

  4. Deploy the flow

    Image Added

Reset the Settings in the Bot View Template node

  1. Go to the Experience Designer>Bot Manager flow >Bot View template > Settings tab.

    Image Added

  2. Remove the existing code in the Settings tab and click Done. (All the properties will be reset to default)

  3. Deploy the flow.

Your chatbot should now work in the configured language.

Filter by label (Content by label)
showLabelsfalse
max5
spacescom.atlassian.confluence.content.render.xhtml.model.resource.identifiers.SpaceResourceIdentifier@130ff
sortmodified
showSpacefalse
reversetrue
typepage
cqllabel in ( "deployment" , "chatbot" ) and type = "page" and space = "OCS"
labelschatbot deployment