Skip to content

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.

License

Notifications You must be signed in to change notification settings

gautamxgambhir/AceNCERT

Repository files navigation

AceNCERT Logo

AceNCERT: AI-Powered NCERT Question Generator & Validator

Python Flask Status License Vercel Together-AI

What is it?

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.

How It Works

  1. NCERT PDFs Processing:

    • Official NCERT PDFs for Classes 9-12 were downloaded and preprocessed using Python.
    • Converted into structured JSON format for fast retrieval.
  2. Random Page Selection:

    • Users select a Class and Subject.
    • A random page from the selected subject's book is retrieved.
  3. AI Question Generation & Validation:

    • Together API generates customized questions from the extracted text.
    • AI also validates answers, ensuring correctness.

Where to Access It?

AceNCERT is hosted on Vercel and available online:

🔗 Live Demo

Installation and Setup

1. Clone the repository:

 git clone https://github.com/gautamxgambhir/AceNCERT.git

2. Install dependencies:

cd AceNCERT
pip install -r requirements.txt

3. Run the Flask server:

python app.py

4. Deploy on Vercel:

  • Install Vercel CLI if not already installed:
npm install -g vercel
  • Deploy using:
vercel

Usage

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.

Dependencies

  • 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.

Contributing

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.

License

This project is licensed under the MIT License.

Contact

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published