Inspiration
I've always been interested in law ever since I was in 5th grade. I used to avidly participate in mock trials and read legal cases in my free time. When it comes to contracts, whether it's family or criminal law, I know most of the terms as I spent time reading them. But my parents themselves had no clue how to interpret them. The moment this idea came into my mind was when I was sitting with my piano teacher of 5 years, and she was complaining about how she can never understand the business contracts people send her way. She told me she just signs her name and sends them off. But I know this can be extremely harmful in the future. I realized that we need a tool that allows people to copy-paste a contract or terms and conditions in, and get a concise response back. Law isn't just for lawyers; we, as individuals, all have the right to understand the law we abide by.
What it does
The website essentially takes in a text input from the user, maybe part of a contract, and sends that input to an openAI model. This openAI model was given a prompt by me, and it utilizes that to generate a consensus of the contract. I then get that output from the AI model and display it over in the front-end to the user.
How I built it
I first made a design plan and the different components of the website's frontend and backend. I used React to pretty much build all of it. All code was written in Visual Studio Code as I've always found that IDE to be convenient. I then used Github to upload it as a repository and then clone it into my Amazon Web Services EC2 Instance. My EC2 instance then ran my server!
Challenges I ran into
Creating frontend was probably a difficult mark in this journey. I took a web design class once this year but I feel like when I'm making a website like this, basic headers and images won't do the trick. I learned how to create better buttons and even gradient backgrounds to enhance the user interface of my project.
Accomplishments that I'm proud of
I'm proud of being able to use openAI for this. I feel like people look down on ChatGPT but I'm glad I was able to utilize it to provide the community something useful. I'm also glad that I was able to take this legal idea and incorporate it into the computer science world. This whole website was honestly an accomplishment for me as it is the first one I've built on my own.
What I learned
I learned that organizing code is super useful later on. Making different files for different components turned out to be useful when putting all the stuff together as it allowed me to identify what was what. I also learned a lot about HTML/CSS and how to enhance user interfaces. A lot of the stuff I did on this website came from watching exhausting 3 hour tutorials on Youtube, but it was all worth it as I got to create something that I'm proud of and will know help the people around me.
What's next for Contract Simplify
I definitely want to improve the user interface, maybe add a better navbar and more animation to make it engaging for users. Based on the user interaction and feedback, I need to invest and learn more about OpenAI prompt engineering to make the output more relevant. I also want to develop it as an IOS app because that's something I've always wanted to learn how to do and make it widely available! I believe it would allow for more convenience when it comes to the users.