Skip to content

leastchaos/python_openai_telegram_bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

python_openai_telegram_bot

Personal python chatbot similar to chatgpt

Usage

Package Install

Install the following packages: openai, python-telegram-bot, pyyaml

Telegram setup

https://core.telegram.org/bots/tutorial

Obtain your telegram bot api by contacting @BotFather and issuing a /newbot command

copy the api_key

OpenAI setup

get ur secret key for open ai from

https://beta.openai.com/account/api-keys

Start the bot

run src/main.py

paste your telegram api key and openai api key according to the prompt

your bot should start running and you should be able to start chatting with botfather

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages