Brandon, Ansh, Stuti, Brandon
A friend of ours told us about how his mom was sued by the state because she filled out a contract wrong. Contracts can become long and tedious to read which makes it easy to miss important information. We want to make sure people don't miss the key details of their contract and also educate them about laws that pertain to the contract.
LawSum takes in a PDF of a contract and will return 5 of the most important points of your contract. This part will normally be general information pertaining to the document and then we will also give 3 laws and descriptions that relate most.
Frontend: Next.js, React, TypeScript, Chakra UI
Backend: Flask, Python, OpenAI
Frontend: Making the upload button was much harder than expected and handling the PDF file was rather difficult. Backend: This was the first time any of us had to merge a frontend and backend together. Since we used two frameworks, merging came to be a pretty big issue at first and it was also our first time creating RESTful API's.
During the middle of the hackathon, all of us spent 3-4 hours reading documentation and trying to figure out the next steps but ended up making no progress. Motivation was low, but we decided to stick it out and now we have a finished product!
For safety purposes in the future, since people will literally be uploading their contracts. If they weren't anonymized that could be a security issue so we want to find ways to encrypt contracts.