File size: 902 Bytes
41c1aed
 
23cca30
41c1aed
594f2fe
41c1aed
594f2fe
41c1aed
594f2fe
41c1aed
 
 
594f2fe
72683de
594f2fe
41c1aed
 
 
03acc5b
41c1aed
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<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>