Inspiration

Most of us see something like a Terms of Use or Employment Contract Agreement and just click accept without really understanding what exactly we are signing away or what we might be agreeing to. This tool is meant to help the average person get an understandable and brief overview of the legal documents they may be mindlessly signing off on.

What it does

The application lets users upload legal files (like terms of use, licenses, or contracts) and uses open source large language models to provide a brief summary of the documents.

How we built it

I used Flask for the backend, and integrated with the HuggingFace Transformers and Langchain libraries for the LLM calls. For the front end, I used React.js.

Challenges we ran into

This was my first time building anything with Flask, so I had a lot of fun learning how to connect the front and back ends of the application together.

Accomplishments that we're proud of

[in progress]

What we learned

I learned a lot about how to use Flask and React.js together in a full stack web application

What's next for Legal-ease

  • integrate Langchain into the pipeline to get more fine-tuned output
  • build a local chatbot that lets users ask specific questions about the document.
Share this project:

Updates