codeforboston / maple

MAPLE makes it easy for anyone to view and submit testimony to the Massachusetts Legislature about the bills that will shape our future.
https://mapletestimony.org
MIT License
44 stars 118 forks source link

Batch Job for Generating Bill Summaries #1611

Open Mephistic opened 1 month ago

Mephistic commented 1 month ago

Problem

We now have an LLM-based summary generator for Bills and a data model that supports storing bill summaries - we just have to link the two together and actually generate summaries for our existing bills. We need a job that can be manually invoked whenever there is either a new batch of bills (e.g. with a new session) or a new model version to summarize all existing bills with the current model.

Success Criteria

Additional Links