Inspiration

I participate in a program called Youth and Government which is run by the YMCA. Through this program, I have learned about legislation, specifically pertaining to New Jersey, and have overall become more civically engaged.

What it does

It assists users in both understanding and creating legislation. Rather than just providing a template or filling out a template completely, it guides users along their legislation.

How we built it

Using Next.js, this website contains a chatbot that is powered by OpenAI's API. Using the GPT 3.5-turbo model, this chatbot is trained and able to assist users in their legislation endeavors.

Challenges we ran into

Returning the results of the OpenAI API back to the frontend.

Accomplishments that we're proud of

The overall layout of the website as well as the responsiveness/helpfulness of the chatbot.

What we learned

Next.js pairs very nice with OpenAI's API to create a stellar AI powered website.

What's next for Legisease

Adding a RAG tool to upload exact pdfs of legislation.

Built With

  • next.js
  • openai
  • react
  • tailwindcss
Share this project:

Updates