Skip to content

zarlicho/chatGPT-telegram

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

chatGPT-telegram

chatGPT-telegram is a telegram chatbot based on chatGPT from openai which is very powerful

Installation

install the required libraries

See the OpenAI API docs.

pip install -r requirements.txt

The library needs to be configured with your account's secret key which is available on the Website.

add your secret key at

import openai
openai.api_key = "secret key"

to get the telegram secret key you can see the tutorial here.

add your telegram secret key at

api = 'bot-key'
bot = telebot.TeleBot(api)

Run Locally

Clone the project

  git clone https://github.com/zarlicho/chatGPT-telegram.git

Go to the project directory

  cd chatGPT-telegram

Start the program

  python main.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages