The integration of Artificial Intelligence (AI) into educational systems is a fascinating frontier. One area where AI can make a significant impact is in the review of student submissions. At Pupilfirst LMS, we've leveraged our existing Github Action integration to automate this process, making it more efficient and personalized.
Pupilfirst LMS already had a robust Github Action integration in place. This system pushes each student's submission into a new branch of a dedicated repository. From there, Github CI actions can be triggered automatically, and we have actions to grade and report the status back to the LMS. This existing setup provided the flexibility needed to build and test a new system without altering the core functionalities.
Grade Action: https://github.com/pupilfirst/grade-action
Report Action: https://github.com/pupilfirst/report-action
The main challenge was to convert student submissions, which are in JSON format, into a format that the AI model could easily understand. After several attempts, we realized that the best approach was to pass the JSON submission as-is, but with an additional explanatory prompt.
# The student's submissions will be an array of objects following the provided schema:
{
"kind": "The type of answer - can be shortText, longText, link, files, or multiChoice",
"title": "The question that was asked of the student",
"result": "The student's response",
"status": "Field for internal use; ignore this field during your review"
}
This allowed the OpenAI model to discern which fields to consider and which to ignore.
The AI Auto Review Action was born out of this need. The logic is straightforward: we inform the AI about the context of the submission and prompt it to generate a grade and feedback. The AI model returns the data in a JSON format that is compatible with our existing grade action.
It took just a day to write the code, test the action, and deploy it. The system is now used across various courses for automated submission review.
The integration of AI into our LMS has streamlined the review process, reducing the manual workload and enhancing the learning experience with personalised feedback.
It's a testament to how Generative AI addition can revolutionize traditional educational systems.
If you want to test the Action checkout https://github.com/pupilfirst/ai-review-action
Top comments (0)