This Chatbot is a microservice implemented to provide customer support to users via WhatsApp chat. It is implemented using Node.js,express.js, and MongoDB. It is a rules-based service where all the questions and the following options are pre-configured in the DB, if the user is looking for a query that isn't there in the configured questions he can type the query which will be passed as a prompt to the chatbot.
Integrated WhatsApp using Twilio, and for rules configuration rule engine has been used.
- Create an account in Twilio, and get the auth key for Twilio
- Create an account in Chatgpt, and get the auth key for Chatgpt
- Configure all your auth keys and db URI in .env file
- Install Node and NPM
- in the repo to install all the required libs, run npm i
- finally, to run the service, use npm run dev