obsidian-git icon indicating copy to clipboard operation
obsidian-git copied to clipboard

[feature] add optional openai based commit message summarization.

Open iamashwin99 opened this issue 1 year ago • 2 comments

The automatic commit messages are currently quite cryptic as they only offer hostname and date-related information. It would be a nice introduction to have a {{ai_summary}} as an optional field which then uses, openai or other services to summarise the commit contents.

iamashwin99 avatar Jan 02 '24 00:01 iamashwin99

Interesting idea, but I really don't plan to add that anytime soon.

Vinzent03 avatar Jan 07 '24 19:01 Vinzent03

Maybe it is possible using opencommit and custom git executable path in the obsidian-git settings. But it's hack solution.

Paillat-dev avatar Jan 11 '24 15:01 Paillat-dev

An AI summary is not a core feature of a git-backup plugin. Ideally, this should be a secondary plugin based ontop of this one - or where a different obsidian plugin (which implements the AI summary) can be invoked from the obsidian-git plugin to generate the summary. This also makes it possible for the user to decide which AI to use - as not everybody is willing to send their vault files over the internet to Microsoft for summarization :sweat_smile:

GollyTicker avatar May 26 '24 13:05 GollyTicker

Yeah I don't plan it for this plugin, so I'm going to close this for now. I'm maybe open to offer an api for extra plugins.

Vinzent03 avatar May 26 '24 15:05 Vinzent03