From cf4762d376cf9b4d2d2d5331501323acc876f138 Mon Sep 17 00:00:00 2001 From: johnlk Date: Thu, 26 Oct 2023 13:43:47 -0400 Subject: [PATCH 1/5] Provide example output in the prompt --- src/gpt.sh | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/gpt.sh b/src/gpt.sh index 2dba5e7..a7ab57e 100755 --- a/src/gpt.sh +++ b/src/gpt.sh @@ -29,7 +29,17 @@ example.\n\ Ensure you include the language tag for the code block, as this response will be rendered in Markdown.\n\ Do not provide an explanation for the code block; let it speak for itself.\n\ Your contributions will significantly enhance our code quality and help us deliver top-notch software solutions. \ -Thank you for your diligence in this role. +Thank you for your diligence in this role.\n +Example output:\n +
+Score: 80 +Improvements: +- some bullet points + +```python +some code here +``` +
EOF ) From 8d573d3b1edd680602a2e7ee525f578c4846dec6 Mon Sep 17 00:00:00 2001 From: johnlk Date: Thu, 26 Oct 2023 13:46:15 -0400 Subject: [PATCH 2/5] Slight touches --- src/gpt.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/gpt.sh b/src/gpt.sh index a7ab57e..d55c775 100755 --- a/src/gpt.sh +++ b/src/gpt.sh @@ -33,11 +33,12 @@ Thank you for your diligence in this role.\n Example output:\n
Score: 80 +
Improvements: - some bullet points -```python -some code here +```relevant-coding-language +example code here ```
EOF From 0f0236ea8bcc7e57ee9fb446d20e7784c7f4062d Mon Sep 17 00:00:00 2001 From: johnlk Date: Thu, 26 Oct 2023 13:48:36 -0400 Subject: [PATCH 3/5] More touch ups --- src/gpt.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gpt.sh b/src/gpt.sh index d55c775..4dc1d70 100755 --- a/src/gpt.sh +++ b/src/gpt.sh @@ -32,7 +32,7 @@ Your contributions will significantly enhance our code quality and help us deliv Thank you for your diligence in this role.\n Example output:\n
-Score: 80 +Robin AI Score: 80
Improvements: - some bullet points From 8c4739a6cbc1c8f6f8ba4f722cdf896c1b9447e0 Mon Sep 17 00:00:00 2001 From: johnlk Date: Thu, 26 Oct 2023 13:51:57 -0400 Subject: [PATCH 4/5] More tweaks --- src/gpt.sh | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/gpt.sh b/src/gpt.sh index 4dc1d70..2bb3b79 100755 --- a/src/gpt.sh +++ b/src/gpt.sh @@ -31,15 +31,15 @@ Do not provide an explanation for the code block; let it speak for itself.\n\ Your contributions will significantly enhance our code quality and help us deliver top-notch software solutions. \ Thank you for your diligence in this role.\n Example output:\n -
-Robin AI Score: 80 -
-Improvements: -- some bullet points - -```relevant-coding-language -example code here -``` +
\ +Score: 80 \ +
\ +Improvements: \ +- some bullet points \ +
\ +```relevant-coding-language \ +example code here \ +``` \
EOF ) From 5deb780d5b814fba4ccc4d41111bf0edfd4238b7 Mon Sep 17 00:00:00 2001 From: johnlk Date: Thu, 26 Oct 2023 13:54:40 -0400 Subject: [PATCH 5/5] Reinforce keeping the improvements in dropdown --- src/gpt.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gpt.sh b/src/gpt.sh index 2bb3b79..07c5e6c 100755 --- a/src/gpt.sh +++ b/src/gpt.sh @@ -27,6 +27,7 @@ Include a code block only when assigning a score of < 90.\n\ The code block can be a complete rewrite of the scrutinized code or a subset, illustrating your feedback with a code \ example.\n\ Ensure you include the language tag for the code block, as this response will be rendered in Markdown.\n\ +Nest the improvements list and code block in a dropdown.\n\ Do not provide an explanation for the code block; let it speak for itself.\n\ Your contributions will significantly enhance our code quality and help us deliver top-notch software solutions. \ Thank you for your diligence in this role.\n