Skip to content

prajjwalkumarpanzade/TelegramBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TelegramBot

About

The Bot is a simple Telegram Bot written in Python. It uses the pyTelegramBotAPI to communicate with the Telegram API. The Bot also uses OpenAi's GPT-3 API to generate answers for the questions.

Installation

  1. Clone the repository
git clone https://github.com/prajjwalkumarpanzade/TelegramBot.git
  1. Install the requirements
pip install -r requirements.txt
  1. Create a Telegram Bot and get the API Token @BotFather
  2. Create Bot Commands
/start - Start the Bot
/ai - Ask the Bot a Question
/stream - Stream the Answer
/help - Get Help
  1. Create a OpenAi API Key OpenAi
  2. Create a .env file and add the API Token and the API Key
  3. Run the Bot
python run.py

License

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages