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
- Host: GitHub
- URL: https://github.com/iskonstantin/telegram-ai
- Owner: isKONSTANTIN
- License: mit
- Created: 2024-10-05T21:20:30.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-14T19:58:47.000Z (over 1 year ago)
- Last Synced: 2024-12-14T20:26:41.275Z (over 1 year ago)
- Topics: ai, bot, chatgpt, dall-e, gpt-3, gpt-4, gpt-4o, java, jvm, llm, ollama, openai, telegram, telegram-bot
- Language: Java
- Homepage:
- Size: 773 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.
## Enterprise version
**Public paid version deployed here: [@godlike_gpt_bot](https://t.me/godlike_gpt_bot)**
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!