An open API service indexing awesome lists of open source software.

https://github.com/iskonstantin/telegram-ai

Telegram bot for convenient and advanced interaction with ChatGPT
https://github.com/iskonstantin/telegram-ai

ai bot chatgpt dall-e gpt-3 gpt-4 gpt-4o java jvm llm ollama openai telegram telegram-bot

Last synced: 10 months ago
JSON representation

Telegram bot for convenient and advanced interaction with ChatGPT

Awesome Lists containing this project

README

          

# Knst's Telegram AI Bot

Knst's Telegram AI Bot is designed to enhance your experience with GPT models and DALLΒ·E 3 in Telegram, offering expanded features through OpenAI Tools.


Telegram AI logo

## Enterprise version

**Public paid version deployed here: [@godlike_gpt_bot](https://t.me/godlike_gpt_bot)**


Telegram AI E QR

Payment is made via Telegram Stars. Completely unlimited, various models are available.

## Features 🌟

### Core Functionalities

- πŸ“„ File Handling: GPT can read text from .pdf, .html, and .docx files; it can respond in .txt and .docx formats.

- πŸ”„ Context Modes:
- Single Mode: Continue interactions with context retention.
- Multi Mode: Maintain precise context by replying to specific messages.

- 🎭 Telegram Reactions: Dynamic interactions using message reactions.

- 🌐 Web Content Integration: Automatically extract text from web pages without explicit commands and searching via DuckDuckGo

- 🎨 DALL·E 3 Support: Create imaginative images using the DALL·E 3.

- πŸ”„ Adaptive Responses: Automatically update responses if you edit your last message.

- πŸ”§ Custom Presets: Tailor AI interactions with extensive presets, including prompt customization and response settings.

- πŸ—£οΈ Voice support: Automatic transcription of voice messages

### Features For Owner

- βœ… Whitelist Access: Control user access with a secure whitelist, ensuring only specified users can interact with the bot.

- 🌐 Multi-Server Support: Integrate with multiple AI platforms, like Ollama and OpenAI, for versatile AI management.

- πŸ‘₯ Admin Support

- πŸ”§ Flexible Configurations: Easily adjust bot settings and behavior to meet your specific needs.

- πŸ“Š Monthly Usage Insights: Track interactions with monthly usage.

## Commands πŸ› 

- /add_preset - Create new presets to customize AI behavior.
- /delete - Delete a specific or recent context by replying to a message.
- /new - Start a fresh context, ideal for single-mode interactions.
- /settings - Access the settings menu to customize your bot experience.
- /admin - Admin settings

## Installation πŸš€

Docker Compose is required to work.

```bash
git clone https://github.com/isKONSTANTIN/Telegram-AI
cd Telegram-AI/deploy
sudo ./start.sh
```

After downloading the containers and starting, edit the configuration:

```bash
nano tg_ai/configs/main.conf
```

When changing configs, you do not need to restart the bot unless it is related to the database.

---

Feel free to fork, modify, and extend this project. Your feedback and feature requests are always appreciated!