Skip to content

Latest commit

 

History

History
47 lines (31 loc) · 682 Bytes

README.md

File metadata and controls

47 lines (31 loc) · 682 Bytes

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