Hello, Guys, I am Spidy. I am back with another video.
In this video, I am showing you how you can build a ChatGPT Telegram chatbot using Python Flask, Ngrok, and AWS EC2.
We have used:
- Ngrok and Flask as a server.
- Telegram BOT Token obtained from "BotFather".
- ChatGPT API for generating responses.
- Flask App as an API for the Request/Response model.
- AWS EC2 for deployment (24/7 running).
----------------- Commands -----------------
# Run Chatbot permanent
nohup python3 filename.py
[Close Terminal, the app will run as a service for permanent]
# Stop Chatbot
ps -ef (Get process ID from here)
kill [id]
Flask Code & Flow of implementation►
Donate►machinelearninghubai
Whatsapp Chatgpt BOT ►
Don't forget to Subscribe
My GitHub for free projects►
My store for buying paid projects►
Facebook►
Instagram►
Paypal►
Buy Coffee for me►
Playlist that you should check
Machine Learning College Projects►
Python College Projects►
Android App using Python►
"The video thumbnails were created using publicly available images from Google images and are used solely for thumbnail purposes. I do not claim ownership of these images. If you are the owner of any copyrighted content used in these thumbnails and want them removed or changed, please contact me and I will comply promptly. Thank you."