Member-only story
Build Your Own Smart Chat Bot Using Python
A Step by step guide to build an intelligent chat bot using python.

In this article I will show you how to build your very own chat bot using the Python programming language and Machine Learning! More specifically I want to create a “Doctor Chat Bot On Chronic Kidney Disease”, meaning I can ask this chat bot about chronic kidney disease, and it can come up with a reasonable response.
What Is A Chat Bot?
A chat bot is software that conducts conversations. Many chat bots are created to simulate how a human would behave as a conversational partner. Chat bots are in many devices, for example Siri, Cortona, Alexa, and Google Assistant. Many chat bots are used now a days for customer service.
There are broadly two variants of chat bots: Rule-Based and Self Learning.
A Rule-Based chat bot is a bot that answers questions based on some rules that it is trained on, while a Self Learning chat bot is a chat bot that uses some Machine Learning based technique to chat.
We will use a rule based approach for responding back to greetings, and we will have the chat bot respond to questions and queries by taking in some text and having the chat bot select the best response back from that text. This type of…