Feature Request: AI generated edit comment
Description
Well, since most OSM comments are meant to reflect simply what was edited, that's kinda trivial to be described by some remote LLM.
I've been using automatic commit/PR messages on VSCode and it's being great.
Well, since most OSM comments are meant to reflect simply what was edited, that's kinda trivial to be described by some remote LLM.
This doesn't seem trivial to me, but I'd be interested to hear more about how it might work in practice? I guess we could send raw changeset xml to an LLM and ask it to summarize the contents. Who pays for this?
The idea is something similar to this functionality on VS Code, I'm using it all the time to write automated commit messages.
I've asked GPT 4o (so probably any llama version could do it similarly) to describe the pasted content of https://www.openstreetmap.org/api/0.6/changeset/170011588/download with:
can you try to generate a short edit message as it's generally demanded by the osm community?
and it gave:
Added 6 building footprints (28 nodes) from Microsoft building dataset (#microsoft‑buildings)
What was updated: 6 closed ways tagged building=yes using 28 newly created nodes
Where: area around latitude –26.23 to –26.235, longitude –52.674 to –52.676
Why: to fill missing building coverage in the map using licensed open footprints
I believe that with some prompt engineering it can be polished further.
Who pays for this?
Well, since RapID is backed by Meta...