Click here to Skip to main content
15,886,873 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Created chat/voice bot on Dialogflow and Amazon Lex. It works fine but I have some issues. For example how to deal with unsupported languages.

Maybe there is possibility to create tool that could collaborate simoultaneously with such services like Google Dialogflow bot, Amazon Lex bot, Microsoft Azure bot. Main target is to get audio or text input from end-user, automatically detect langauge which he speaks (as an option: translate it by third-party service) and decide which bot service supports that language then send request to that bot service for further processing.

Much appreciated if someone could give me contact person that can answer my question


What I have tried:

nothing at all, trying to find a solution online
Posted
Updated 4-Jan-20 9:50am

Maybe you can find something useful on GitHub: language-detection · GitHub Topics · GitHub[^]
 
Share this answer
 
Comments
Muchroom 6-Jan-20 5:01am    
Much appreciated, thank you for your advice!
Quote:
For example how to deal with unsupported languages.
You can add multiple languages and Google Assistant (or other platforms) will tell Dialogflow what language to use.

Read more on this topic here, Languages  |  Dialogflow Documentation  |  Google Cloud[^]

Quote:
Main target is to get audio or text input from end-user, automatically detect langauge which he speaks (as an option: translate it by third-party service) and decide which bot service supports that language then send request to that bot service for further processing.
This kind of a requirement would better use the Google Cloud Platform (if you want to stick to Google Cloud, otherwise Microsoft Azure, Alibaba Cloud, AWS, etc. they all offer a similar product) and perform these tasks separately before you process the message.

You can use speech transcription service to transcribe the audio and then send that audio to Dialogflow to detect the intent of the users.

Note that most of the platforms, such as Google Assistant, will automatically transcribe the speech for you.
 
Share this answer
 
Comments
Muchroom 6-Jan-20 5:00am    
Thank you for your response!
I understand that it is better to stick with one certain platform. But I just want to understand if it is even possible to create a whole unit (tool) that can connect to all these services at one time, because they all have they pros and cons.
Afzaal Ahmad Zeeshan 6-Jan-20 8:16am    
Yep, that is possible too. But, sadly covering all that is beyond the scope of this forum. You might find something in the articles section (top right corner to search).

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900