Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prompt fine-tuning #275

Open
KostyaZgara opened this issue Mar 8, 2024 · 1 comment
Open

Prompt fine-tuning #275

KostyaZgara opened this issue Mar 8, 2024 · 1 comment
Labels
feature New feature or request pending triage

Comments

@KostyaZgara
Copy link

Feature request

It's great to have a properly predefined prompt, but I think it make sense to let users fine-tune provided prompt. For instance, the current suggested commit always starts with a capital letter which I'd like to avoid. So, as I user I want to provide extra instructions to GPT and guide how my commit messages should look like. There are a lot of other use cases where it might be useful.

Example API:

$ aicommits -p "Start commit message from lowercase letter"
$ aicommits --prompt "Don't mention config changes"
$ aicommits -p "Make an accent on user module"

or it can be defined as a global instruction, like

$ aicommits config set prompt="Start commit message from lowercase letter. Put details into the commit body"

Why?

This feature gives me more control over GPT responses and lets me tailor aicommits to my needs. Also, I think this feature unleashes more powerful features which we might don't expect how it could be used

Alternatives

No response

Additional context

No response

@KostyaZgara KostyaZgara added feature New feature or request pending triage labels Mar 8, 2024
@tak-bro
Copy link

tak-bro commented Mar 21, 2024

@KostyaZgara I've created a new project with your requests. If you're interested, please check it out!
https://github.com/tak-bro/aicommit2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request pending triage
Projects
None yet
Development

No branches or pull requests

2 participants