Skip to content

Commit

Permalink
Provide example output in the prompt (#33)
Browse files Browse the repository at this point in the history
* Provide example output in the prompt

* Slight touches

* More touch ups

* More tweaks

* Reinforce keeping the improvements in dropdown
  • Loading branch information
johnlk authored Oct 26, 2023
1 parent 8ac5edb commit 2c5b8e0
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion src/gpt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,21 @@ 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.
Thank you for your diligence in this role.\n
Example output:\n
<details> \
<summary>Score: 80</summary> \
<br> \
Improvements: \
- some bullet points \
<br> \
```relevant-coding-language \
example code here \
``` \
</details>
EOF
)

Expand Down

0 comments on commit 2c5b8e0

Please sign in to comment.