https://github.com/muhammadadilnaeem/mcq-generator-using-openai-langchain-streamlit
The MCQ Generator is a comprehensive project designed to generate multiple-choice questions (MCQs) from provided text, evaluate the complexity of these questions, and present them through a user-friendly web interface. This project leverages LangChain and Streamlit for its core functionality.
https://github.com/muhammadadilnaeem/mcq-generator-using-openai-langchain-streamlit
aiproject generativeai langchain mcqgenerator openai streamlit
Last synced: 3 months ago
JSON representation
The MCQ Generator is a comprehensive project designed to generate multiple-choice questions (MCQs) from provided text, evaluate the complexity of these questions, and present them through a user-friendly web interface. This project leverages LangChain and Streamlit for its core functionality.
- Host: GitHub
- URL: https://github.com/muhammadadilnaeem/mcq-generator-using-openai-langchain-streamlit
- Owner: muhammadadilnaeem
- License: apache-2.0
- Created: 2024-07-06T12:54:04.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-07-14T15:46:19.000Z (11 months ago)
- Last Synced: 2025-01-17T15:52:54.760Z (5 months ago)
- Topics: aiproject, generativeai, langchain, mcqgenerator, openai, streamlit
- Language: Jupyter Notebook
- Homepage:
- Size: 47.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# **Generative AI Project: MCQ Generator using OpenAI, Langchain Streamlit**
## **Author: Muhammad Adil Naeem**
[](https://github.com/muhammadadilnaeem)
[](https://twitter.com/adilnaeem0)
[](https://www.linkedin.com/in/muhammad-adil-naeem-26878b2b9/)
## Overview
The **MCQ Generator** is a comprehensive project designed to generate multiple-choice questions (MCQs) from provided text, evaluate the complexity of these questions, and present them through a user-friendly web interface. This project leverages LangChain and Streamlit for its core functionality.https://github.com/muhammadadilnaeem/MCQ-Generator/assets/162784706/80af7c58-35d8-43c6-b377-1bf678ad7494
## Table of Contents
- [**Generative AI Project: MCQ Generator using OpenAI, Langchain Streamlit**](#generative-ai-project-mcq-generator-using-openai-langchain-streamlit)
- [**Author: Muhammad Adil Naeem**](#author-muhammad-adil-naeem)
- [Overview](#overview)
- [Table of Contents](#table-of-contents)
- [Project Structure](#project-structure)
- [Features](#features)
- [Installation](#installation)
- [Usage](#usage)
- [Configuration](#configuration)
- [Data](#data)
- [Experiments](#experiments)
- [Acknowledgements](#acknowledgements)## Project Structure
```plaintext
MCQ-Generator-main/
├── .gitignore
├── README.md
├── doubt.txt
├── mcq_training_data.txt
├── requirements.txt
├── response.json
├── setup.py
├── streamlit.py
├── experiments/
│ ├── machine_learning_quiz.csv
│ └── mcq.ipynb
└── src/
├── __init__.py
└── mcqgenerater/
├── MCQgenerater.py
├── __init__.py
├── logger.py
└── utils.py
```## Features
- **MCQ Generation**: Generate MCQs from provided text using advanced natural language processing techniques.
- **Complexity Evaluation**: Assess the complexity of the generated MCQs.
- **Web Interface**: User-friendly web interface to interact with the MCQ generator.## Installation
To install the necessary dependencies, run the following command:
```bash
pip install -r requirements.txt
```## Usage
To use the MCQ generator, run the `streamlit.py` script:
```bash
streamlit run streamlit.py
```## Configuration
You can configure various aspects of the project in the `setup.py` file and adjust logging settings in `src/mcqgenerater/logger.py`.## Data
The project includes example training data (`mcq_training_data.txt`) and a sample response file (`response.json`).## Experiments
The `experiments` directory contains a Jupyter notebook (`mcq.ipynb`) and a CSV file with machine learning quiz data (`machine_learning_quiz.csv`).## Acknowledgements
We would like to thank the developers of LangChain and Streamlit for their excellent tools and frameworks. Also ineuron, for giving us the opportunity to work on this project.