This project allows you to automate the extraction of questions and answers from a PDF document using OpenAI's GPT model. The program processes the text content of a PDF, generates relevant questions, and provides answers based on the extracted material.
- PDF Text Extraction: Extracts text content from a PDF document.
- Question Generation: Uses OpenAI's API to generate questions from the extracted text.
- Answer Generation: Generates detailed answers for each question.
- Batch Processing: Processes multiple PDFs in one go.
- Save to Text File: Outputs the questions and answers into a well-formatted text file.