Building a Contextual Chatbot through Machine Learning