Simple Telegram GPT Bot

Simple Telegram GPT Bot

A simple AI chatbot leverages GPT models.

Deploy Simple Telegram GPT Bot

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:

  1. Obtain API keys
  2. Deploy and fill-in the variables
  3. 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

Deploy Now

Details

Yung's Projects

Created on Jan 2, 2024

193 total projects

147 active projects

100% success on recent deploys

Python

Bots



More templates in this category

View Template
waha

waha

WhatsApp API that you can run in a click


andresfiloso

View Template
Telegram JavaScript Bot

Telegram JavaScript Bot

A template for Telegram bot in JavaScript using grammY


Agampreet Singh's Projects

View Template
DiscordJS bot

DiscordJS bot

A basic Discord bot written in JavaScript


opqr's Projects