AI Risk Classification System: Day 16
Introduction
Today, I worked on migrating the recommendations export function from my EUAIActClassifer.java file to my main code.
Development Notes
I started with literally copy and pasting over the original method into ClassificationService.java and slighlty changing the parameters
I also migrated this to ClassificationController.java so that it can use postmapping to handle “post” requests
Then, I post the file download on api.ts so that it can be called on the result page
Lastly, I created a method in my results page to handle this download by calling on the api and made a button so the user can download the results
That completes the functionality of this program:
- Landing page ☑
- Page for user to enter system name and purpose ☑
- Prohibited Assessment ☑
- High-risk Assessment ☑
- Transparency Assessment ☑
- Recommendations with option to export ☑
Moving forward, I will work on the UI of this program so that it looks more presentable