with Wikipedia
Github Repository
You have to upload documents of your choice and it can answer questions based on the documents, I used nltk for preprocessing the documents.
To generate a response I used TFid vectorizer to find similarity between words entered by user and in the documents using cosine similarity. Some basic responses like hey hello bye had to hardcoded. It can also give the first three lines from the Wikipedia page if you type "tell me about _", I used the Wikipedia library for this.