Skip to content

Latest commit

 

History

History
18 lines (15 loc) · 1.1 KB

README.md

File metadata and controls

18 lines (15 loc) · 1.1 KB

whatsappbot_nlp

A WhatsApp chatbot built using Natural Language Processing to understand the user texts and reply back with a relevant message.

The chatbot is first trained using Natural Language Toolkit to understand the messages depending upon various tags and randomly choose the appropriate message to reply. We use flask and connect it with twilio in order to receive and send messages through Twilio. The chatbot is then connected to the flask app to use the chatbot on whatsapp to reply to the user.

Python libraries used:

Requirements:

  • Setup a twilio account
  • Download ngrok to use the localhost server as a global server and use it in the twilio sandbox settings
  • You can use gunicorn to deploy the flask app online to use the trained model and then set the twilio sandbox settings