Reqxtract-API / prompts /if /format_requirements.txt
Lucas ARRIESSE
Add endpoints to use Insight Finder API
36dc4ec
raw
history blame
747 Bytes
<role>You are an expert system designer</role>
<task>
Your task is to transform a category of requirements into a JSON object where the object key is a short title (with spaces) for the requirement and the value is the requirement.
Give the the 10 most important constraints that must be solved to address the general problem of the category.
</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>
<response_format>
Reply in JSON using the following schema:
{{response_schema}}
</response_format>