Chatbot is an AI based software which is used to interact with humans in their language. It is used as a virtual assistant. It is used by many companies to take customer feedback and for other purposes.
Using this technology has become crucial and more in the world of digital marketing. Probably before it generated distrust in users that a robot responded but as we move forward these Chatbots seem more real.
Now we’ll see how to make chatbot.
First we need to download an important library known as chatterbot so that we can easily make chatbot.
How to download chatterbot library?
- Go to command prompt.
- Write the following command and install it.
pip install chatterbot or pip install chatbot
In this we can install chatterbot library.
Now we can use it by importing it in python
import chatbot or from chatterbot import chatbot
After importing chatbot we’ll write the program so that it reacts certain sentences on certain questions.
In this way we can make chatbot.