Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zeeshanahmad4/gpt-chatbot-for-whatsapp-bussiness
A chatbot that can be used by businesses to communicate with customers via Whatsapp SMS using the Twilio API and OpenAI's GPT-3 language model.
https://github.com/zeeshanahmad4/gpt-chatbot-for-whatsapp-bussiness
ai bussiness chatbot dropshipping ecommerce gpt-3 model openai whatsapp-bot
Last synced: 20 days ago
JSON representation
A chatbot that can be used by businesses to communicate with customers via Whatsapp SMS using the Twilio API and OpenAI's GPT-3 language model.
- Host: GitHub
- URL: https://github.com/zeeshanahmad4/gpt-chatbot-for-whatsapp-bussiness
- Owner: Zeeshanahmad4
- Created: 2023-01-02T09:21:55.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-25T23:14:22.000Z (4 months ago)
- Last Synced: 2024-08-26T00:44:01.610Z (4 months ago)
- Topics: ai, bussiness, chatbot, dropshipping, ecommerce, gpt-3, model, openai, whatsapp-bot
- Language: Python
- Homepage:
- Size: 16.6 KB
- Stars: 28
- Watchers: 4
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## 🚀 Introduction
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.
## 📋 Features
- 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 🧑💼## 🧰 Requirements
- 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 🔑## 🔧 Installation
1. Clone the repository: `git clone https://github.com/Zeeshanahmad4/gpt-chatbot-for-whatsapp-bussiness`
2. Navigate to the project directory: `cd CHATBOT-REPO`
3. Install the required libraries: `pip install -r requirements.txt`
4. Replace `YOUR_ACCOUNT_SID`, `YOUR_AUTH_TOKEN`, `YOUR_PHONE_NUMBER`, and `YOUR_OPENAI_API_KEY` with your own Twilio Account SID and Auth Token, Twilio phone number, and OpenAI API key.## 🚀 Usage
1. Run the chatbot script: `python chatbot.py`
2. Set up a webhook to listen for incoming messages using the Flask framework and the ngrok tunneling
service.
3. 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
Contributions are welcome! To contribute to the project, please follow these steps:
1. Fork the repository
2. Create a new branch: `git checkout -b my-new-feature`
3. Make your changes and commit them: `git commit -am 'Add my new feature'`
4. Push the branch to your fork: `git push origin my-new-feature`
5. Create a new pull request## 📃 License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
## 🙏 Acknowledgments
- OpenAI for providing the GPT-3 language model 🤖
- Twilio for providing the SMS messaging API 📱