<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 multiple categories at a time. | |
</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.index0 }}. {{ req["requirement"] }} | |
{% endfor -%} | |
</requirements> | |
<response_format> | |
Reply in JSON using the following schema: | |
{{response_schema}} | |
</response_format> |