Skip to content

MCQ-Generator is an AI-powered tool that generates multiple-choice questions (MCQs) from natural language queries. Using ChatGPT, Langchain, and Streamlit, it converts any text or question into structured MCQs, making it an ideal tool for educators, students, and content creators to quickly generate quizzes and tests.

Notifications You must be signed in to change notification settings

zeeshanali90233/MCQ-Generator

Repository files navigation

MCQ-Generator 📝🤖

Welcome to MCQ-Generator, an intelligent tool designed to generate multiple-choice questions (MCQs) from natural language queries. Powered by Langchain, ChatGPT, and Streamlit, this project uses advanced NLP techniques to convert any given text or query into a structured set of MCQs for educational purposes. Whether you're a teacher, student, or content creator, MCQ-Generator makes it easy to create quizzes and exams from text-based content.

Features 🌟

  • NLP-Powered MCQ Generation

    • Automatically generate multiple-choice questions from natural language queries or text input.
    • Leverage ChatGPT and Langchain for smart question formulation and answer options.
  • Streamlit Interface

    • User-friendly web interface for easy interaction and real-time MCQ generation.
    • Input your queries or text, and instantly receive MCQs with answers and explanations.
  • Customizable Question Types

    • Generate different types of questions: factual, conceptual, and application-based.
    • Option to choose difficulty levels for MCQs.
  • Educational Tool

    • Great for teachers and educators looking to create quizzes and tests quickly.
    • Ideal for students and learners who want to practice and test their knowledge.

Tech Stack 🛠️

  • Python: The core programming language for building the application.
  • ChatGPT: Language model used for question and answer generation.
  • Langchain: For managing the flow of questions and handling NLP tasks.
  • Streamlit: Web framework to deploy and visualize the MCQ generation process.
  • OpenAI API: For integration with ChatGPT to generate relevant MCQs.

Prerequisites 📝

Before you begin, ensure you have the following installed:

  1. Python 3.x
  2. pip for package management
  3. OpenAI API Key
  4. Streamlit for building the web interface

Installation 🚀

Follow the steps below to set up the project on your local machine.

1. Clone the Repository

git clone https://github.com/zeeshanali90233/MCQ-Generator.git
cd MCQ-Generator

📖 Helping Material

  1. Consult Books: Refer to John Duckett's "HTML & CSS" and Svekis's "JavaScript: Beginner to Professional" books for foundational knowledge.
  2. Documentation & AI Help: Utilize AI tools like ChatGPT, Phind, Gemini, and online documentation resources for assistance. They are just a search away!
  3. YouTube Channel: Explore additional helping content videos on my Learn With Ali Engineer to reinforce your learning.

📝 Contact & Support

For any questions, feel free to reach out me at any social platform plus through email zeeshanali90233@gmail.com.

About

MCQ-Generator is an AI-powered tool that generates multiple-choice questions (MCQs) from natural language queries. Using ChatGPT, Langchain, and Streamlit, it converts any text or question into structured MCQs, making it an ideal tool for educators, students, and content creators to quickly generate quizzes and tests.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published