Skip to content

darklight147/telegram-gpt-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Telegram chatbot with openAI GPT-3

Hello?

Greeting

Keep track of context?

Context

Getting started

Prerequisites

  • Python 3.6+
  • Telegram Bot API token
  • OpenAI API key

Installation

git clone https://github.com/darklight147/telegram-gpt-bot.git
cd telegram-gpt-bot
pip install -r requirements.txt

Configuration

cp .env.example .env

Edit .env file and fill in your Telegram Bot API token and OpenAI API key.

Run

python main.py

# or python3 main.py

Or run with Docker

docker build -t telegram-gpt-bot .
docker run -d --name telegram-gpt-bot telegram-gpt-bot

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published