-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AI patch summary MVP #18
Comments
This will be a super helpful feature!!
I have two temporary/placeholder solutions to get started with this MVP:
We have the content on our mail archives, so maybe we can either use web scraping or expose an endpoint from the archives website(or from wherever we get the email data) and feed that data to our model
For the MVP I think we should focus on why the patch was required and who is involved with it. For example: If this seems reasonable, I can start working on small prototype with some dummy data. |
I definitely think that we'll eventually want do something like this. But the first option means we need to set up an account and figure out who pays for it. The second one means significant infrastructure work. As explained in my initial description, I think for an MVP we could skip these and only have a "populate clipboard with AI summary prompt" button. But if you think option 1 (gemini API) is not a lot of work to set up, feel free to include that too. As long as it's optional (based on an API key being being present in the settings) I think that's fine.
I think scraping is probably the easiest. You can go to a whole thread by going to: https://www.postgresql.org/message-id/flat/
I'd definitely want to have it include some of most recent emails too. Threads tend to change focus a lot over time. And I think one of the most useful things is to figure out the current status of the thread, and what it's blocked on. |
Yes this information is much more useful.
It's not a lot of work to setup but I'll need to use the For now I think we can experiment with the "populate clipboard with AI summary prompt" button option for threads with relatively less number of threads. I'll try to set it up on a different branch in my repository asap and maybe we can see how it works out. Once we have this working, we can try sending it to Gemini and see what it generates. |
One thing AI is actually very good at these days is reading a bunch of text very fast and producing a pretty useful (and mostly correct) summary. One specific type of summary this could give is what the blockers on a current patchset are and what are the disagreements. Such things for a very long email thread.
Sadly doing this automatically is no small task for at least a few reasons (and probably more):
So instead of creating a solution that's fully integrated in the commitfest app, it seems better to start with an MVP that allows us to evaluate the usefulness of such summaries.
An MVP that should be relatively simple to implement is having a button on the patch page that populates the clipboard with a prompt that people can copy paste in their favorite AI tool. This would work around the first three issues. To solve the remaining issues you'd have to:
The text was updated successfully, but these errors were encountered: