Upload case documents to generate structured legal insights.
Most legal documents work, but this tool is intended for PDFs obtained from Singapore judgments and case summaries.
Upload a PDF file to analyse legal insights.
Our AI-powered system extracts legal insights from case law documents.
Submit a case law document in PDF format.
AI processes the document and extracts structured insights.
Get a structured summary, nuances, and precedents.
With artificial intelligence rapidly advancing in law and other fields, I wanted to build something practical that aligns with these trends. This project was an opportunity to explore AI's application in legal case analysis.
The project began with designing the frontend using HTML and Tailwind CSS, ensuring a clean and professional aesthetic. Once the basic UI was complete, I integrated Flask as the backend to handle file uploads and process the legal documents.
To generate structured legal insights, I utilised the GPT-4o API. While I developed the core logic, ChatGPT acted as an assistant, helping to refine specific segments of the project - particularly in optimising API calls, structuring the output, and refining UI/UX details.
Throughout the development, I iterated over various API prompts, ensuring the extracted legal data was meaningful and aligned with structured case law summaries. The final integration allowed PDF uploads to be processed via Flask, extracting the text and then passing it through the AI for analysis.
This project is a testament to AI’s growing role in legal research and automation. The ability to efficiently summarise and extract key legal details from judgments is something that will only become more valuable as AI evolves.