Skip to content

AI assistant to transcribe, translate and summarize voice messages and audio files

License

Notifications You must be signed in to change notification settings

maschlr/summaree_bot

Repository files navigation

drawing

AI Chatbot summar.ee

Description

summar.ee is an AI chatbot for transcribing, summarizing and translating voice messages and audio files. The bot automatically processes voice messages and audio files when it's added to a chat. You can talk to it in a private chat or add it to a group chat.

Currently, the bot is running on Telegram: @summaree_bot

Features

  • User interface in four languages: 🇺🇸 English, 🇩🇪 German, 🇷🇺 Russian and 🇪🇸 Spanish
  • Transcribe & translate voice messages & audio files
  • Create & translate summary of transcripts
  • Add hashtags to summaries for easy search & categorization

Development

Create virtual environment

python3 -m venv .venv
source .venv/bin/activate
pip install -U pip

Install dependencies

pip install -r requirements.txt
pip install -r requirements-dev.txt

Database initialization (optional)

python -m scripts.create_database

Configuration

Environment variabels

See summaree_bot/env.ini.example for environment variables that need to be set.

Database

  1. Copy alembic.ini.example
  2. Configure postgresql database url in alembic.ini

Database creation

  1. `alembic revision -m "<message>" --autogenerate``
  2. adapt migration script created in alembic/versions/
  3. Run migration: alembic upgrade head

See alembic documentation for more options

Database export/import