Skip to content

This Is A Telegram Bot Created using OPENAI Api And Coded in Python

Notifications You must be signed in to change notification settings

Armanidrisi/chatgpt-python-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 

Repository files navigation

💬 ChatGPT Telegram Bot in Python

GitHub license GitHub repo size GitHub contributors GitHub last commit GitHub forks GitHub issues GitHub pull requests GitHub stars

↳ Stargazers

Stargazers repo roster for @Armanidrisi/chatgpt-python-bot

↳ Forkers

Forkers repo roster for @Armanidrisi/chatgpt-python-bot

This is a Telegram bot created using Python and OpenAI that utilizes PyTelegramBotAPI for interacting with Telegram's API. This bot is designed to use OpenAI's GPT-3.5 architecture for generating text-based responses to user queries.

🚀 How to Use

  1. Clone the repository to your local machine
  2. Install the dependencies using pip install -r requirements.txt
  3. Create a Telegram bot using BotFather and get your bot token
  4. Get your OpenAI API key by following the instructions here
  5. Update the python-chatgpt-bot.py file with your bot token and OpenAI API key
  6. Run the bot using python python-chatgpt-bot.py

Once the bot is running, you can interact with it by messaging it on Telegram.

🛠️ Language/Framework Used

Python version PyTelegramBotAPI version OpenAI version

🎥 Video Tutorial

Watch the video

👨‍💻 Author

This project was created by Arman Idrisi.

📝 License

This project is licensed under the MIT License - see the LICENSE file for details.