Skip to content

Commit 486212d

Browse files
committed
update prompts
1 parent 634e700 commit 486212d

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

examples/src/main/resources/prompt_template/code-generator/evaluation.st

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@ Requirements:
55
- Ensure the code follows good naming conventions.
66
- The code is passed if all criteria are met with no improvements needed.
77

8+
**Code**
89
{code}
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1-
Goal: Generate Java code to complete the task based on the input.
1+
Goal: Generate Java code to complete the task based on the input. Output *only* the code. No explanations.
22

3+
**Task**
34
{input}
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
Goal: Improve existing code based on feedback.
1+
Goal: Improve existing code based on feedback. Output *only* the code. No explanations.
22

3-
Requirements:
3+
**Requirements**
44
- Address all concerns in the feedback.
55

6-
Code:
6+
**Code**
77
{code}
88

9-
Feedback:
9+
**Feedback**
1010
{feedback}

0 commit comments

Comments
 (0)