Is using a machine learning for prediction with rasa possible?

I want to develop a chatbot that receives symptoms from the user and the bot predicts the diseases and recommend a medication …is this possible to do with rasa…I want anyone from here with machine learning knowledge to give me some idea what to do…I got stucked here where the machine learning comes …