Introduction
The Legislative Analysis project focuses on making Sri Lankan legal documents more accessible and understandable through AI.
Overview
This system ingests PDF documents of Legislative Acts and uses Google's Gemini 2.0 Flash model to perform a deep analysis. The results are structured, searchable, and easy to navigate.
Documentation
Analysis Tools
- Acts Browser - Browse and search analyzed legislative acts
- Full Acts Archive - Complete library of all Sri Lankan acts
Act Extract Tool
- Key Features - Structure analysis, intelligent data management, custom querying
- UI Tool - Web interface for analyzing acts
- Technology Stack - Gemini 2.0 Flash, FastAPI, Next.js
- Architecture - System design and data flow
- Setup & Usage - Installation and configuration guide
How to Run
Quickstart
-
Bring up the cluster:
make cluster-upThis starts both the FastAPI backend and the Next.js frontend.
-
Access the UI: Navigate to
http://localhost:3000to view the Acts. -
Stop the cluster:
make cluster-down(Automatically dumps analysis data to JSON before stopping).