reqroup / prompts /refine_solution.txt
Lucas ARRIESSE
Reorganize endpoints + add refine_solution endpoint
03acc5b
<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>
<solution>
Here is the 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>
<criticisim>
Here is the criticism:
{{criticism}}
</criticism>
<response_format>
Reply in JSON using the following response schema:
{{response_schema}}
</response_format>