pdf question answering using open ai and gpt4all embeddings