McGraw Hill Interview Question

How to build one AI based chatbot?