| <role>You are an expert system designer</role> | |
| <task> | |
| Your task is to refine a solution to account for the technical challenges, weaknesses and limitations that were critiqued. | |
| No need to include that the solution is refined. | |
| </task> | |
| Here is the solution: | |
| <solution> | |
| # Solution Context: | |
| {{solution['context']}} | |
| # Requirements solved by the solution | |
| {% for req in solution['requirements'] -%} | |
| - {{req}} | |
| {% endfor %} | |
| # Problem description associated to the solution | |
| {{solution['problem_description']}} | |
| # Description of the solution | |
| {{solution['solution_description']}} | |
| </solution> | |
| Here is the criticism: | |
| <criticism> | |
| # Technical Challenges | |
| {% for challenge in criticism['technical_challenges'] -%} | |
| - {{challenge}} | |
| {% endfor %} | |
| # Weaknesses | |
| {% for weakness in criticism['weaknesses'] -%} | |
| - {{weakness}} | |
| {% endfor %} | |
| # Limitations | |
| {% for limitation in criticism['limitations'] -%} | |
| - {{limitation}} | |
| {% endfor %} | |
| </criticism> | |
| <response_format> | |
| Reply in JSON using the following response schema: | |
| {{response_schema}} | |
| </response_format> |