This project is a MCQ (Multiple Choice Questions) Generator that utilizes Generative AI, specifically Langchain, to generate multiple-choice questions based on the content provided in the form of PDF or text documents. The generator extracts relevant information from the PDF content and generates MCQs according to the user given difficulty level .
Also deployed this application on the AWS EC2 instance (t2.small with 20 GB Memory)
- PDF Parsing: The generator can parse PDF documents to extract text content.
- Generative AI (Langchain): Uses Langchain, a Generative AI model, to generate multiple-choice questions based on the extracted content.
- Customization: Allows users to specify the number of MCQs to generate and set the difficulty level .
-
Input File: Provide the PDF or text document containing the content from which MCQs need to be generated.
-
Specify Parameters: Specify the number of MCQs to generate, difficulty level and the subject.
-
Generate MCQs: Run the generator, which will parse the PDF, analyze the content, and generate MCQs using Generative AI.
-
Clone the Repository: Clone this repository to your local machine.
-
Install Dependencies: Install the required Python dependencies using
pip install -r requirements.txt
-
Run StreamlitApp: Run the sreamlit app which contains frontend
streamlit run StreamlitApp.py
Contributions are welcome! If you have any suggestions, feature requests, or bug reports, please open an issue or submit a pull request.
This project is licensed under the MIT License.