Not to be blunt, but that is NOT how one should implement a BOT. This is just a program that generates predefined responses. A bot, on the other hand needs to understand context (of previous messages) and formulate new answers.
Nice first post, I agree with Nithin, this is too simple for calling it a "chatbot". But it's a good start, and you can look into RASA as a backend which is open source and helps you build a real bot. Or something like dialogflow 😊
Not to be blunt, but that is NOT how one should implement a BOT. This is just a program that generates predefined responses. A bot, on the other hand needs to understand context (of previous messages) and formulate new answers.
I understand, the plan here was to create something which exhibits some behaviours of a bot.
Nice first post, I agree with Nithin, this is too simple for calling it a "chatbot". But it's a good start, and you can look into RASA as a backend which is open source and helps you build a real bot. Or something like dialogflow 😊
Thanks a lot. I'll try it out then.