AceNCERT is an AI-powered tool designed to generate and validate questions from NCERT textbooks for Classes 9 to 12. It utilizes Flask for the backend, Together API for AI-driven question generation and answer validation, and a clean HTML, CSS, and JavaScript frontend.
With AceNCERT, you can:
- Get text from random pages of NCERT books for a selected class and subject.
- Generate different types of questions (MCQs, one-word answers, and True/False) using AI.
- Validate the correctness of answers using AI.
-
NCERT PDFs Processing:
- Official NCERT PDFs for Classes 9-12 were downloaded and preprocessed using Python.
- Converted into structured JSON format for fast retrieval.
-
Random Page Selection:
- Users select a Class and Subject.
- A random page from the selected subject's book is retrieved.
-
AI Question Generation & Validation:
- Together API generates customized questions from the extracted text.
- AI also validates answers, ensuring correctness.
AceNCERT is hosted on Vercel and available online:
git clone https://github.com/gautamxgambhir/AceNCERT.git
cd AceNCERT
pip install -r requirements.txt
python app.py
- Install Vercel CLI if not already installed:
npm install -g vercel
- Deploy using:
vercel
Once deployed or running locally, users can:
- Select Class & Subject to fetch a random page from NCERT books.
- Generate AI-powered questions based on the page content.
- Validate answers using AI to check correctness.
- Flask - Backend framework for handling requests.
- Together API - AI-powered question generation and validation.
- PyMuPDF - Processing NCERT PDFs and extracting text.
- [HTML, CSS, JavaScript] - Frontend for user interaction.
- Vercel - Hosting platform.
Contributions are welcome! To contribute:
- Fork the repo.
- Create a new branch (
git checkout -b feature-branch
). - Commit changes (
git commit -m "Added new feature"
). - Push to the branch (
git push origin feature-branch
). - Open a pull request.
This project is licensed under the MIT License.
- GitHub: @gautamxgambhir
- Email: ggambhir1919@gmail.com
- Instagram: gautamxgambhir
- Twitter: gautamxgambhir