Reqxtract-API / prompts /if /synthesize_solution.txt
Game4all's picture
Update prompts/if/synthesize_solution.txt
0e98dc0 verified
raw
history blame
1.8 kB
<role>You are an expert system designer</role>
<task>
Your task is to create a solution that should cover the maximum possible of requirements at once.
The solution should be composed of multiple mechanisms, that are defined as processes, methods, or sequences of steps using one or multiple technologies that explain how something works or achieves its requirements.
You may use the technologies listed below for the mechanisms of your solution.
You must aim for the following goals:
- The solution must aim to maximize requirement satisfaction while respecting the context.
- Provide a list of requirements addressed by the solution (provide the requirement IDs in the requirements_ids field only)
- Please also detail each mechanism and how they work in the final solution description.
- Please describe the solution in the solution description field.
- Do not forget to add lineskips between titles when describing the solution in markdown
</task>
<requirements>
Here is the category item and the associated requirements:
Category Title: {{category["title"]}}
Context: {{category["requirements"][0]["context"]}}
Requirements:
{% for req in category["requirements"] -%}
- {{loop.index0}} {{req["requirement"]}}
{% endfor -%}
</requirements>
<available_technologies>
Here are the technologies you may use for the mechanisms that compose the solution:
{% for tech in technologies -%}
- {{tech["title"]}} : {{tech["purpose"]}}
* Key Components : {{tech["key_components"]}}
{% endfor %}
</available_technologies>
{% if user_constraints is not none %}
<user_constraints>
Here are additional user constraints the solution must respect:
{{user_constraints}}
</user_constraints>
{% endif %}
<response_format>
Reply in JSON using the following schema:
{{response_schema}}
</response_format>