chathub
chathub copied to clipboard
`system` role for GPT
It would be nice to have an option to change the default system role prompt for the GPT API
I don't know if this is somehow now posible to use this feature right now. I looked for it and didn't found anything, and also I looked at the code and looks like it's not possible
What will you use it for?
The system role prompts changes the messages completely based on what you ask.
I use it to generate messages that use a specific strict format. For example I have a super small system prompt that generates only (without any surrounding text) git conventional commit messages. Doing that using an user role prompt is possible but much harder, and usually some of the messages contains extra text around the commit message that breaks the result.
I just thought that having a selector for the role on the prompt library could make this change super easy. I can make a PR for this if you consider a good addition
I see. PR is welcomed!