Rasa VoiceBot with SpeechRecognition & gTTS python libraries

Hi All,

This is my first forum post and I am a newbie and exploring Rasa x. I was able to build a simple chatbot and I converted it to voice enabled voicebot with the help of this YouTube tutorial. So as the step 1) I convert voice input to text and step 2) convert bot message to audio clip and play it so the user can hear it. Since I am creating a voice clip inside my project folder, if multiple users try to use the bot at the same time I must have a mechanism to create unique voice clip for each chat session and play it. How to handle this kind of scenario?

You can save the voice of a particular user with the recipient ID returned by the RASA in response.

I suggest you try the Cognitive Voice Gateway from www.vier.ai. You can chose between 15+ STT/TTS engines, ranging from Google, Azure, etc. Your contactcenter integration becomes a lot easier too. And - compliant with EU and US GDPR regulations.