--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/repo-discuss/0d29ab02-c628-4c21-9324-8af26600f4e9n%40googlegroups.com.
On 17 Jun 2023, at 09:21, 谢龙 <xielo...@gmail.com> wrote:Hello Everyone,
I've been working on a plugin that leverages OpenAI's ChatGPT for code review.
The 'ChatGPT Code Review' plugin introduces a new dimension to the code review process by utilizing the capabilities of OpenAI's powerful language model. Once a patch is submitted, OpenAI will provide review comments in the form of feedback to help improve your code.
For more details, including configuration parameters and testing guidelines, please refer to the plugin README in the Github repository: https://github.com/xielong/chatgpt-code-review-gerrit-plugin
I'm excited to hear your feedback, suggestions, or any issues you encounter when using the plugin :)
That’s so cool, I am very tempted to enable this on GerritHub.io :-) with a project-specific configuration for all of those who want to use it.That would require:- project-specific configuration for enable/disable the review- project-specific authentication tokens to talk to OpenAI API
--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/repo-discuss/4800b077-7fd6-48f4-bd46-bfc9dde03334n%40googlegroups.com.
The project-specific configuration feature has been provided: https://github.com/xielong/chatgpt-code-review-gerrit-plugin#configuration-parameters
Thank you for your valuable input and feedback : )
To view this discussion on the web visit https://groups.google.com/d/msgid/repo-discuss/f5a79b41-b559-47e2-a69a-c9244a9c3d57n%40googlegroups.com.
Please avoid top posting on this list, use interleaved posting style instead which makes it easierto follow the conversation [1]
I think the gptToken should not be stored unencrypted in gerrit.config since this file is typically versionedin some git repository which doesn't look like a good idea from a security perspective.Storing unencrypted secrets in a separate, strictly local, configuration file secure.configwhich should be only readable by the OS user running Gerrit would be more secure [2].A more secure solution involves encrypting the secure.config file, [3] is an example demonstratinghow this can be implemented.Similarly storing unencrypted secrets on the refs/meta/config branch of a repository is not very secure.
Google Germany GmbH, Erika-Mann-Strasse 33, 80636 Munich
Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg
Geschäftsführer: Paul Manicle, Liana Sebastian
On Sat, Jun 17, 2023 at 10:21 AM 谢龙 <xielo...@gmail.com> wrote:Hello Everyone,
I've been working on a plugin that leverages OpenAI's ChatGPT for code review.
The 'ChatGPT Code Review' plugin introduces a new dimension to the code review process by utilizing the capabilities of OpenAI's powerful language model. Once a patch is submitted, OpenAI will provide review comments in the form of feedback to help improve your code.
For more details, including configuration parameters and testing guidelines, please refer to the plugin README in the Github repository: https://github.com/xielong/chatgpt-code-review-gerrit-plugin
I'm excited to hear your feedback, suggestions, or any issues you encounter when using the plugin :)If I understand correctly, you send ChatGPT the following prompt,"Act as a Code Review Helper, please review this patch set: " + diff_contentsCan you share some examples of the full prompt, and tell us how well this works where in practice? Does ChatGPT have useful feedback?
Thanks Han-Wen for sharing your experience, and thanks 谢龙 for
contributing your plugin.
I will definitely give it a try.
Chris
--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/repo-discuss/CABxGUTi-CQBrtrkdSykNi6rEmyEUdofHWvx4ED_cEhDxQbgiDQ%40mail.gmail.com.