Grading system using openai on a scale and based on specific parameters

Hi, greetings all.
Please, I’m looking at setting up a system which helps with grading programming task on a scale of 1 to 10, using OPENAI resource, I’m looking through the docs and I’m yet to get an assistant method which can help. Please can someone help