This ability that the bot has to “converse” like a human is thanks to the NLP (Natural language processing) language, which is a technique that allows computer systems to “understand” human communications. That is, it enables interaction between the user and the bot.
The answer to your question is that the bot uses Artificial Intelligence and this NLP language to process what the bot's users tell it and thus be able to start a "conversation."
Learn more about bot training here 👉 https://mobile-tonic.atlassian.net/wiki/spaces/CKB/pages/2257389813