SavvyAI is an open source Telegram bot that let's non-technical people play with the latest LLMs available. SavvyAI is intended to be a non-profit project aiming to give people access to recently released OpenAI GPT-3.5-turbo model in a form a of a Telegram bot.
The project can be run locally, or you can try a cloud version that I am running on Render (http://render.com/) here. Each user is given 10,000 free tokens per day to try out the bot, along with 3 minutes of voice transcription.
Please note that the bot is still in development, and it may not work as expected all the time. We are doing our best to ensure that the bot does not store any user data on your end, but please do not send any sensitive data just to be safe.
- Chat completion using gpt-3.5-turbo model
- Voice transcription using Whisper API and completion
- Daily rate limiting for both completion and Whisper API endpoints
- Ability to keep context between interaction. The bot is only able to process atomic requests now.
To SavvyAI locally, follow these steps:
- Clone the repository
- Install pipenv and run
pipenv install
to install dependencies - Create a a new bot on Telegram and get the API token from BotFather
- Create an OpenAI Account and get the API key from OpenAI Dashboard
cp .env.sample .env
and fill in the required values- Make sure you have running Redis server, the default url is
redis://localhost:6379
- Start the bot with
pipenv run python src/bot.py
Just type any questions or query you want to ask the assistant and it will try to answer it.
You can also use the bot to transcribe your voice messages and complete them using a voice recording feature in Telegram located in the bottom right corner of the chat.
Contributions to SavvyAI are welcome! To contribute, follow these steps:
- Fork the repository
- Create a new branch for your feature or bug fix
- Make your changes and commit them
- Push your changes to your fork
- Create a pull request
SavvyAI is released under the MIT License.