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

[BUG] Extremely polite and sometimes verbose output #326

Open
mattifrind opened this issue Feb 29, 2024 · 1 comment
Open

[BUG] Extremely polite and sometimes verbose output #326

mattifrind opened this issue Feb 29, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@mattifrind
Copy link

Current Behavior:

I'm trying to automate reviews with this tool and see how we can integrate it into our company's workflows. We've seen some good suggestions but sometimes quite verbose and unnecessary compliments about our code. Here are some examples:

The code is well written and follows the SOLID principles.
The code changes are generally safe and follow good practices.
The changes in this file are generally good, but there are a few areas that...

Expected Behavior:

The chatbot should simply comment about potential errors, risks, etc.
One could do that by adding the following sentence to the prompt:

Do not praise or complement anything. Only focus on the negative aspects of the code.

In my opinion, this has led to more concise feedback although this might change the emojis at the end of the message (because there are only negative things mentioned)

I was wondering if others also experienced this and if anyone tried using different prompts.

@mattifrind mattifrind added the bug Something isn't working label Feb 29, 2024
@mattzcarey
Copy link
Owner

Yes, that is probably a good addition. Feel free to open a PR. There a a bunch of tools that have come out recently to improve prompts. I just haven't had the chance to add one to the project yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants