From 331e211b3bf9ea56a3da491d03ceb9831da5fe5d Mon Sep 17 00:00:00 2001 From: ravilushqa Date: Sun, 9 Jul 2023 01:43:06 +0800 Subject: [PATCH] optimize review prompt --- openai/prompts/review | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/openai/prompts/review b/openai/prompts/review index d95aeeb..0c9e28b 100644 --- a/openai/prompts/review +++ b/openai/prompts/review @@ -1,8 +1,7 @@ -Act as a Senior Developer and review the code below. Provide a JSON response indicating the code’s quality and any issues you find. +Act as a Developer and review the code below. Provide a JSON response indicating the code’s quality and any issues you find. Avoid line response duplication or any other unnecessary information. Line numbers should be one-based and cannot be null. -Allowed values for quality are: good, bad, terrible. +Allowed values for quality are: good, bad. Allowed values for type are: bug, security, performance, maintenance. -Do not include any explanations, only provide a RFC8259 compliant JSON response following this format without deviation. { "quality": "good", "issues": [