This is our attempt at creating an AI companion that helps students solve programming questions with tests.
-
Clone the repository
-
Install the needed Python server dependencies:
pip install --extra-index-url https://packages.jetbrains.team/pypi/p/grazi/jetbrains-ai-platform-public/simple grazie-api-gateway-client==0.0.19 pip install flask
-
Run the server:
GRAZIE_JWT_TOKEN="<your grazie jwt token>" python src/__init__.py
-
Install the plugin in your IntelliJ IDE of choice. You can download it from here.
-
Done! Now you can use the plugin in your IDE.
We allow 3 different types of prompts that are sent from the front-end plugin:
- Error Analysis: Our plugin allows the students to enter in a prompt the task they are doing and the error they encounter, and the model will automatically get the student's code and give back hints on how to fix the errors without directly giving the solution.
- Style Check: Checks the student's code for both weak and strong points from the code style perspective returning appropriate feedback.
- Concept Analysis: It explains the concept that the student inputs and relates it to the current task and code.