This is a basic chatbot which will traverse through the provided document list and answer your queries based on the document it is fed. I have refered this:
https://github.com/ankita1910/nlp-chatbot/blob/master/Building%20a%20Chatbot%20using%20NLP.ipynb