Giter VIP home page Giter VIP logo

krish-paul / rasachatbot-with-asr-and-tts Goto Github PK

View Code? Open in Web Editor NEW

This project forked from anwarvic/rasachatbot-with-asr-and-tts

0.0 0.0 0.0 6.6 MB

This repository contains an attempt to incorporate Rasa Chatbot with state-of-the-art ASR (Automatic Speech Recognition) and TTS (Text-to-Speech) models directly without the need of running additional servers or socket connections.

License: MIT License

Shell 2.19% JavaScript 77.91% Python 16.57% CSS 1.61% HTML 1.72%

rasachatbot-with-asr-and-tts's Introduction

RasaChatbot with ASR and TTS

This repository contains an attempt to incorporate Rasa Chatbot with state-of-the-art ASR (Automatic Speech Recognition) and TTS (Text-to-Speech) models directly without the need of running additional servers or socket connections.

Browser compatibility

In this project, the browser is a big part as it provides access to the connected media input devices like microphones. So, I had to use a supported interface that is compatible with all mainstream browsers even with older versions. That's why I used the AudioContext() interface. I didn't use other interfaces like MediaRecorder because it isn't compatible with Microsoft Edge, or Safari. Also, I didn't use any other plugins like recorderJs as it is not supported anymore.

Here is a table of the least acceptable version of each mainstream browser out there in the market:

Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari Android webview Chrome for Android Firefox for Android Opera for Android Safari on iOS Samsung Internet
Support ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
Least Acceptable Version 35 Full support 25 No support 22 6 Full support 35 26 22 Full support Full support

Issues

  • This interface doesn't work on Internet Explorer, and I need to check its status with Edge.
  • The TTS interface has a problem whenever Rasa responds with more than one text message... It handles multiple responses perfectly as long as they have one text message. If Rasa responds with more than one text message, all the text messages are being played at the same time.

Acknowledgements

Special Thanks to:

  • Sean Naren for training the provided ASR model.
  • ESPNet organization for training all provided TTS models.
  • SamimOnline for providing the early Bootstrap template
  • Patrick Roberts for the synth-js JavaScript plugin.
  • Remon Kamal for the technical help during this project... his guidance was at help!!

rasachatbot-with-asr-and-tts's People

Contributors

anwarvic avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.