This was one of the final projects in cs50ai that challenged me to create an ai that could answer questions you type given a corpus of documents to query against. This AI is not using any neural networks but rather checks the documents for your query based on inverse document frequency and term frequency in the documents. It then finds the best sentence that fits those metrics and returns that sentence back as the answer. You can find the code on GitHub here: https://github.com/c-crowder/cs50_ai/tree/main/questions
python, nltk