A chatbot is a software application used to conduct an on-line chat conversation via text or text-to-speech, in lieu of providing direct contact with a live human agent. — According to Wikipedia.
Types of Chatbot
Chatbots can be categorized into two types
Rules- Based
Self Learning
The Rules Based:- Rules based chatobots trains a chatbot to answer question based on pre trained rules. these type of chatbot are good for simple queries.
Self learning chatbot:- Self learning chatbots are based on machine learning algorithms and they are smarter than rules based chatbots. They can learn on their own.
That issue was due to indentation error. You can find full code error.
codePerfectPlus / Python-ChatBot
This article was originally published at codeperfectplus.herokuapp.com/buil...
What is a Chatbot
A chatbot is a software application used to conduct an on-line chat conversation via text or text-to-speech, in lieu of providing direct contact with a live human agent. — According to Wikipedia.
Types of Chatbot
Chatbots can be categorized into two types
Rules- Based Self Learning The Rules Based:- Rules based chatobots trains a chatbot to answer question based on pre trained rules. these type of chatbot are good for simple queries.
Self learning chatbot:- Self learning chatbots are based on machine learning algorithms and they are smarter than rules based chatbots. They can learn on their own.
Author
problem resolved, thank you
Welcome