Simple Telegram GPT Bot
A simple AI chatbot leverages GPT models.
bot
kaxing/simple-telegram-gpt-bot
Just deployed
Important: This service is deployed into private network, but bots on Telegram are public. As long as anyone has the bot handle, they have access to the bot.
Useful references:
TL;DR:
- Obtain API keys
- Deploy and fill-in the variables
- Talk to the Bot over Telegram :)
This template aims to provide an open-source single-script chatbot using GPT models.
The Chatbot leverages Python Telegram Bot library. Allows users to interact with different OpenAI models with ease.
Key features include: Multi-user sessions. Handling both images (require vision model) and text messages. Keeping chat history in-memory within the session. Fine-tuning configurations: customize system prompt and temperature.
The goal is to provide a minimal yet workable chatbot through the Telegram interface without worrying about middlemen other than OpenAI endpoints.
Any feedback is welcome: https://github.com/kaxing/simple-telegram-gpt-bot/discussions/categories/questions
Template Content
TELEGRAM_TOKEN
Bot token is required for initializing the bot.