Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Next »

This document helps you configure the chatbot in your favorite language.

Refer Language Support in Orbita Chatbot to change the language of the chatbot labels.

Speech to text

Any voice input given to the chatbot is converted to the configured language using the settings below.

In Orbita, you can only choose the languages supported by Google for Speech to text conversion.

Refer, https://cloud.google.com/dialogflow/es/docs/reference/language

Google Dialogflow

If you are creating a chatbot that is specific to a language, consider creating a new agent with the chosen language as the default language.

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.

Existing Agent (temporary)

For an existing Agent, you can add languages by clicking on the (plus) icon under the gear icon.

You cannot use the chatbot in the additional languages permanently.

Consider creating a new agent with a chosen language as the default language if you want the chatbot to work in the chosen language permanently,

In the languages tab, select a language from the dropdown to add it to your agent.

You can see the list of languages added to an Agent under the Agent name in the side menu.

In the above screenshot, the default language is English. Spanish is added as an additional language. Click on the language for which you want the Speech to text conversion.

After deployment, the language will change to the default language.

Experience Manager

Go to Side Navigation menu > Develop > Deployment > Goggle Tab

Select your Agent and Language from the dropdown.

The language selected in the Deployment screen should be added prior in the Dialogflow agent.

Text to speech

The text is converted to speech in the preferred language with the settings below.

Experience Designer

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).

To be more specific, use "name": "es-ES-Wavenet-B" Spanish(Male) 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) — 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.

  • No labels