Project Info

LegalLingua

Devpost

This project did not submit a demo video on Devpost.

Inspiration

We all came together to solve a problem that people struggle with on a regular basis. We are we were immigrants who hail from different places in the world where English is not a prevalent language! We thought to ourselves, what is someone that is difficult and is often. detriment to various communities? We discovered that we could leverage our knowledge to help communities that either are drawn into confusion or are taken advantage of through legal documentation that is often difficult to understand, even for those who are fluent in English.

What it does

We leveraged large language models, ORC, and base 64 to scan documents, summarize them, and translate them to a person's language. We do this summarization and translation by implementing Together.ai's api and fine tuning models using our datasets.

How we built it

We built it by splitting the team into various roles - Juan: Front-end, Aleks: Front-end / Back-end, Randolf: APIs, ML/AI, and Xiang (UI/UX / Front-end). Our technology/ Design stack: Tailwind.css, Python, Javascript, Together.ai API, Google Vision API, Typescript, Javascript, Next.js, Libraries for transforming PDFs.

Challenges we ran into

We all ran into tough challenges as we struggled to connect components together which include: - Working with Pdf documents: searching for the best libraries to help convert documents to images - Connecting to google vision api after obtaining said images - Working with timeouts with displaying words using visual effects in the front-end - Loading effects, creating try-catch statements using logical processing - Designing the website using sigma to have a simple but elegant UI/UX - Congregating data to use in together.ai's LLMs (LLaMA - for summarization, llama 2 - for key points / insights) using python scripting - Working with Together.ai's prompting to ensure the best answer quality for the queries needed to operate our platforms

Analysis

Compare with all teams

View

Metric

Figures cover GitHub contributors during the hackathon window. A co-authored commit counts in full for each author, so per-member totals add up to more than the whole-team figures.

Technology

Found in codeClaimed only
  • CSSIn code
  • JavaScriptIn code
  • Next.jsIn code
  • PythonIn code
  • ReactIn code
  • Tailwind CSSIn code
  • TypeScriptIn code

7 of 7 appear in the indexed code.

AI coding agents

No AI coding agent signals were found in this repository.

Detected from committed agent config files and commit authorship. Absence of a signal is not proof an agent was unused.

Codebase size

Source size

41 KB

Source files

39

Counts recognized source files only; vendored directories, binaries and lockfiles are excluded, so this is smaller than the repository on disk.

0 stars