Skip to content

Telegram bot for different language models. Supports system prompts and images

License

Notifications You must be signed in to change notification settings

IlyaGusev/saiga_bot

Repository files navigation

Saiga: Telegram bot

Description

This is a Telegram bot designed to interact with various language models. It offers support for system prompts and image processing capabilities.

Features

  • Integration with Telegram platform
  • Support for any number of language models (compatible with OpenAI API format)
  • Ability to handle system prompts, generation parameters, and characters
  • Image processing and generation (with DALL-E)
  • Function calling with a set of basic tools

Installation

To install and run the bot, follow these steps:

  1. Clone the repository:
git clone https://github.com/IlyaGusev/saiga_bot
  1. Navigate to the project directory:
cd saiga_bot
  1. Install the required dependencies (you may need to create a virtual environment first):
pip3 install -r requirements.txt
  1. Add a token from @BotFather and an admin's user name and ID to configs/bot.json.
  2. Add URLs and tokens to configs/providers.json
  3. Run the bot with run.sh:
./run.sh configs/bot.json db.sqlite

Contact

For any questions or feedback, please open an issue on the GitHub repository or contact @YallenGusev.