AI Telegram Buddy is an AI-powered Python Telegram bot designed to assist and entertain users on the Telegram platform.
The purpose of this project is to democratize AI and make it easily accessible to everyone and enable individuals, businesses, and organizations across all industries and domains to leverage the power of AI through a free and simple-to-use program.
Official repository of Vexa
- Core functionality
- User friendly GUI
- Dynamic message streaming
- Summary of text documents
- Chat history per user
- Parallel inference
- GPU inference
- Docker support
- Support for major ggml models
- Concurrent chat history with PostegreSQL support
- Full migration to langchain
- Summary feature extended to more file formats
- Optimization of very long prompts and history
Model | 3B | 7B | 13B | 30B | 65B |
---|---|---|---|---|---|
Vicuna | ✖️ | ✖️ | ✖️ | ||
MPT | ✖️ | ✖️ | |||
GPT4All | ✖️ | ||||
dolly-v2 | ✖️ | ✖️ | |||
LLaMa | ✖️ | ✖️ | ✖️ | ||
Dromedary | ✖️ |
More models coming soon.
- Python 3.11
- A telegram bot token
- Clone this repository:
git clone https://gitea.nikko.eu.org/nikko/AI-Telegram-Buddy
cd AI-Telegram-Buddy
- Install the requirements:
pip install -r requirements.txt
- Download model: Execute the model downloader program and follow its instructions
python model-downloader.py
-
Configuration: populate your
config.ini
with the required bot token and make sure to define the model and model_type of your previously downloaded model. -
Run the bot:
python main.py
- Interact with your bot: Open the Telegram app, search for your bot's username, and start interacting with it by sendind the
/ai
command followed by a message (e.g./ai hello there, nice to meet you
). If history is enabled, use/clear
to clear your user history
Contributions to AI Telegram Buddy are welcome! If you find any issues, have suggestions for improvements, or want to add new features, please feel free to open an issue or submit a pull request. Make sure to follow the existing coding style and include relevant tests.
AI Telegram Buddy is an open-source project developed by an independent contributor. While I strive to provide accurate and helpful informations, depending on the model in use the bot's responses might not always be perfect or up-to-date, and can be prone to negative social biases. Please refer to the documentation of any model before downloading it.
Thanks to the following tools developing this project is possible:
-
ctransformers: Python bindings for the Transformer models implemented in C/C++ using GGML library.
-
python-telegram-bot: A telegram API wrapper