Inspiration
The inspiration for this stems from the fact that the complexity of legal documents and how hard it is for a common person to understand, and how tedious, overwhelming and boring! the vocabulary is
What it does
Our project, Legal Ease, uses the Google Gemini API to summarize legal documents. You can upload files as PDFs or images. After receiving a summary, you can ask follow-up questions or have the AI draft an email for you. The app allows you to use your own Gemini API key and choose from available models like Gemini Flash and Gemini Pro.
How I built it
The core AI features are powered by the Google Gemini API. The user interface is built with Streamlit, and the entire application is hosted on the Streamlit Community Cloud.
Challenges I ran into
Choosing a UI Framework: With so many options available, it was difficult to pick the right one. We chose Streamlit because it is user-friendly and offers built-in hosting.
Implementing Chat History: The most complex part was adding the "follow-up questions" feature. To ensure the AI remembers the conversation, we had to implement a system to store the chat history for context. ## Accomplishments that we're proud of Honestly, I'm just proud that I built something that solves a real problem. We all have to deal with complex documents at some point. The thought that this tool could help a friend or family member avoid confusion over a contract is what makes all the effort feel worth it.
What I have learned
This project was a huge learning experience. I went from simply using AI tools to actually building with them through an API. I got hands-on experience with Google AI Studio and learned the whole process of deploying a live web app on Streamlit.
What's next for Legal Ease : An AI-Powered Legal Document Analysis
This is just the beginning! The goal is to make Legal Ease even more helpful. I'm planning to add features like:
Support for multiple languages.
The ability to upload and analyse several documents at once.
Log in or sign up for Devpost to join the conversation.