Skip to content

Niket420/AI_chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

telebot_GPT_3.5_Turbo_DSM_1.0

Prerequisites

To follow this tutorial, you will need:

  • Python 3.7 or higher
  • A Telegram account and a smartphone
  • An OpenAI account and an API key

Telegram setup:

  1. search for botfather

  2. /newbot

    • chatgpt88
    • chatgpt88_bot

    Now click on the url

AIogram docs

https://docs.aiogram.dev/en/latest/

How to run the code

  1. Clone this repository or download the zip file

  2. Create a virtual environment and activate it

  3. Install the dependencies using pip install -r requirements.txt

    Or alternatively to the above two steps you can run init_setup.sh by running the following command in your terminal-

    bash init_setup.sh
  4. Run python src/chatgpt.py to start the bot

  5. Open Telegram and search for your bot username

  6. Start a conversation with your bot and enjoy!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published