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

Advanced Configuration for Better Standardized Outputs through Simulated Interactions #79

Open
nyaoouo opened this issue Aug 2, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@nyaoouo
Copy link

nyaoouo commented Aug 2, 2023

In order to improve the standardization of the output generated by the LLM, I propose we implement an advanced configuration that uses simulated interactions. This would allow for a more refined, context-aware generation of commit messages based on specific interaction patterns.

The intended operational flow is as follows:

system: [basic prompt]
user: [sample diff]
assistant: [sample commit message]
user: [real diff]

In this scenario, the LLM would then generate a commit message that is more accurately formatted according to the provided sample. This could potentially lead to increased efficiency in crafting commit messages that adhere to the preferred style of the individual or team, thereby improving overall project workflow.

Looking forward to your feedback.

@Blarc
Copy link
Owner

Blarc commented Aug 4, 2023

Hey @nyaoouo,

your suggestion makes a lot of sense. I will need to check how OpenAI API supports this. It would also probably make sense to preserve the old simple configuration alongside the new, because it's easier to use.

You're very welcome to dig in yourself and open a PR. Otherwise I'll try to look into it when I have time.

Thanks 🙏

@Blarc Blarc added the enhancement New feature or request label Mar 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants