/telegram-gpt3

Telegram Bot that makes use of GPT3 to talk and give information.

Primary LanguagePythonMIT LicenseMIT

Your Image

GPT-3 Telegram Bot

Telegram Bot with GPT-3

This bot is powered by OpenAI's GPT-3 API to provide the ultimate communication experience.

Requirements

  • OpenAI API Key
  • Telegram Bot API Key

Setup

  1. Go to the OpenAI website and register to get an OpenAI API Key
  2. Go to the Telegram BotFather and create a bot to get a Telegram Bot API Key
  3. Add your OpenAI and Telegram Bot API Keys to the configuration

Usage

After you have setup the bot, you can start using it by messaging it on Telegram.

The bot will respond to your messages using OpenAI's GPT-3 API.

Installation

Clone this repository to your local machine and install the requirements:

git clone https://github.com/leonardosblang/telegram-gpt3
cd  telegram-gpt3
pip install -r requirements.txt

To run the bot, you will need to use a tunneling service like ngrok. Once you have set up and started the tunnel, you can run the bot with:

python main.py

About

This GPT-3 Telegram Bot was created by Leonardo Lang.

Enjoy your conversations! 🤗🤖

News

  • 18/12/2022 Added option to load different models
python main.py --model <model_name>