Q&A Document Reader Implementation

I am relatively new to using the chat GPT API but am working on a project. I have a document roughly 100 pages long that has questions that are commonly asked about a company as well as approved answers, formatted with the question and then the approved answer.

I would like to create a chat box so that when a new question is asked by the user it will check if the question (or a similar one) has been asked and if so respond with an answer using the database.

Currently I am uploading the docx file to an assistant and giving it instructions. However, when I test the assistant out it sometimes works great but mostly gives poor answers or says it can’t access the document.

If anyone has advice or suggestions it would be greatly appreciated!