/jr-bot

The Telegram bot for transcripting and indexing audios

Primary LanguagePythonMIT LicenseMIT

Audio bot

This bot indexes all audio that you send to it and make it searchable by text.

build codecov

Commands

/ping

Will make it answer "Pong!". Mostly used to check if the service is up when developing.

Audio/voice

Every audio you send to this bot will trigger the recognition pipeline. You will receive some messages telling you which step of the pipeline we are currently at.

{TEXT}

If you type any message that is not a command or audio/voice files, it will return the first matching result that is indexed.

Development

We use Algolia to perform the text search. The bot is deployed on Heroku. To start developing:

$ python -m venv venv
$ source venv/bin/activate
$ pip install -r requirements.txt
$ pip install -r requirements-dev.txt

Tests

To run the tests, simply execute:

$ python -m unittest discover -vb tests/