Introducing the ChatGPT Telegram Bot
The ChatGPT Telegram Bot project aims to replicate the ChatGPT experience found on chat.openai.com, but with crucial improvements such as faster response times, no daily limits, and the convenience of a modern Telegram interface. This project turns the robust capabilities of OpenAI's GPT-4 into a Telegram bot, offering enhanced access and user control.
Key Features
- Low Latency: The bot typically responds within 3-5 seconds, ensuring a smooth and fast interaction.
- Unlimited Requests: Unlike many web-based AI services, there are no restrictions on the number of requests you can make each day.
- Real-time Message Streaming: Users can enjoy a streaming experience where messages appear part-by-part, enhancing the real-time feel.
- Advanced GPT Support: The bot supports GPT-4 and its variations, including GPT-4 Turbo and Vision capabilities.
- Diverse Chat Modes: With 15 different special chat modes available, such as Assistant, Artist, and Code Assistant, users can easily customize their experience to fit their needs or create their own modes.
- Group Chat Support: Easily integrate the bot into group chats with simple instructions.
- DALLE 2 Integration: By selecting Artist mode, users can generate images using DALLE 2.
- Voice Recognition: Users can send voice messages that the bot can decipher and respond to using OpenAI’s Whisper API.
- Code Highlighting: A feature that enhances readability for users who require code snippets.
- API Integration: The bot supports API interactions with the OpenAI system, offering developers more versatility.
- User Permissions and Cost Tracking: Manage which Telegram users can interact with the bot and track spending on OpenAI API usage.
Recent Updates
- April 2024: GPT-4 Vision support added.
- November 2023: GPT-4 Turbo support introduced.
- August 2023: Inclusion of OpenAI API Base in configuration for improved compatibility.
- April 2023: Expanded chat modes, and support for DALLE 2 and group chats.
- March 2023: Added message streaming and simplified chat mode creation.
- March 2023: Voice message recognition was activated.
How to Use
The bot comes with several intuitive commands:
/retry
: Re-attempt the last bot answer generation./new
: Begin a new conversation./mode
: Change the chat mode./balance
: Display the current spending balance./settings
: View the bot’s configuration settings./help
: Access help documentation.
Setup Guide
If you wish to deploy your own version of the bot, follow these steps:
- Obtain an OpenAI API key.
- Acquire a Telegram bot token from the BotFather.
- Edit the configuration files with your tokens.
- Execute the setup commands to start the bot with Docker.
Community and Contributions
The project has received generous donations from a supportive community, recognizing its utility and continuous development. Contributions include financial support and programming expertise. The main contributor is referred to by the username @karfly, and assistance has been provided by other entities like Jadve AI.
The ChatGPT Telegram Bot offers a versatile and efficient platform for interacting with AI through the familiar interface of Telegram, providing both casual users and developers a powerful tool for AI communication and development.