Building a Telegram Chatbot with Python Flask, and EC2: Introducing ChatGPT Telegram Bot

Опубликовано: 28 Май 2023
на канале: Machine Learning Hub
3 тыс
7

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."




Смотрите видео Building a Telegram Chatbot with Python Flask, and EC2: Introducing ChatGPT Telegram Bot онлайн без регистрации, длительностью 19 минут 08 секунд в хорошем hd качестве. Это видео добавил пользователь Machine Learning Hub 28 Май 2023, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 3 тысяч раз и оно понравилось 7 людям.