denolehov / obsidian-git

Backup your Obsidian.md vault with git
MIT License
6.14k stars 250 forks source link

[feature] add optional openai based commit message summarization. #665

Closed iamashwin99 closed 1 month ago

iamashwin99 commented 6 months ago

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.

Vinzent03 commented 5 months ago

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

Paillat-dev commented 5 months ago

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

GollyTicker commented 1 month ago

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:

Vinzent03 commented 1 month ago

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.