Using openAI to create questions (not answer them)

Use case: I want to create a quiz (10 questions) using openAI on a specific topic. The topic details are contained in a 200 pages document. In other words, I want OpenAI to create a list of 10 questions based on 200 pages document that I feed. How do I do that?

  1. If I try embedding, that would not work because embedding is very good at finding the answer from several embeddings. But it can’t combine several embeddings to ask insightful questions.

  2. If I try fine-tuning the model, how do I feed 200 pages document to Open AI. I think the max is 10-12 pages. If I break the document to in several sections to fine tune, I am not sure it will be able to combine all the sections and ask “insightful questions”.



I have two videos that might help:

This first one is about generating questions.

This second one is about extracting information from arbitrarily large documents.

Contrary to what I posted, I was able to create questions (and very good one) from the embeddings.