This repository contains the code for an AI-powered chatbot that provides customer service support using Python and WhatsApp.
-
Twilio account
-
Python environment with the following libraries installed:
-
Twilio
-
ChatterBot
-
-
Clone or download the repository to your local machine.
-
Set up a Twilio account and get a Twilio number for WhatsApp.
-
Create a Python environment and install the required libraries.
-
Train the ChatterBot model with a set of customer service questions and answers.
-
Deploy the Python script on a cloud-based server, such as Heroku or AWS, to make it accessible over the internet.
-
Connect the Twilio number to the Python script, so that incoming messages are automatically forwarded to the chatbot.
-
Test the chatbot by sending messages from WhatsApp to the Twilio number.
The code uses the Twilio library to receive incoming messages from WhatsApp, and the ChatterBot library to respond to those messages using AI. The ChatterBot model is trained with a set of customer service questions and answers, to help it provide accurate and helpful responses. The code also includes a main function that runs the chatbot, and receives and responds to messages in an infinite loop.
If you want to contribute to the project, feel free to open a pull request or submit an issue with your suggestions.
This project is licensed under the MIT License - see the LICENSE file for details.