Skip to content

Latest commit

 

History

History
17 lines (15 loc) · 848 Bytes

README.md

File metadata and controls

17 lines (15 loc) · 848 Bytes

GPT-Bot with GPT-3.5-Turbo

This is a simple implementation of a GPT-3.5 Turbo chatbot using Flask API. and used for whatsapp & telegram bot

Usage

  1. Clone the repository
  2. Install the required dependencies with cd server/ && pip install -r requirements.txt
  3. Edit files apikey.json and input your apikey
  4. Run the app with python3 server.py (you can run it in a screen or create a systemd service)
  5. Go back to the main directory and navigate to WhatsApp
  6. Run npm install then node index.js (you can run it in a screen or create a systemd service)
  7. Go back to the main directory and navigate to Telegram
  8. Run pip install -r requirements.txt
  9. Run python3 main.py (you can run it in a screen or create a systemd service)

License

This project is licensed under the GPL-v3 License. See LICENSE for more information.