Lucas ARRIESSE commited on
Commit
6220b15
·
1 Parent(s): 7da3d90

Update refine prompt

Browse files
Files changed (1) hide show
  1. prompts/refine_solution.txt +16 -4
prompts/refine_solution.txt CHANGED
@@ -4,9 +4,8 @@ Your task is to refine a solution to account for the technical challenges, weakn
4
  No need to include that the solution is refined.
5
  </task>
6
 
7
- <solution>
8
  Here is the solution:
9
-
10
  # Solution Context:
11
  {{solution['Context']}}
12
 
@@ -22,9 +21,22 @@ Here is the solution:
22
  {{solution['Solution_Description']}}
23
  </solution>
24
 
25
- <criticisim>
26
  Here is the criticism:
27
- {{criticism}}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
28
  </criticism>
29
 
30
  <response_format>
 
4
  No need to include that the solution is refined.
5
  </task>
6
 
 
7
  Here is the solution:
8
+ <solution>
9
  # Solution Context:
10
  {{solution['Context']}}
11
 
 
21
  {{solution['Solution_Description']}}
22
  </solution>
23
 
 
24
  Here is the criticism:
25
+ <criticisim>
26
+ # Technical Challenges
27
+ {% for challenge in criticism['technical_challenges'] -%}
28
+ - {{challenge}}
29
+ {% endfor %}
30
+
31
+ # Weaknesses
32
+ {% for weakness in criticism['weaknesses'] -%}
33
+ - {{weakness}}
34
+ {% endfor %}
35
+
36
+ # Limitations
37
+ {% for limitation in criticisim['limitations'] -%}
38
+ - {{limitation}}
39
+ {% endfor %}
40
  </criticism>
41
 
42
  <response_format>