A Framework for Automated Multiple-Choice Question Generation and Evaluation using Langchain and Gemini
A Framework for Automated Multiple-Choice Question Generation and Evaluation using Langchain and Gemini
Ms A. Sathvika 1
Asst. Professor, Department ofAIDSAnnamacharya Institute ofTechnology and Sciences, Tirupati – 517520, A.P.Andesathvika2602@gmail.com
B. Akhila 4
Student,Department of AIDSAnnamacharya Institute ofTechnology and Sciences, Tirupati – 517520, A.P.akhilabandapalli@gmail.com
T. Dileep2
Student,Department of AIDSAnnamacharya Institute ofTechnology and Sciences, Tirupati – 517520, A.P.dileepthummala4@gmail.com
L. Gayathri 5
Student,Department of AIDSAnnamacharya Institute ofTechnology and Sciences, Tirupati – 517520, A.P.gayathrilakkoju771@gmail.com
D. Lakshitha 3
Student,Department of AIDSAnnamacharya Institute ofTechnology and Sciences, Tirupati – 517520, A.P.lakshithadumpa@gmail.com
Abstract:The rapid growth of digital education platforms has created a strong demand for intelligent systems that can automatically generate and evaluate assessment content. This project presents an AI-driven solution for the automated generation and evaluation of Multiple-ChoiceQuestions (MCQs) using LangChain and Gemini Large Language Models (LLMs). The system aims to reduce manual effort in quiz creationwhile ensuring high-quality, contextually accurate questions across multiple domains.The proposed system leverages LangChain as anorchestration framework to connect prompts, documents, and language models effectively. Gemini LLM is used to generate MCQs,including questions, options, correct answers,and explanations. The system also incorporates evaluation mechanisms to assess the quality of generated quizzes based on difficulty, relevance,and correctness. This ensures that the quizzes are suitable for academic and training purposes. Furthermore, the system supports dynamiccontent generation from user-provided input such as text documents, PDFs, or topics. It enhances scalability in e-learning environments by enabling automatic quiz creation in real-time.Keywords: Lang Chain, Gemini LLM, MCQGeneration, Natural Language Processing, AI inEducation, Automated Assessment,ptEngineerin Promg