Inspiration
I was invited to parliament. It terrified me. Nobody has a clue. There are speeches, bills and amendments every minute. Nobody knows what is happening, least of all our members of parliaments.
It's actually mad. MPs do so many votes a day. It's super hard to keep track. They're in and out of meetings. Stuff gets proposed in speeches in real-time. They vote with the party whip 99% of the time.
They get transcriptions the day afterwards. Only then do they really know what they voted on.
The speeches are live-streamed and all the bills are public record. But the language is hard to pick through. It's basically impossible to understand the implications of a vote.
This scared me. We can do better.
What it does
Parliament Wow is a website that:
- Live transcribes parliamentary speeches
- Scrapes and collates relevant information in real-time
- Uses AI to cut through the legalese and displays what MPs are actually voting on
- Breaks down the potential implications of each vote
All in a clean, usable UI.
How we built it
We leveraged freely available data:
- Bills
- Meeting notes
- Videos
- Some existing transcriptions
Our process:
- Scrape data from various sources
- Clean and process PDFs and audio files
- Store processed information
- Create a user-friendly interface
Challenges we ran into
We had so many problems. So much data.
- 35,000 bills to process
- Data stored behind Cloudflare CDN, blocking our scraping
- Mostly PDFs, hard to parse
- Audio files up to 12 hours long
What we learned
- The importance of good data cleaning and processing (we used vision LLMs to extract tables and other hard to parse info from PDF files)
- Methods to bypass CDN restrictions (ethically)
- The complexity of parliamentary procedures
Accomplishments that we're proud of
- We did the unsexy hard work of cleaning and parsing lots of data
- We made a real, usable tool which will scale in production.
- We shipped it.
In the end, we created a tool that brings unprecedented transparency to the parliamentary voting process. Parliament Wow makes it easier for citizens and members of parliament to understand and engage with their democracy.
Built With
- cloudflare
- javascript
- mistral
- modal
- python
Log in or sign up for Devpost to join the conversation.