V-know/ChatGPT-Telegram-Bot

A Telegram bot with a silky smooth AI experience. UI enabled.

What it solves

This project provides a ready-to-deploy Telegram bot that integrates OpenAI and Azure OpenAI services, allowing users to interact with AI models for text and image generation directly within the Telegram messaging app.

How it works

The bot acts as a interface between Telegram and AI APIs. It supports streaming responses for a smoother user experience and integrates DALL-E 3 for image generation. It uses a MySQL database to manage user levels, which determines specific limits on session frequency, context window size, and token counts. It also allows users to provide their own OpenAI API keys for greater flexibility.

Who it’s for

Individuals or developers who want to host their own AI-powered Telegram bot with built-in user management and customizable bot identities.

Highlights

  • Multi-Provider Support: Compatible with both native OpenAI and Azure OpenAI.
  • Customizable Identities: Includes 15 preset bot personalities and support for custom identities.
  • User Tiering: Implements a level-based system to control token limits and chat frequency.
  • Streaming Responses: Supports real-time text generation for faster interaction.
  • Easy Deployment: Containerized via Docker and Docker Compose for quick setup.

Related

  • Project
  • Project
  • Project
  • Project