Introducing CongressGPT
TL;DR
For the Hashnode AI For Tomorrow Hackathon, I launched CongressGPT to help us finally understand what Congress is actually doing.
CongressGPT lets users have natural language conversations with the latest bills from the United States House of Representatives and Senate. It uses Vercel's Cron and Supabase's RAG capabilities to continuously update a vector database with new bills.
Keeping up with what Congress is doing is hard. The language used in the bills can be challenging to follow. CongressGPT makes it easy to ask questions and understand congressional bills.
It's more important than ever to stay informed about what our representatives are doing, and I hope CongressGPT helps you do just that.
The Tech
Next.js 14
This project uses several new features from Next.js and React, including the app router, dynamic metadata, server components, and suspense.
Supabase
Supabase is powering a majority of CongressGPT features including authentication, chat and vector storage and similarity searching. I've been using Supabase for several projects and really enjoying it.
Govinfo API
The Govinfo API provides an RSS feed that is updated daily with the latest bills introduced in the U.S. House of Representatives and Senate.
Vercel
Vercel hosts the Next.js application and runs a nightly cron job to pull the latest Govinfo RSS entries, converting any new bills into a vector database.
Shadcn/ui
The entire website is built using shadcn/ui and TailwindCSS.
Subscribe to my newsletter
Read articles from Alex Kates directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by
Alex Kates
Alex Kates
Hi, I'm Alex Kates ๐ I'm a product engineer currently working at Croissant as Director of Engineering. I'm addicted to writing about building, and building things worth writing about. Some extracurriculars AWS Community Builder Instructor at MIT xPRO Bootcamp Volunteer at Tech for Campaigns