Open heyodai opened 1 year ago
My experiments so far indicate that modifying the verbosity significantly reduces the output quality. This isn't too surprising since a good commit message should be fairly concise.
Committing my work to the branch in case we decide to revisit this later.
cc: @rahulmysore23
Per conversation with @rahulmysore23, re-opening for further investigation. Maybe just a max_length
flag?
@rahulmysore23 - Following up on our conversation, look at the branch for this ticket.
If you look in /magic-commit/templates
, I was experimenting with using different few-shot prompting based on the user's requested verbosity. For example, examples_verb_1.jinja gives the shortest possible commit messages.
magic-commit -v [number]
Options:
Inspired by ChatGPT-AutoExpert