Q and A

Have you ever wished you just chatted with your school notes, assignments, videos and other proprietary documents that are not available online and ChatGPT is not aware of? If yes then you are in luck, this is absolutely possible. In this article I show you how to do exactly this. Answering questions from a document involves the following steps:
1. Splitting the document into smaller chunks. 2. Convert text chunks into embeddings. 3. Perform a similarity search on the embeddings. 4. Generate answers to questions using an LLM.