Inspiration

Legal research can be daunting, especially for new plaintiffs or lawyers dealing with cases that have historical precedents. We wanted to create a tool that simplifies this process, making it accessible and efficient for everyone.

What it does

LegalGPT leverages advanced AI technology to provide users with relevant legal precedents and actionable insights. By comparing user input with a comprehensive database of case law, LegalGPT aids in understanding and formulating legal strategies.

How we built it

We used the OpenAI API as the backbone for our language model. Our database contains archaic case files stored as word embeddings, which the AI references to provide accurate and contextually relevant information. The data was acquired via an API and summarized before generating text embeddings. We are trying to use the concepts of RAG and LLM to make it customized.

Challenges we ran into

One of the major challenges was ensuring the accuracy and relevance of the AI's responses. Additionally, handling and processing a large volume of legal documents to create meaningful embeddings was technically demanding along with keeping in mind the rate limits of the API keys.

Accomplishments that we're proud of

Being in the first Hackathon, we have all come a long way by being able to formulate and successfully develop an AI agent that can assist both new plaintiffs and seasoned lawyers by providing them with vital legal information and strategies. This tool can potentially democratize legal knowledge and make the research process significantly more efficient.

What we learned

Before getting into the technicalities of the solution, we understood how a hackathon works and what it has to offer to the students. We gained deep insights into natural language processing, particularly in the context of legal documents. The project also taught us the importance of data accuracy and the challenges involved in training AI models with specialized datasets.

What's next for LegalGPT

We plan to expand LegalGPT's database to include more recent cases and enhance its ability to provide nuanced legal advice. Additionally, we aim to integrate more user-friendly features and expand its accessibility to a broader audience.

Built With

Share this project:

Updates