ahmadzee26@gmail.com
┃
@zeeshanahmad4
┃
Zee#0291
┃
zeeshan.ahmad400
For discussion, queries and freelance work. Do reach me.👆👆👆
This chatbot is designed to help ecommerce dropshippers or other businesses to communicate with their customers via Whatsapp SMS. It uses the Twilio API to send and receive SMS messages, and OpenAI's GPT-3 language model to generate responses to customer messages. The chatbot is able to answer customer questions, handle inquiries and complaints, provide personalized recommendations, send promotional messages, schedule appointments, process orders, send reminders, provide support, gather feedback, and provide information.
- This code may need to be refactored and trained on your specific data in order to work optimally. If you need any help setting up this chatbot, please let me know.
- Can trained on specific data of product descriptions and customer reviews.
- Communicates with customers via SMS using the Twilio API 📱
- Generates responses to customer messages using OpenAI's GPT-3 language model 🤖
- Can answer customer questions ❓
- Can handle customer inquiries and complaints 😒
- Can provide personalized recommendations 💡
- Can send promotional messages 📣
- Can schedule appointments 📅
- Can process orders 🛒
- Can send reminders ⏰
- Can provide support 🤝
- Can gather feedback 📢
- Can provide information 🧑💼
- Python 3.6 or later 🐍
- Using Flask
- The
openai
library 🤖 - The
twilio
library 📱 - A Twilio Account SID and Auth Token 🔑
- A Twilio phone number 📞
- An OpenAI API key 🔑
- Clone the repository:
git clone https://github.com/Zeeshanahmad4/gpt-chatbot-for-whatsapp-bussiness
- Navigate to the project directory:
cd CHATBOT-REPO
- Install the required libraries:
pip install -r requirements.txt
- Replace
YOUR_ACCOUNT_SID
,YOUR_AUTH_TOKEN
,YOUR_PHONE_NUMBER
, andYOUR_OPENAI_API_KEY
with your own Twilio Account SID and Auth Token, Twilio phone number, and OpenAI API key.
- Run the chatbot script:
python chatbot.py
- Set up a webhook to listen for incoming messages using the Flask framework and the ngrok tunneling service.
- Test the chatbot by sending a message to your Twilio phone number. The chatbot should receive the message, generate a response using GPT-3, and send the response back to you via SMS.
Contributions are welcome! To contribute to the project, please follow these steps:
- Fork the repository
- Create a new branch:
git checkout -b my-new-feature
- Make your changes and commit them:
git commit -am 'Add my new feature'
- Push the branch to your fork:
git push origin my-new-feature
- Create a new pull request
This project is licensed under the MIT License - see the LICENSE file for details.
- OpenAI for providing the GPT-3 language model 🤖
- Twilio for providing the SMS messaging API 📱