Inspiration

As college students stepping out into the real world, we recognize the challenges individuals face when seeking legal help—especially when it comes to cases of harassment. The legal system can be complex, costly, and extremely intimidating for those seeking out for help and guidance. We wanted to create an AI-driven solution that makes legal guidance accessible, affordable and secure for everyone.

What it does

LexAI is an AI-powered legal aid bot that provides instant, user-centric legal advice based on key factors like location and financial independence. It not only informs users of their rights but also connects them with local legal professionals for further assistance.

Sustainable Development Goals (SDGs) Impact

LexAI aligns with the following SDG goals: Gender Equality: Provides accessible legal support to individuals facing harassment. Quality Education: Educates users on legal rights and options. Decent Work & Economic Growth: Ensures equal opportunities in the workplace by informing users of their legal rights.

How we built it

Frontend: JavaScript, CSS, and HTML for a seamless and intuitive user experience. Backend: Python and ChatGPT API for intelligent, context-aware legal guidance. Hosting: Successfully deployed with full integration between the frontend and backend on Github Pages.

Challenges we ran into

One of the biggest challenges we faced was hosting the backend on GitHub Pages, as it primarily supports static sites. Additionally, integrating the backend with the frontend posed difficulties in maintaining seamless communication between the user and the AI model. Debugging API calls and ensuring a smooth exchange of data between components required meticulous attention and troubleshooting. Despite these obstacles, we remained committed to delivering a fully functional and user-friendly experience.

Accomplishments that we're proud of

We successfully connected LexAI to the ChatGPT API, enabling dynamic legal advice tailored to each user's needs. Achieving full integration between the frontend and backend was a significant milestone, allowing us to create a seamless user experience. Additionally, we overcame the technical challenges associated with hosting and deployment, ensuring that LexAI is accessible and functional for users. These accomplishments reflect our dedication to building a reliable and effective AI-powered legal aid bot.

What we learned

Through this project, we gained valuable hands-on experience in API integration, backend deployment, and frontend-backend communication. We explored various solutions to address hosting limitations, learning about the constraints of GitHub Pages and the importance of selecting the right deployment strategy. Debugging integration issues also strengthened our problem-solving skills, enhancing our ability to work with AI-powered applications. This journey has provided us with deeper insights into software development, AI ethics, and the practical implementation of technology in real-world scenarios.

What's next for LexAI

Blockchain Integration: To enhance security, privacy, and data integrity for users. Expanded Legal Coverage: Support for additional legal cases beyond harassment. Multilingual Support: Making legal guidance accessible to a wider audience globally. More AI Capabilities: Improving legal recommendations and accuracy through advanced prompt engineering.

Share this project:

Updates