Skip to content

Prompt fine-tuning #275

Open
Open
@kostyazgara

Description

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions