Skip to content

Bro-Tino/MCQ-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

3 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿง  MCQ Generator from PDFs

Generate intelligent multiple-choice questions (MCQs) from PDF files using LLMs, FAISS vector search, and Streamlit!

๐Ÿš€ Demo

Upload a PDF and get a set of MCQs instantly, powered by embeddings and language models.

๐Ÿ“ฆ Features

  • ๐Ÿ“„ Upload any educational PDF
  • ๐Ÿค– Extract context using LangChain and embeddings
  • ๐Ÿง  FAISS vector store for similarity search
  • โœ๏ธ Auto-generate MCQs with accurate distractors
  • ๐Ÿ’ป Interactive UI with Streamlit

๐Ÿ› ๏ธ Installation

Clone the repository

git clone https://github.com/Bro-Tino/MCQ-generator.git cd MCQ-generator

Create and activate virtual environment

python -m venv venv venv\Scripts\activate # On Windows

Install dependencies

pip install -r requirements.txt

Run the Streamlit app

streamlit run MCQ-generator.py

About

Generating MCQs using FAISS(RAG)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages