grade.ai is an AI-assisted evaluator tool designed to simplify the grading process for educators. This tool leverages advanced AI models to validate student answers, making the assessment process more efficient and accurate. Teachers can use this platform to upload question papers, schema, and relevant batch information. Once student answer PDFs are uploaded, they are converted into text, evaluated against the schema, and presented in a dashboard with detailed scores and analytics.
The platform includes the following features:
- Teacher Interface: Allows educators to add question papers, grading schema, and batch-specific information.
- Student Answer Evaluation: Automatically converts uploaded PDFs of student answers into text for AI-based evaluation.
- Dashboard: Displays detailed scoring and insightful analytics on student performance.
- Front-end: React.js
- Back-end: Flask and Python
- API Service: OpenAI
- Database: PostgreSQL
- Input Questions and Schema: Teachers can input questions and define the evaluation schema for each question set.
- Upload Student Answers: PDFs containing student answers are uploaded, converted to text, and stored in the database.
- AI-Powered Evaluation: The tool evaluates student responses based on the schema using OpenAI's language model.
- Visualization and Analytics: Scores are displayed on a dashboard, offering insights and visual representation for easy comprehension.
To get started with grade.ai
:
- Clone the repository.
- Set up the backend by following the detailed instructions below.
- Install the dependencies for the front-end.
- Set up the database and environment variables.
- Run the React front-end and Flask back-end.
- Access the dashboard to view evaluation results.
-
Clone the repository:
git clone https://github.com/your-username/grade.ai.git
-
Navigate into the backend directory:
cd grade.ai/backend
-
Create a
.env
file:- Create a file named
.env
in thebackend
directory. - Add your OpenAI API key to this file:
OPENAI_API_KEY=your_openai_api_key_here
- Create a file named
-
Create a virtual environment:
python3 -m venv venv
-
Activate the virtual environment:
source venv/bin/activate
-
Install the backend dependencies:
pip install -r requirements.txt
-
Run the backend server:
python app.py
-
Testing with Postman:
- Use Postman to send requests to the backend and test the API.
- Configure and use sample data and responses to see how the system works.
-
Start the front-end server:
cd frontend npm start
-
Access the application at
http://localhost:3000
.
Contributions are welcome! Feel free to open an issue or submit a pull request.
This project is licensed under the MIT License.