Try it out!

Search xyla_bot on telegram!

Inspiration

At times, we receive audio files but are not at a convenient place to listen to them. Our Telegram bot, Xyla-bot, helps to translate these audio files into Telegram messages. However, sometimes intent/ emotion is lost. Hence, we use machine learning methods to identify intent as well as add life to messages through the use of emojis! :D

What it does

  1. Converts Telegram messages into emoji
  2. Reads audio and voice files and translates them into Telegram messages
  3. Detects emotion/ intent in Telegram messages

How I built it

  1. Telebot to lay the groundwork
  2. Wit.ai to process audio/ voice files to Telegram messages
  3. Wit.ai to detect emotion/ intent in Telegram messages
  4. Emoji to convert keywords in Telegram messages into emoji

Challenges I ran into

  1. Decoding of voice files from Telegram using Opus - it is evil :(
  2. Limited Training for Wit.ai
  3. Large amount of math involved in edit audio files
  4. Getting a server to host our bot

Accomplishments that I'm proud of

  1. A working prototype, building a telegram bot with little experience in web app dev
  2. That we overcame Opus codec challenges with a workaround
  3. Fairly Accurate Sentiment and Emoji recognition

What I learned

  1. How to use Python packages
  2. How to navigate Github, Telegram and Heroku APIs
  3. Wit.ai and other APIs
  4. A little understanding into the internal libraries and init files of packages and modules

What's next for Xyla_bot

  1. Manipulating Audio - Chiptune, Jingles
  2. Error-proofing the code
  3. Training Xyla’s message processing capabilities through machine learning: More specific and wider range of sentiments, Better emoji recognition
  4. More nuanced responses from Xyla

Built With

Share this project:

Updates