freeedcom / ai-codereviewer

AI Code Reviewer: Enhance your GitHub workflow with AI-powered code review! Get intelligent feedback and suggestions on pull requests using OpenAI's GPT-4 API, improving code quality and saving developers time.
MIT License
479 stars 439 forks source link

Added language option for code review #47

Open chkdmin opened 4 months ago

chkdmin commented 4 months ago

Added language options for a wider range of users.

Without touching the existing prompts, we asked users to respond to additional system prompts in their language.

villesau commented 4 months ago

Hi, thanks for the contribution! Mind elaborate what OOC means? And why did you opt in to adding an extra system prompt instead of extending the existing one?

chkdmin commented 4 months ago

I just adapted the prompts I usually use when roleplaying a character. It's what I use to ask for out-of-character instructions.

I found that the commands worked better when sent in isolation from the system prompts without affecting the existing prompts, so that's what I did.

I've found that it works fine as is, but I don't think it's a universally appropriate prompt. Any ideas?