If you want to tryout the clone in better of this App on OpenAI GPT, checkout my GPTs Agent PDF-to-Quizz online, it's free but you need a GPT Plus
Upload a multiple page PDF and generate a quiz with multiple options. For each page 2 questions will be generated.
This leverage Langchain library to abstract the LLM (Large Language Model) calls.
The UI is based on Streamlit
Here is an exemple PDF (sorry in french but you can get the idea...)
Will generate the following interractive quiz questions:
You need an OpenAI API key from https://platform.openai.com/account/api-keys
Keep in mind this is not free BUT the with the usage of gpt-3.5-turbo it's not expensive at all unless you drop really big PDF (more than 100 pages).
Once you have your API key you can install it in your terminal like this:
export OPENAI_API_KEY=[Your-API-key]
To install:
pip install -r requirements.txt
To run:
streamlit run ui.py
To run on docker
docker build -t pdf-to-quizz .
docker run -e OPENAI_API_KEY=[your-api-key] -p 8501:8501 pdf-to-quizz