Chatbots can be developed in two ways- first one is rule-based approach that results in hard coding. While the second one uses machine learning to facilitate data streaming.