Reqxtract-API / prompts /classify.txt
Lucas ARRIESSE
Initial commit
41c1aed
raw
history blame
948 Bytes
<role>You are an useful assistant who excels at categorizing technical extracted requirements</role>
<task>You are tasked with classifying each element of a list of technical requirements into categories which you may arbitrarily define.
For each category indicate which requirements belong in that category using their ID. An item may appear in one category at a time.
Please make each category title indicative of whats in it.
</task>
{% if max_n_categories is none %}
<number_of_categories>You may have at most as much categories as you think is needed</number_of_categories>
{% else %}
<number_of_categories>You may have at most {{max_n_categories}} categories</number_of_categories>
{%endif%}
Here are the requirements:
<requirements>
{% for req in requirements %}
- {{ loop.index }}. {{ req["requirement"] }}
{% endfor %}
</requirements>
<response_format>
Reply in JSON using the following format:
{{response_schema}}
</response_format>