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.
-
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.
- 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.
Before you begin, ensure you have the following installed:
- Python 3.x
- pip for package management
- OpenAI API Key
- Streamlit for building the web interface
Follow the steps below to set up the project on your local machine.
git clone https://github.com/zeeshanali90233/MCQ-Generator.git
cd MCQ-Generator
- Consult Books: Refer to John Duckett's "HTML & CSS" and Svekis's "JavaScript: Beginner to Professional" books for foundational knowledge.
- Documentation & AI Help: Utilize AI tools like ChatGPT, Phind, Gemini, and online documentation resources for assistance. They are just a search away!
- YouTube Channel: Explore additional helping content videos on my Learn With Ali Engineer to reinforce your learning.
For any questions, feel free to reach out me at any social platform plus through email zeeshanali90233@gmail.com.