Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Dialogflow CX how to change the detected language?

ilabs_support_0-1730369264580.png

Hello everyone,

I want to ask for Dialogflow CX. I have create a voicebot it can speak Chinese by using Google TTS. When I respond in Chinese, it cannot recongize it as Chinese and somehow try to use English instead.

When I test the bot in "Test Agent" in Dialogflow CX, it is normal that it can accepted my Chinese input and provided correct response. In the conversation history, the channel is text and it shown "zh-hk".

When I call in by phone, it can speak the Chinese announcement but cannot recognize my Chinese speaking. In the conversation history, the channel is Audio and it shown "en-US".

How can I set the Audio channel which also use "zh-hk", or other setting I missed out?

Hope someone can help me.

Thanks.

Solved Solved
0 6 1,342
1 ACCEPTED SOLUTION

Hi @ilabs_support

Welcome to Google Cloud Community!

It seems like Dialogflow CX isn't recognizing your Chinese speech correctly when using the phone channel and is defaulting to English. This could be because of a language or setting mismatch in the audio input.

Here are possible workarounds that might help you address this issue:

  1. Enable Multilingual Support - Dialogflow CX has built-in support for multiple languages. Make sure you've enabled Chinese (zh-HK) as a supported language in your agent.
  2. Set the Language for Text-to-Speech (TTS) - Ensure Text-to-Speech (TTS) is set to use the Chinese language (zh-HK), so the bot speaks in Chinese.
  3. Configure Language in Your Telephony Platform - When you are using a third-party telephony service , make sure the speech recognition and language settings in that platform are also set to zh-HK.
  4. Test Again -  Test your bot with real Chinese audio input to ensure it's working correctly.
  5. Improve Audio Quality -  Ensure the audio quality from your phone calls is clear and free of background noise.

I hope the above information is helpful.

View solution in original post

6 REPLIES 6