Description
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):
- Who pays for the AI stuff?
- When is it run?
- Which AI tool to use?
- Most AI tools cannot read contents of links that you provide it
- The commitfest app does not actually store any data.
- There are hard limits on the amount of text you can give to an AI to summarize.
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:
- Include the actual email thread text (and maybe patch text)
- Allow limiting the text in the prompt to a certain character limit (probably with a default that's allowed for the most popular AI tools)