It is a web application that helps users extract and process JNTUK Question Bank Questions (PDF file) and generate detailed answers PDF of any subject. This works with any JNTUK Question Bank of any subject.
Live Demo: View
Note: The question bank must follow the below format and must be a PDF file
- PDF file upload and text extractio
- AI-powered answer generation
- Real-time processing and response
- Generate Answers PDF for any Question Bank
- Frontend: Next.js 13+, React
- Backend: Next.js API Routes
- AI Integration: Google Generative AI (Gemini)
- PDF Processing: pdf-parse
- Node.js 16.x or later
- npm or yarn
- Google AI API key
- Clone the repository:
git clone https://github.com/ratna-babu/JNTUK-question-bank-solver
cd JNTUK-question-bank-solver
- Install dependencies:
npm install
- Create a
.env.local
file in the root directory and add your Google AI API key:You can get the Gemini API key from "https://aistudio.google.com/"
NEXT_PUBLIC_GEMINI_API_KEY=your_api_key_here
- Start the development server:
npm run dev
- Open http://localhost:3000 in your browser to see the result.
- Upload a PDF file of question-bank using the file upload button
- The system will extract questions from the PDF
- AI-generated detailed answer-pdf will be ready to download in a few seconds
POST /api/upload
- Upload and process PDF filesPOST /api/gemini
- Generate answers using Gemini AI
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
- Google Generative AI
- pdf-parse library
- Next.js team