Input: {"body":{"messages":[{"content":"You are creating sorting criteria with ordered label arrays.\n\nCRITICAL: Output ordered labels from FIRST to LAST position in sorted result.\n- Labels are single words, lowercase, underscores only\n- 3-10 labels per criterion\n- Order matters: first label = appears first, last label = appears last","role":"system"},{"content":"Analyze this sorting instruction: \"from slowest to fastest\"\n\nSample items to be sorted:\n■0: {\"name\":\"Cheetah\",\"type\":\"land\"}\n■1: {\"name\":\"Sloth\",\"type\":\"land\"}\n■2: {\"name\":\"Horse\",\"type\":\"land\"}\n■3: {\"name\":\"Snail\",\"type\":\"land\"}\n■4: {\"name\":\"Human\",\"type\":\"land\"}\n\nCreate 1-3 sorting criteria with ordered label arrays (3-10 labels each).\n\n**CRITICAL RULES**:\n1. Labels are single words, lowercase, no spaces, use underscores\n2. Labels are ordered from FIRST to LAST in sorted result\n3. If instruction says \"from X to Y\": first label represents X, last label represents Y\n4. If instruction says \"prioritize\" or \"highest/lowest priority\":\n   - First label = HIGHEST priority (top of todo list)\n   - Last label = LOWEST priority (bottom of todo list)\n\nExamples:\n\n\"from slowest to fastest\" → first=slowest, last=fastest\n■speed■\nvery_slow;slow;medium;fast;very_fast\n■END■\n\n\"from most dangerous to least dangerous\" → first=most dangerous, last=least dangerous\n■danger■\nextremely_dangerous;very_dangerous;dangerous;moderate;slightly_dangerous;harmless\n■END■\n\n\"from least urgent (spam) to most urgent (bills)\" → first=spam, last=bills\n■urgency■\nspam;promotional;normal;important;urgent;critical\n■END■\n\n\"prioritize: highest priority=open old tickets; lowest priority=closed\" → first=high priority, last=low priority\n■status■\nopen_old;open_recent;closed\n■age■\noldest;old;recent;new\n■END■\n\nOutput format:\n■criterion_name■\nlabel1;label2;label3;label4\n■END■\n\nUse 3-10 labels per criterion. Labels should be intuitive and match the domain.\nKeep criterion names short (1-2 words, lowercase, underscores).\n","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.sort","promptSource":"zai:zai.sort:default"},"model":"fast","signal":{}},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
■speed■
slowest;slow;medium;fast;fastest
■END■


Input: {"body":{"messages":[{"content":"You are ranking items for sorting using ordered label arrays.\n\n**speed**: slowest;slow;medium;fast;fastest\n\nInstructions: \"from slowest to fastest\"\n\nSCORING RULES:\n- For each item and each criterion, assign ONE label from the ordered list\n- Labels are ordered: first label = appears FIRST in sorted result, last label = appears LAST\n- Choose the label that best describes each item\n\nOutput format:\n■0:criterion1=label;criterion2=label■\n■1:criterion1=label;criterion2=label■\n■END■\n\nIMPORTANT:\n- Rank every item (■0 to ■7)\n- Use exact criterion names: speed\n- Use exact labels from the lists above (lowercase, underscores)\n- Use semicolons (;) between criteria\n- Use equals (=) between criterion and label","role":"system"},{"content":"Items to rank (■0 to ■7):\n■0: {\"name\":\"Cheetah\",\"type\":\"land\"}■\n■1: {\"name\":\"Sloth\",\"type\":\"land\"}■\n■2: {\"name\":\"Horse\",\"type\":\"land\"}■\n■3: {\"name\":\"Snail\",\"type\":\"land\"}■\n■4: {\"name\":\"Human\",\"type\":\"land\"}■\n■5: {\"name\":\"Turtle\",\"type\":\"land\"}■\n■6: {\"name\":\"Lion\",\"type\":\"land\"}■\n■7: {\"name\":\"Elephant\",\"type\":\"land\"}■\n\nRank each item using the labeled scales.\nOutput format: ■index:criterion1=label;criterion2=label■\n■END■","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.sort","promptSource":"zai:zai.sort:default"},"model":"fast","signal":{},"stopSequences":["■END■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
■0:speed=fastest■
■1:speed=slow■
■2:speed=fast■
■3:speed=slowest■
■4:speed=medium■
■5:speed=medium■
■6:speed=fast■
■7:speed=fast■


Input: {"body":{"messages":[{"content":"You are breaking a tie between items with identical total scores.\n\nInstructions: from slowest to fastest\n\nCriteria:\n- speed: slowest;slow;medium;fast;fastest\n\nOrder these 2 items from FIRST to LAST based on the instructions.\nEarlier labels in each criterion should come FIRST.\n\nOutput format:\n■original_index■\n■original_index■\n■END■\n\nOutput the indices in the order they should appear (first item at top).","role":"system"},{"content":"Items with identical scores (need tie-breaking):\n■0: {\"name\":\"Human\",\"type\":\"land\"}■\n■1: {\"name\":\"Turtle\",\"type\":\"land\"}■\n\nOrder them from first to last.\nOutput format: ■index■ (one per line)\n■END■","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.sort","promptSource":"zai:zai.sort:default"},"model":"fast","signal":{},"stopSequences":["■END■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
■1■
■0■


Input: {"body":{"messages":[{"content":"You are breaking a tie between items with identical total scores.\n\nInstructions: from slowest to fastest\n\nCriteria:\n- speed: slowest;slow;medium;fast;fastest\n\nOrder these 3 items from FIRST to LAST based on the instructions.\nEarlier labels in each criterion should come FIRST.\n\nOutput format:\n■original_index■\n■original_index■\n■END■\n\nOutput the indices in the order they should appear (first item at top).","role":"system"},{"content":"Items with identical scores (need tie-breaking):\n■0: {\"name\":\"Horse\",\"type\":\"land\"}■\n■1: {\"name\":\"Lion\",\"type\":\"land\"}■\n■2: {\"name\":\"Elephant\",\"type\":\"land\"}■\n\nOrder them from first to last.\nOutput format: ■index■ (one per line)\n■END■","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.sort","promptSource":"zai:zai.sort:default"},"model":"fast","signal":{},"stopSequences":["■END■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
■2■
■0■
■1■


Input: {"body":{"messages":[{"content":"You are creating sorting criteria with ordered label arrays.\n\nCRITICAL: Output ordered labels from FIRST to LAST position in sorted result.\n- Labels are single words, lowercase, underscores only\n- 3-10 labels per criterion\n- Order matters: first label = appears first, last label = appears last","role":"system"},{"content":"Analyze this sorting instruction: \"from fastest to slowest\"\n\nSample items to be sorted:\n■0: {\"name\":\"Snail\",\"type\":\"land\"}\n■1: {\"name\":\"Cheetah\",\"type\":\"land\"}\n■2: {\"name\":\"Turtle\",\"type\":\"land\"}\n■3: {\"name\":\"Horse\",\"type\":\"land\"}\n■4: {\"name\":\"Human\",\"type\":\"land\"}\n\nCreate 1-3 sorting criteria with ordered label arrays (3-10 labels each).\n\n**CRITICAL RULES**:\n1. Labels are single words, lowercase, no spaces, use underscores\n2. Labels are ordered from FIRST to LAST in sorted result\n3. If instruction says \"from X to Y\": first label represents X, last label represents Y\n4. If instruction says \"prioritize\" or \"highest/lowest priority\":\n   - First label = HIGHEST priority (top of todo list)\n   - Last label = LOWEST priority (bottom of todo list)\n\nExamples:\n\n\"from slowest to fastest\" → first=slowest, last=fastest\n■speed■\nvery_slow;slow;medium;fast;very_fast\n■END■\n\n\"from most dangerous to least dangerous\" → first=most dangerous, last=least dangerous\n■danger■\nextremely_dangerous;very_dangerous;dangerous;moderate;slightly_dangerous;harmless\n■END■\n\n\"from least urgent (spam) to most urgent (bills)\" → first=spam, last=bills\n■urgency■\nspam;promotional;normal;important;urgent;critical\n■END■\n\n\"prioritize: highest priority=open old tickets; lowest priority=closed\" → first=high priority, last=low priority\n■status■\nopen_old;open_recent;closed\n■age■\noldest;old;recent;new\n■END■\n\nOutput format:\n■criterion_name■\nlabel1;label2;label3;label4\n■END■\n\nUse 3-10 labels per criterion. Labels should be intuitive and match the domain.\nKeep criterion names short (1-2 words, lowercase, underscores).\n","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.sort","promptSource":"zai:zai.sort:default"},"model":"fast","signal":{}},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
■speed■
very_fast;fast;medium;slow;very_slow
■END■


Input: {"body":{"messages":[{"content":"You are ranking items for sorting using ordered label arrays.\n\n**speed**: very_fast;fast;medium;slow;very_slow\n\nInstructions: \"from fastest to slowest\"\n\nSCORING RULES:\n- For each item and each criterion, assign ONE label from the ordered list\n- Labels are ordered: first label = appears FIRST in sorted result, last label = appears LAST\n- Choose the label that best describes each item\n\nOutput format:\n■0:criterion1=label;criterion2=label■\n■1:criterion1=label;criterion2=label■\n■END■\n\nIMPORTANT:\n- Rank every item (■0 to ■6)\n- Use exact criterion names: speed\n- Use exact labels from the lists above (lowercase, underscores)\n- Use semicolons (;) between criteria\n- Use equals (=) between criterion and label","role":"system"},{"content":"Items to rank (■0 to ■6):\n■0: {\"name\":\"Snail\",\"type\":\"land\"}■\n■1: {\"name\":\"Cheetah\",\"type\":\"land\"}■\n■2: {\"name\":\"Turtle\",\"type\":\"land\"}■\n■3: {\"name\":\"Horse\",\"type\":\"land\"}■\n■4: {\"name\":\"Human\",\"type\":\"land\"}■\n■5: {\"name\":\"Sloth\",\"type\":\"land\"}■\n■6: {\"name\":\"Lion\",\"type\":\"land\"}■\n\nRank each item using the labeled scales.\nOutput format: ■index:criterion1=label;criterion2=label■\n■END■","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.sort","promptSource":"zai:zai.sort:default"},"model":"fast","signal":{},"stopSequences":["■END■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
■0:speed=very_slow■
■1:speed=very_fast■
■2:speed=slow■
■3:speed=medium■
■4:speed=medium■
■5:speed=slow■
■6:speed=fast■


Input: {"body":{"messages":[{"content":"You are breaking a tie between items with identical total scores.\n\nInstructions: from fastest to slowest\n\nCriteria:\n- speed: very_fast;fast;medium;slow;very_slow\n\nOrder these 2 items from FIRST to LAST based on the instructions.\nEarlier labels in each criterion should come FIRST.\n\nOutput format:\n■original_index■\n■original_index■\n■END■\n\nOutput the indices in the order they should appear (first item at top).","role":"system"},{"content":"Items with identical scores (need tie-breaking):\n■0: {\"name\":\"Turtle\",\"type\":\"land\"}■\n■1: {\"name\":\"Sloth\",\"type\":\"land\"}■\n\nOrder them from first to last.\nOutput format: ■index■ (one per line)\n■END■","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.sort","promptSource":"zai:zai.sort:default"},"model":"fast","signal":{},"stopSequences":["■END■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
■0■
■1■


Input: {"body":{"messages":[{"content":"You are breaking a tie between items with identical total scores.\n\nInstructions: from fastest to slowest\n\nCriteria:\n- speed: very_fast;fast;medium;slow;very_slow\n\nOrder these 2 items from FIRST to LAST based on the instructions.\nEarlier labels in each criterion should come FIRST.\n\nOutput format:\n■original_index■\n■original_index■\n■END■\n\nOutput the indices in the order they should appear (first item at top).","role":"system"},{"content":"Items with identical scores (need tie-breaking):\n■0: {\"name\":\"Horse\",\"type\":\"land\"}■\n■1: {\"name\":\"Human\",\"type\":\"land\"}■\n\nOrder them from first to last.\nOutput format: ■index■ (one per line)\n■END■","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.sort","promptSource":"zai:zai.sort:default"},"model":"fast","signal":{},"stopSequences":["■END■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
■0■
■1■


Input: {"body":{"messages":[{"content":"You are creating sorting criteria with ordered label arrays.\n\nCRITICAL: Output ordered labels from FIRST to LAST position in sorted result.\n- Labels are single words, lowercase, underscores only\n- 3-10 labels per criterion\n- Order matters: first label = appears first, last label = appears last","role":"system"},{"content":"Analyze this sorting instruction: \"from least dangerous to most dangerous\"\n\nSample items to be sorted:\n■0: {\"name\":\"Grizzly Bear\",\"habitat\":\"forest\"}\n■1: {\"name\":\"Rabbit\",\"habitat\":\"grassland\"}\n■2: {\"name\":\"Hippopotamus\",\"habitat\":\"river\"}\n■3: {\"name\":\"Deer\",\"habitat\":\"forest\"}\n■4: {\"name\":\"Great White Shark\",\"habitat\":\"ocean\"}\n\nCreate 1-3 sorting criteria with ordered label arrays (3-10 labels each).\n\n**CRITICAL RULES**:\n1. Labels are single words, lowercase, no spaces, use underscores\n2. Labels are ordered from FIRST to LAST in sorted result\n3. If instruction says \"from X to Y\": first label represents X, last label represents Y\n4. If instruction says \"prioritize\" or \"highest/lowest priority\":\n   - First label = HIGHEST priority (top of todo list)\n   - Last label = LOWEST priority (bottom of todo list)\n\nExamples:\n\n\"from slowest to fastest\" → first=slowest, last=fastest\n■speed■\nvery_slow;slow;medium;fast;very_fast\n■END■\n\n\"from most dangerous to least dangerous\" → first=most dangerous, last=least dangerous\n■danger■\nextremely_dangerous;very_dangerous;dangerous;moderate;slightly_dangerous;harmless\n■END■\n\n\"from least urgent (spam) to most urgent (bills)\" → first=spam, last=bills\n■urgency■\nspam;promotional;normal;important;urgent;critical\n■END■\n\n\"prioritize: highest priority=open old tickets; lowest priority=closed\" → first=high priority, last=low priority\n■status■\nopen_old;open_recent;closed\n■age■\noldest;old;recent;new\n■END■\n\nOutput format:\n■criterion_name■\nlabel1;label2;label3;label4\n■END■\n\nUse 3-10 labels per criterion. Labels should be intuitive and match the domain.\nKeep criterion names short (1-2 words, lowercase, underscores).\n","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.sort","promptSource":"zai:zai.sort:default"},"model":"fast","signal":{}},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
■danger_level■
harmless;low_danger;moderate_danger;high_danger;extreme_danger
■END■


Input: {"body":{"messages":[{"content":"You are ranking items for sorting using ordered label arrays.\n\n**danger_level**: harmless;low_danger;moderate_danger;high_danger;extreme_danger\n\nInstructions: \"from least dangerous to most dangerous\"\n\nSCORING RULES:\n- For each item and each criterion, assign ONE label from the ordered list\n- Labels are ordered: first label = appears FIRST in sorted result, last label = appears LAST\n- Choose the label that best describes each item\n\nOutput format:\n■0:criterion1=label;criterion2=label■\n■1:criterion1=label;criterion2=label■\n■END■\n\nIMPORTANT:\n- Rank every item (■0 to ■8)\n- Use exact criterion names: danger_level\n- Use exact labels from the lists above (lowercase, underscores)\n- Use semicolons (;) between criteria\n- Use equals (=) between criterion and label","role":"system"},{"content":"Items to rank (■0 to ■8):\n■0: {\"name\":\"Grizzly Bear\",\"habitat\":\"forest\"}■\n■1: {\"name\":\"Rabbit\",\"habitat\":\"grassland\"}■\n■2: {\"name\":\"Hippopotamus\",\"habitat\":\"river\"}■\n■3: {\"name\":\"Deer\",\"habitat\":\"forest\"}■\n■4: {\"name\":\"Great White Shark\",\"habitat\":\"ocean\"}■\n■5: {\"name\":\"Butterfly\",\"habitat\":\"garden\"}■\n■6: {\"name\":\"Crocodile\",\"habitat\":\"swamp\"}■\n■7: {\"name\":\"Lion\",\"habitat\":\"savanna\"}■\n■8: {\"name\":\"Lamb\",\"habitat\":\"farm\"}■\n\nRank each item using the labeled scales.\nOutput format: ■index:criterion1=label;criterion2=label■\n■END■","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.sort","promptSource":"zai:zai.sort:default"},"model":"fast","signal":{},"stopSequences":["■END■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
■0:danger_level=high_danger■
■1:danger_level=harmless■
■2:danger_level=extreme_danger■
■3:danger_level=low_danger■
■4:danger_level=extreme_danger■
■5:danger_level=harmless■
■6:danger_level=extreme_danger■
■7:danger_level=high_danger■
■8:danger_level=harmless■


Input: {"body":{"messages":[{"content":"You are breaking a tie between items with identical total scores.\n\nInstructions: from least dangerous to most dangerous\n\nCriteria:\n- danger_level: harmless;low_danger;moderate_danger;high_danger;extreme_danger\n\nOrder these 3 items from FIRST to LAST based on the instructions.\nEarlier labels in each criterion should come FIRST.\n\nOutput format:\n■original_index■\n■original_index■\n■END■\n\nOutput the indices in the order they should appear (first item at top).","role":"system"},{"content":"Items with identical scores (need tie-breaking):\n■0: {\"name\":\"Rabbit\",\"habitat\":\"grassland\"}■\n■1: {\"name\":\"Butterfly\",\"habitat\":\"garden\"}■\n■2: {\"name\":\"Lamb\",\"habitat\":\"farm\"}■\n\nOrder them from first to last.\nOutput format: ■index■ (one per line)\n■END■","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.sort","promptSource":"zai:zai.sort:default"},"model":"fast","signal":{},"stopSequences":["■END■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
■0■
■1■
■2■


Input: {"body":{"messages":[{"content":"You are breaking a tie between items with identical total scores.\n\nInstructions: from least dangerous to most dangerous\n\nCriteria:\n- danger_level: harmless;low_danger;moderate_danger;high_danger;extreme_danger\n\nOrder these 2 items from FIRST to LAST based on the instructions.\nEarlier labels in each criterion should come FIRST.\n\nOutput format:\n■original_index■\n■original_index■\n■END■\n\nOutput the indices in the order they should appear (first item at top).","role":"system"},{"content":"Items with identical scores (need tie-breaking):\n■0: {\"name\":\"Grizzly Bear\",\"habitat\":\"forest\"}■\n■1: {\"name\":\"Lion\",\"habitat\":\"savanna\"}■\n\nOrder them from first to last.\nOutput format: ■index■ (one per line)\n■END■","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.sort","promptSource":"zai:zai.sort:default"},"model":"fast","signal":{},"stopSequences":["■END■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
■1■
■0■


Input: {"body":{"messages":[{"content":"You are breaking a tie between items with identical total scores.\n\nInstructions: from least dangerous to most dangerous\n\nCriteria:\n- danger_level: harmless;low_danger;moderate_danger;high_danger;extreme_danger\n\nOrder these 3 items from FIRST to LAST based on the instructions.\nEarlier labels in each criterion should come FIRST.\n\nOutput format:\n■original_index■\n■original_index■\n■END■\n\nOutput the indices in the order they should appear (first item at top).","role":"system"},{"content":"Items with identical scores (need tie-breaking):\n■0: {\"name\":\"Hippopotamus\",\"habitat\":\"river\"}■\n■1: {\"name\":\"Great White Shark\",\"habitat\":\"ocean\"}■\n■2: {\"name\":\"Crocodile\",\"habitat\":\"swamp\"}■\n\nOrder them from first to last.\nOutput format: ■index■ (one per line)\n■END■","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.sort","promptSource":"zai:zai.sort:default"},"model":"fast","signal":{},"stopSequences":["■END■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
■0■
■1■
■2■


Input: {"body":{"messages":[{"content":"You are creating sorting criteria with ordered label arrays.\n\nCRITICAL: Output ordered labels from FIRST to LAST position in sorted result.\n- Labels are single words, lowercase, underscores only\n- 3-10 labels per criterion\n- Order matters: first label = appears first, last label = appears last","role":"system"},{"content":"Analyze this sorting instruction: \"from most dangerous to least dangerous\"\n\nSample items to be sorted:\n■0: {\"name\":\"Rabbit\",\"type\":\"mammal\"}\n■1: {\"name\":\"Lion\",\"type\":\"mammal\"}\n■2: {\"name\":\"Butterfly\",\"type\":\"insect\"}\n■3: {\"name\":\"Crocodile\",\"type\":\"reptile\"}\n■4: {\"name\":\"Deer\",\"type\":\"mammal\"}\n\nCreate 1-3 sorting criteria with ordered label arrays (3-10 labels each).\n\n**CRITICAL RULES**:\n1. Labels are single words, lowercase, no spaces, use underscores\n2. Labels are ordered from FIRST to LAST in sorted result\n3. If instruction says \"from X to Y\": first label represents X, last label represents Y\n4. If instruction says \"prioritize\" or \"highest/lowest priority\":\n   - First label = HIGHEST priority (top of todo list)\n   - Last label = LOWEST priority (bottom of todo list)\n\nExamples:\n\n\"from slowest to fastest\" → first=slowest, last=fastest\n■speed■\nvery_slow;slow;medium;fast;very_fast\n■END■\n\n\"from most dangerous to least dangerous\" → first=most dangerous, last=least dangerous\n■danger■\nextremely_dangerous;very_dangerous;dangerous;moderate;slightly_dangerous;harmless\n■END■\n\n\"from least urgent (spam) to most urgent (bills)\" → first=spam, last=bills\n■urgency■\nspam;promotional;normal;important;urgent;critical\n■END■\n\n\"prioritize: highest priority=open old tickets; lowest priority=closed\" → first=high priority, last=low priority\n■status■\nopen_old;open_recent;closed\n■age■\noldest;old;recent;new\n■END■\n\nOutput format:\n■criterion_name■\nlabel1;label2;label3;label4\n■END■\n\nUse 3-10 labels per criterion. Labels should be intuitive and match the domain.\nKeep criterion names short (1-2 words, lowercase, underscores).\n","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.sort","promptSource":"zai:zai.sort:default"},"model":"fast","signal":{}},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
■danger■
extremely_dangerous;very_dangerous;dangerous;moderate;harmless
■END■


Input: {"body":{"messages":[{"content":"You are ranking items for sorting using ordered label arrays.\n\n**danger**: extremely_dangerous;very_dangerous;dangerous;moderate;harmless\n\nInstructions: \"from most dangerous to least dangerous\"\n\nSCORING RULES:\n- For each item and each criterion, assign ONE label from the ordered list\n- Labels are ordered: first label = appears FIRST in sorted result, last label = appears LAST\n- Choose the label that best describes each item\n\nOutput format:\n■0:criterion1=label;criterion2=label■\n■1:criterion1=label;criterion2=label■\n■END■\n\nIMPORTANT:\n- Rank every item (■0 to ■6)\n- Use exact criterion names: danger\n- Use exact labels from the lists above (lowercase, underscores)\n- Use semicolons (;) between criteria\n- Use equals (=) between criterion and label","role":"system"},{"content":"Items to rank (■0 to ■6):\n■0: {\"name\":\"Rabbit\",\"type\":\"mammal\"}■\n■1: {\"name\":\"Lion\",\"type\":\"mammal\"}■\n■2: {\"name\":\"Butterfly\",\"type\":\"insect\"}■\n■3: {\"name\":\"Crocodile\",\"type\":\"reptile\"}■\n■4: {\"name\":\"Deer\",\"type\":\"mammal\"}■\n■5: {\"name\":\"Cobra\",\"type\":\"reptile\"}■\n■6: {\"name\":\"Squirrel\",\"type\":\"mammal\"}■\n\nRank each item using the labeled scales.\nOutput format: ■index:criterion1=label;criterion2=label■\n■END■","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.sort","promptSource":"zai:zai.sort:default"},"model":"fast","signal":{},"stopSequences":["■END■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
■0:danger=harmless■
■1:danger=dangerous■
■2:danger=harmless■
■3:danger=extremely_dangerous■
■4:danger=moderate■
■5:danger=very_dangerous■
■6:danger=harmless■


Input: {"body":{"messages":[{"content":"You are breaking a tie between items with identical total scores.\n\nInstructions: from most dangerous to least dangerous\n\nCriteria:\n- danger: extremely_dangerous;very_dangerous;dangerous;moderate;harmless\n\nOrder these 3 items from FIRST to LAST based on the instructions.\nEarlier labels in each criterion should come FIRST.\n\nOutput format:\n■original_index■\n■original_index■\n■END■\n\nOutput the indices in the order they should appear (first item at top).","role":"system"},{"content":"Items with identical scores (need tie-breaking):\n■0: {\"name\":\"Rabbit\",\"type\":\"mammal\"}■\n■1: {\"name\":\"Butterfly\",\"type\":\"insect\"}■\n■2: {\"name\":\"Squirrel\",\"type\":\"mammal\"}■\n\nOrder them from first to last.\nOutput format: ■index■ (one per line)\n■END■","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.sort","promptSource":"zai:zai.sort:default"},"model":"fast","signal":{},"stopSequences":["■END■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
■0■
■1■
■2■


Input: {"body":{"messages":[{"content":"You are creating sorting criteria with ordered label arrays.\n\nCRITICAL: Output ordered labels from FIRST to LAST position in sorted result.\n- Labels are single words, lowercase, underscores only\n- 3-10 labels per criterion\n- Order matters: first label = appears first, last label = appears last","role":"system"},{"content":"Analyze this sorting instruction: \"from least urgent (spam) to most urgent (bills to pay)\"\n\nSample items to be sorted:\n■0: {\"subject\":\"Electricity bill due tomorrow\",\"from\":\"utility@electric.com\",\"date\":\"2024-01-15\"}\n■1: {\"subject\":\"Hot singles in your area!\",\"from\":\"spam@xyz.com\",\"date\":\"2024-01-14\"}\n■2: {\"subject\":\"Team meeting notes\",\"from\":\"colleague@work.com\",\"date\":\"2024-01-15\"}\n■3: {\"subject\":\"Your credit card payment is overdue\",\"from\":\"bank@chase.com\",\"date\":\"2024-01-15\"}\n■4: {\"subject\":\"Get rich quick scheme\",\"from\":\"scam@fake.com\",\"date\":\"2024-01-13\"}\n\nCreate 1-3 sorting criteria with ordered label arrays (3-10 labels each).\n\n**CRITICAL RULES**:\n1. Labels are single words, lowercase, no spaces, use underscores\n2. Labels are ordered from FIRST to LAST in sorted result\n3. If instruction says \"from X to Y\": first label represents X, last label represents Y\n4. If instruction says \"prioritize\" or \"highest/lowest priority\":\n   - First label = HIGHEST priority (top of todo list)\n   - Last label = LOWEST priority (bottom of todo list)\n\nExamples:\n\n\"from slowest to fastest\" → first=slowest, last=fastest\n■speed■\nvery_slow;slow;medium;fast;very_fast\n■END■\n\n\"from most dangerous to least dangerous\" → first=most dangerous, last=least dangerous\n■danger■\nextremely_dangerous;very_dangerous;dangerous;moderate;slightly_dangerous;harmless\n■END■\n\n\"from least urgent (spam) to most urgent (bills)\" → first=spam, last=bills\n■urgency■\nspam;promotional;normal;important;urgent;critical\n■END■\n\n\"prioritize: highest priority=open old tickets; lowest priority=closed\" → first=high priority, last=low priority\n■status■\nopen_old;open_recent;closed\n■age■\noldest;old;recent;new\n■END■\n\nOutput format:\n■criterion_name■\nlabel1;label2;label3;label4\n■END■\n\nUse 3-10 labels per criterion. Labels should be intuitive and match the domain.\nKeep criterion names short (1-2 words, lowercase, underscores).\n","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.sort","promptSource":"zai:zai.sort:default"},"model":"fast","signal":{}},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
■urgency■
spam;promotional;normal;important;bill
■END■

■category■
spam;marketing;work;personal;finance
■END■


Input: {"body":{"messages":[{"content":"You are ranking items for sorting using ordered label arrays.\n\n**urgency**: spam;promotional;normal;important;bill\n\nInstructions: \"from least urgent (spam) to most urgent (bills to pay)\"\n\nSCORING RULES:\n- For each item and each criterion, assign ONE label from the ordered list\n- Labels are ordered: first label = appears FIRST in sorted result, last label = appears LAST\n- Choose the label that best describes each item\n\nOutput format:\n■0:criterion1=label;criterion2=label■\n■1:criterion1=label;criterion2=label■\n■END■\n\nIMPORTANT:\n- Rank every item (■0 to ■8)\n- Use exact criterion names: urgency\n- Use exact labels from the lists above (lowercase, underscores)\n- Use semicolons (;) between criteria\n- Use equals (=) between criterion and label","role":"system"},{"content":"Items to rank (■0 to ■8):\n■0: {\"subject\":\"Electricity bill due tomorrow\",\"from\":\"utility@electric.com\",\"date\":\"2024-01-15\"}■\n■1: {\"subject\":\"Hot singles in your area!\",\"from\":\"spam@xyz.com\",\"date\":\"2024-01-14\"}■\n■2: {\"subject\":\"Team meeting notes\",\"from\":\"colleague@work.com\",\"date\":\"2024-01-15\"}■\n■3: {\"subject\":\"Your credit card payment is overdue\",\"from\":\"bank@chase.com\",\"date\":\"2024-01-15\"}■\n■4: {\"subject\":\"Get rich quick scheme\",\"from\":\"scam@fake.com\",\"date\":\"2024-01-13\"}■\n■5: {\"subject\":\"Newsletter: Weekly updates\",\"from\":\"newsletter@blog.com\",\"date\":\"2024-01-14\"}■\n■6: {\"subject\":\"Rent payment due in 2 days\",\"from\":\"landlord@property.com\",\"date\":\"2024-01-15\"}■\n■7: {\"subject\":\"Congratulations! You won the lottery!\",\"from\":\"notreal@scam.com\",\"date\":\"2024-01-12\"}■\n■8: {\"subject\":\"Project deadline reminder\",\"from\":\"manager@work.com\",\"date\":\"2024-01-15\"}■\n\nRank each item using the labeled scales.\nOutput format: ■index:criterion1=label;criterion2=label■\n■END■","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.sort","promptSource":"zai:zai.sort:default"},"model":"fast","signal":{},"stopSequences":["■END■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
■0:urgency=bill■
■1:urgency=promotional■
■2:urgency=normal■
■3:urgency=bill■
■4:urgency=spam■
■5:urgency=promotional■
■6:urgency=bill■
■7:urgency=spam■
■8:urgency=important■


Input: {"body":{"messages":[{"content":"You are breaking a tie between items with identical total scores.\n\nInstructions: from least urgent (spam) to most urgent (bills to pay)\n\nCriteria:\n- urgency: spam;promotional;normal;important;bill\n\nOrder these 2 items from FIRST to LAST based on the instructions.\nEarlier labels in each criterion should come FIRST.\n\nOutput format:\n■original_index■\n■original_index■\n■END■\n\nOutput the indices in the order they should appear (first item at top).","role":"system"},{"content":"Items with identical scores (need tie-breaking):\n■0: {\"subject\":\"Hot singles in your area!\",\"from\":\"spam@xyz.com\",\"date\":\"2024-01-14\"}■\n■1: {\"subject\":\"Newsletter: Weekly updates\",\"from\":\"newsletter@blog.com\",\"date\":\"2024-01-14\"}■\n\nOrder them from first to last.\nOutput format: ■index■ (one per line)\n■END■","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.sort","promptSource":"zai:zai.sort:default"},"model":"fast","signal":{},"stopSequences":["■END■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
■0■
■1■


Input: {"body":{"messages":[{"content":"You are breaking a tie between items with identical total scores.\n\nInstructions: from least urgent (spam) to most urgent (bills to pay)\n\nCriteria:\n- urgency: spam;promotional;normal;important;bill\n\nOrder these 3 items from FIRST to LAST based on the instructions.\nEarlier labels in each criterion should come FIRST.\n\nOutput format:\n■original_index■\n■original_index■\n■END■\n\nOutput the indices in the order they should appear (first item at top).","role":"system"},{"content":"Items with identical scores (need tie-breaking):\n■0: {\"subject\":\"Electricity bill due tomorrow\",\"from\":\"utility@electric.com\",\"date\":\"2024-01-15\"}■\n■1: {\"subject\":\"Your credit card payment is overdue\",\"from\":\"bank@chase.com\",\"date\":\"2024-01-15\"}■\n■2: {\"subject\":\"Rent payment due in 2 days\",\"from\":\"landlord@property.com\",\"date\":\"2024-01-15\"}■\n\nOrder them from first to last.\nOutput format: ■index■ (one per line)\n■END■","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.sort","promptSource":"zai:zai.sort:default"},"model":"fast","signal":{},"stopSequences":["■END■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
■0■
■1■
■2■


Input: {"body":{"messages":[{"content":"You are breaking a tie between items with identical total scores.\n\nInstructions: from least urgent (spam) to most urgent (bills to pay)\n\nCriteria:\n- urgency: spam;promotional;normal;important;bill\n\nOrder these 2 items from FIRST to LAST based on the instructions.\nEarlier labels in each criterion should come FIRST.\n\nOutput format:\n■original_index■\n■original_index■\n■END■\n\nOutput the indices in the order they should appear (first item at top).","role":"system"},{"content":"Items with identical scores (need tie-breaking):\n■0: {\"subject\":\"Get rich quick scheme\",\"from\":\"scam@fake.com\",\"date\":\"2024-01-13\"}■\n■1: {\"subject\":\"Congratulations! You won the lottery!\",\"from\":\"notreal@scam.com\",\"date\":\"2024-01-12\"}■\n\nOrder them from first to last.\nOutput format: ■index■ (one per line)\n■END■","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.sort","promptSource":"zai:zai.sort:default"},"model":"fast","signal":{},"stopSequences":["■END■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
■0■
■1■


Input: {"body":{"messages":[{"content":"You are creating sorting criteria with ordered label arrays.\n\nCRITICAL: Output ordered labels from FIRST to LAST position in sorted result.\n- Labels are single words, lowercase, underscores only\n- 3-10 labels per criterion\n- Order matters: first label = appears first, last label = appears last","role":"system"},{"content":"Analyze this sorting instruction: \"from most urgent (bills to pay) to least urgent (spam)\"\n\nSample items to be sorted:\n■0: {\"subject\":\"Newsletter subscription\",\"from\":\"news@site.com\",\"date\":\"2024-01-14\"}\n■1: {\"subject\":\"Insurance payment required\",\"from\":\"insurance@company.com\",\"date\":\"2024-01-15\"}\n■2: {\"subject\":\"Win a free iPhone!\",\"from\":\"spam@ads.com\",\"date\":\"2024-01-13\"}\n■3: {\"subject\":\"Mortgage payment due\",\"from\":\"bank@mortgage.com\",\"date\":\"2024-01-16\"}\n■4: {\"subject\":\"Social media notification\",\"from\":\"noreply@social.com\",\"date\":\"2024-01-15\"}\n\nCreate 1-3 sorting criteria with ordered label arrays (3-10 labels each).\n\n**CRITICAL RULES**:\n1. Labels are single words, lowercase, no spaces, use underscores\n2. Labels are ordered from FIRST to LAST in sorted result\n3. If instruction says \"from X to Y\": first label represents X, last label represents Y\n4. If instruction says \"prioritize\" or \"highest/lowest priority\":\n   - First label = HIGHEST priority (top of todo list)\n   - Last label = LOWEST priority (bottom of todo list)\n\nExamples:\n\n\"from slowest to fastest\" → first=slowest, last=fastest\n■speed■\nvery_slow;slow;medium;fast;very_fast\n■END■\n\n\"from most dangerous to least dangerous\" → first=most dangerous, last=least dangerous\n■danger■\nextremely_dangerous;very_dangerous;dangerous;moderate;slightly_dangerous;harmless\n■END■\n\n\"from least urgent (spam) to most urgent (bills)\" → first=spam, last=bills\n■urgency■\nspam;promotional;normal;important;urgent;critical\n■END■\n\n\"prioritize: highest priority=open old tickets; lowest priority=closed\" → first=high priority, last=low priority\n■status■\nopen_old;open_recent;closed\n■age■\noldest;old;recent;new\n■END■\n\nOutput format:\n■criterion_name■\nlabel1;label2;label3;label4\n■END■\n\nUse 3-10 labels per criterion. Labels should be intuitive and match the domain.\nKeep criterion names short (1-2 words, lowercase, underscores).\n","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.sort","promptSource":"zai:zai.sort:default"},"model":"fast","signal":{}},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
■urgency■
critical;urgent;important;normal;low;spam
■END■


Input: {"body":{"messages":[{"content":"You are ranking items for sorting using ordered label arrays.\n\n**urgency**: critical;urgent;important;normal;low;spam\n\nInstructions: \"from most urgent (bills to pay) to least urgent (spam)\"\n\nSCORING RULES:\n- For each item and each criterion, assign ONE label from the ordered list\n- Labels are ordered: first label = appears FIRST in sorted result, last label = appears LAST\n- Choose the label that best describes each item\n\nOutput format:\n■0:criterion1=label;criterion2=label■\n■1:criterion1=label;criterion2=label■\n■END■\n\nIMPORTANT:\n- Rank every item (■0 to ■4)\n- Use exact criterion names: urgency\n- Use exact labels from the lists above (lowercase, underscores)\n- Use semicolons (;) between criteria\n- Use equals (=) between criterion and label","role":"system"},{"content":"Items to rank (■0 to ■4):\n■0: {\"subject\":\"Newsletter subscription\",\"from\":\"news@site.com\",\"date\":\"2024-01-14\"}■\n■1: {\"subject\":\"Insurance payment required\",\"from\":\"insurance@company.com\",\"date\":\"2024-01-15\"}■\n■2: {\"subject\":\"Win a free iPhone!\",\"from\":\"spam@ads.com\",\"date\":\"2024-01-13\"}■\n■3: {\"subject\":\"Mortgage payment due\",\"from\":\"bank@mortgage.com\",\"date\":\"2024-01-16\"}■\n■4: {\"subject\":\"Social media notification\",\"from\":\"noreply@social.com\",\"date\":\"2024-01-15\"}■\n\nRank each item using the labeled scales.\nOutput format: ■index:criterion1=label;criterion2=label■\n■END■","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.sort","promptSource":"zai:zai.sort:default"},"model":"fast","signal":{},"stopSequences":["■END■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
■0:urgency=low■
■1:urgency=urgent■
■2:urgency=spam■
■3:urgency=critical■
■4:urgency=normal■


Input: {"body":{"messages":[{"content":"You are creating sorting criteria with ordered label arrays.\n\nCRITICAL: Output ordered labels from FIRST to LAST position in sorted result.\n- Labels are single words, lowercase, underscores only\n- 3-10 labels per criterion\n- Order matters: first label = appears first, last label = appears last","role":"system"},{"content":"Analyze this sorting instruction: \"from least urgent to most urgent (consider both ARR and how long they have been customers - high ARR + long tenure = most urgent)\"\n\nSample items to be sorted:\n■0: {\"id\":\"T-001\",\"customer\":\"StartupCo\",\"issue\":\"Login not working\",\"arr\":5000,\"customerSince\":\"2023-01-15\",\"status\":\"open\",\"createdAt\":\"2024-01-15T10:00:00Z\"}\n■1: {\"id\":\"T-002\",\"customer\":\"EnterpriseCorp\",\"issue\":\"System down - production outage\",\"arr\":500000,\"customerSince\":\"2020-03-10\",\"status\":\"open\",\"createdAt\":\"2024-01-15T09:00:00Z\"}\n■2: {\"id\":\"T-003\",\"customer\":\"MediumBiz\",\"issue\":\"Feature request for dashboard\",\"arr\":50000,\"customerSince\":\"2022-06-20\",\"status\":\"open\",\"createdAt\":\"2024-01-15T11:00:00Z\"}\n■3: {\"id\":\"T-004\",\"customer\":\"NewCustomer\",\"issue\":\"Cannot access account\",\"arr\":2000,\"customerSince\":\"2024-01-01\",\"status\":\"open\",\"createdAt\":\"2024-01-15T08:00:00Z\"}\n■4: {\"id\":\"T-005\",\"customer\":\"LoyalClient\",\"issue\":\"Critical bug affecting workflow\",\"arr\":120000,\"customerSince\":\"2019-01-01\",\"status\":\"open\",\"createdAt\":\"2024-01-15T10:30:00Z\"}\n\nCreate 1-3 sorting criteria with ordered label arrays (3-10 labels each).\n\n**CRITICAL RULES**:\n1. Labels are single words, lowercase, no spaces, use underscores\n2. Labels are ordered from FIRST to LAST in sorted result\n3. If instruction says \"from X to Y\": first label represents X, last label represents Y\n4. If instruction says \"prioritize\" or \"highest/lowest priority\":\n   - First label = HIGHEST priority (top of todo list)\n   - Last label = LOWEST priority (bottom of todo list)\n\nExamples:\n\n\"from slowest to fastest\" → first=slowest, last=fastest\n■speed■\nvery_slow;slow;medium;fast;very_fast\n■END■\n\n\"from most dangerous to least dangerous\" → first=most dangerous, last=least dangerous\n■danger■\nextremely_dangerous;very_dangerous;dangerous;moderate;slightly_dangerous;harmless\n■END■\n\n\"from least urgent (spam) to most urgent (bills)\" → first=spam, last=bills\n■urgency■\nspam;promotional;normal;important;urgent;critical\n■END■\n\n\"prioritize: highest priority=open old tickets; lowest priority=closed\" → first=high priority, last=low priority\n■status■\nopen_old;open_recent;closed\n■age■\noldest;old;recent;new\n■END■\n\nOutput format:\n■criterion_name■\nlabel1;label2;label3;label4\n■END■\n\nUse 3-10 labels per criterion. Labels should be intuitive and match the domain.\nKeep criterion names short (1-2 words, lowercase, underscores).\n","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.sort","promptSource":"zai:zai.sort:default"},"model":"fast","signal":{}},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
■urgency■
trivial;minor;moderate;urgent;critical
■END■
■arr■
tiny;small;medium;large;huge
■END■
■tenure■
new;recent;established;veteran;legacy
■END■


Input: {"body":{"messages":[{"content":"You are ranking items for sorting using ordered label arrays.\n\n**urgency**: trivial;minor;moderate;urgent;critical\n\nInstructions: \"from least urgent to most urgent (consider both ARR and how long they have been customers - high ARR + long tenure = most urgent)\"\n\nSCORING RULES:\n- For each item and each criterion, assign ONE label from the ordered list\n- Labels are ordered: first label = appears FIRST in sorted result, last label = appears LAST\n- Choose the label that best describes each item\n\nOutput format:\n■0:criterion1=label;criterion2=label■\n■1:criterion1=label;criterion2=label■\n■END■\n\nIMPORTANT:\n- Rank every item (■0 to ■4)\n- Use exact criterion names: urgency\n- Use exact labels from the lists above (lowercase, underscores)\n- Use semicolons (;) between criteria\n- Use equals (=) between criterion and label","role":"system"},{"content":"Items to rank (■0 to ■4):\n■0: {\"id\":\"T-001\",\"customer\":\"StartupCo\",\"issue\":\"Login not working\",\"arr\":5000,\"customerSince\":\"2023-01-15\",\"status\":\"open\",\"createdAt\":\"2024-01-15T10:00:00Z\"}■\n■1: {\"id\":\"T-002\",\"customer\":\"EnterpriseCorp\",\"issue\":\"System down - production outage\",\"arr\":500000,\"customerSince\":\"2020-03-10\",\"status\":\"open\",\"createdAt\":\"2024-01-15T09:00:00Z\"}■\n■2: {\"id\":\"T-003\",\"customer\":\"MediumBiz\",\"issue\":\"Feature request for dashboard\",\"arr\":50000,\"customerSince\":\"2022-06-20\",\"status\":\"open\",\"createdAt\":\"2024-01-15T11:00:00Z\"}■\n■3: {\"id\":\"T-004\",\"customer\":\"NewCustomer\",\"issue\":\"Cannot access account\",\"arr\":2000,\"customerSince\":\"2024-01-01\",\"status\":\"open\",\"createdAt\":\"2024-01-15T08:00:00Z\"}■\n■4: {\"id\":\"T-005\",\"customer\":\"LoyalClient\",\"issue\":\"Critical bug affecting workflow\",\"arr\":120000,\"customerSince\":\"2019-01-01\",\"status\":\"open\",\"createdAt\":\"2024-01-15T10:30:00Z\"}■\n\nRank each item using the labeled scales.\nOutput format: ■index:criterion1=label;criterion2=label■\n■END■","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.sort","promptSource":"zai:zai.sort:default"},"model":"fast","signal":{},"stopSequences":["■END■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
■0:urgency=moderate■
■1:urgency=critical■
■2:urgency=minor■
■3:urgency=trivial■
■4:urgency=urgent■


Input: {"body":{"messages":[{"content":"You are creating sorting criteria with ordered label arrays.\n\nCRITICAL: Output ordered labels from FIRST to LAST position in sorted result.\n- Labels are single words, lowercase, underscores only\n- 3-10 labels per criterion\n- Order matters: first label = appears first, last label = appears last","role":"system"},{"content":"Analyze this sorting instruction: \"from oldest to newest by creation date\"\n\nSample items to be sorted:\n■0: {\"id\":\"T-101\",\"title\":\"Bug in checkout\",\"createdAt\":\"2024-01-15T14:00:00Z\",\"status\":\"open\"}\n■1: {\"id\":\"T-102\",\"title\":\"Feature request\",\"createdAt\":\"2024-01-10T09:00:00Z\",\"status\":\"open\"}\n■2: {\"id\":\"T-103\",\"title\":\"Login issue\",\"createdAt\":\"2024-01-18T11:00:00Z\",\"status\":\"open\"}\n■3: {\"id\":\"T-104\",\"title\":\"Payment failed\",\"createdAt\":\"2024-01-12T16:30:00Z\",\"status\":\"open\"}\n■4: {\"id\":\"T-105\",\"title\":\"UI glitch\",\"createdAt\":\"2024-01-08T08:00:00Z\",\"status\":\"open\"}\n\nCreate 1-3 sorting criteria with ordered label arrays (3-10 labels each).\n\n**CRITICAL RULES**:\n1. Labels are single words, lowercase, no spaces, use underscores\n2. Labels are ordered from FIRST to LAST in sorted result\n3. If instruction says \"from X to Y\": first label represents X, last label represents Y\n4. If instruction says \"prioritize\" or \"highest/lowest priority\":\n   - First label = HIGHEST priority (top of todo list)\n   - Last label = LOWEST priority (bottom of todo list)\n\nExamples:\n\n\"from slowest to fastest\" → first=slowest, last=fastest\n■speed■\nvery_slow;slow;medium;fast;very_fast\n■END■\n\n\"from most dangerous to least dangerous\" → first=most dangerous, last=least dangerous\n■danger■\nextremely_dangerous;very_dangerous;dangerous;moderate;slightly_dangerous;harmless\n■END■\n\n\"from least urgent (spam) to most urgent (bills)\" → first=spam, last=bills\n■urgency■\nspam;promotional;normal;important;urgent;critical\n■END■\n\n\"prioritize: highest priority=open old tickets; lowest priority=closed\" → first=high priority, last=low priority\n■status■\nopen_old;open_recent;closed\n■age■\noldest;old;recent;new\n■END■\n\nOutput format:\n■criterion_name■\nlabel1;label2;label3;label4\n■END■\n\nUse 3-10 labels per criterion. Labels should be intuitive and match the domain.\nKeep criterion names short (1-2 words, lowercase, underscores).\n","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.sort","promptSource":"zai:zai.sort:default"},"model":"fast","signal":{}},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
■age■
oldest;older;old;new;newer;newest
■END■


Input: {"body":{"messages":[{"content":"You are ranking items for sorting using ordered label arrays.\n\n**age**: oldest;older;old;new;newer;newest\n\nInstructions: \"from oldest to newest by creation date\"\n\nSCORING RULES:\n- For each item and each criterion, assign ONE label from the ordered list\n- Labels are ordered: first label = appears FIRST in sorted result, last label = appears LAST\n- Choose the label that best describes each item\n\nOutput format:\n■0:criterion1=label;criterion2=label■\n■1:criterion1=label;criterion2=label■\n■END■\n\nIMPORTANT:\n- Rank every item (■0 to ■4)\n- Use exact criterion names: age\n- Use exact labels from the lists above (lowercase, underscores)\n- Use semicolons (;) between criteria\n- Use equals (=) between criterion and label","role":"system"},{"content":"Items to rank (■0 to ■4):\n■0: {\"id\":\"T-101\",\"title\":\"Bug in checkout\",\"createdAt\":\"2024-01-15T14:00:00Z\",\"status\":\"open\"}■\n■1: {\"id\":\"T-102\",\"title\":\"Feature request\",\"createdAt\":\"2024-01-10T09:00:00Z\",\"status\":\"open\"}■\n■2: {\"id\":\"T-103\",\"title\":\"Login issue\",\"createdAt\":\"2024-01-18T11:00:00Z\",\"status\":\"open\"}■\n■3: {\"id\":\"T-104\",\"title\":\"Payment failed\",\"createdAt\":\"2024-01-12T16:30:00Z\",\"status\":\"open\"}■\n■4: {\"id\":\"T-105\",\"title\":\"UI glitch\",\"createdAt\":\"2024-01-08T08:00:00Z\",\"status\":\"open\"}■\n\nRank each item using the labeled scales.\nOutput format: ■index:criterion1=label;criterion2=label■\n■END■","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.sort","promptSource":"zai:zai.sort:default"},"model":"fast","signal":{},"stopSequences":["■END■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
■0:age=new■
■1:age=older■
■2:age=newer■
■3:age=old■
■4:age=oldest■


Input: {"body":{"messages":[{"content":"You are creating sorting criteria with ordered label arrays.\n\nCRITICAL: Output ordered labels from FIRST to LAST position in sorted result.\n- Labels are single words, lowercase, underscores only\n- 3-10 labels per criterion\n- Order matters: first label = appears first, last label = appears last","role":"system"},{"content":"Analyze this sorting instruction: \"from newest to oldest by creation date\"\n\nSample items to be sorted:\n■0: {\"id\":\"T-201\",\"title\":\"Issue A\",\"createdAt\":\"2024-01-10T10:00:00Z\",\"status\":\"open\"}\n■1: {\"id\":\"T-202\",\"title\":\"Issue B\",\"createdAt\":\"2024-01-15T12:00:00Z\",\"status\":\"open\"}\n■2: {\"id\":\"T-203\",\"title\":\"Issue C\",\"createdAt\":\"2024-01-08T09:00:00Z\",\"status\":\"open\"}\n■3: {\"id\":\"T-204\",\"title\":\"Issue D\",\"createdAt\":\"2024-01-20T14:00:00Z\",\"status\":\"open\"}\n\nCreate 1-3 sorting criteria with ordered label arrays (3-10 labels each).\n\n**CRITICAL RULES**:\n1. Labels are single words, lowercase, no spaces, use underscores\n2. Labels are ordered from FIRST to LAST in sorted result\n3. If instruction says \"from X to Y\": first label represents X, last label represents Y\n4. If instruction says \"prioritize\" or \"highest/lowest priority\":\n   - First label = HIGHEST priority (top of todo list)\n   - Last label = LOWEST priority (bottom of todo list)\n\nExamples:\n\n\"from slowest to fastest\" → first=slowest, last=fastest\n■speed■\nvery_slow;slow;medium;fast;very_fast\n■END■\n\n\"from most dangerous to least dangerous\" → first=most dangerous, last=least dangerous\n■danger■\nextremely_dangerous;very_dangerous;dangerous;moderate;slightly_dangerous;harmless\n■END■\n\n\"from least urgent (spam) to most urgent (bills)\" → first=spam, last=bills\n■urgency■\nspam;promotional;normal;important;urgent;critical\n■END■\n\n\"prioritize: highest priority=open old tickets; lowest priority=closed\" → first=high priority, last=low priority\n■status■\nopen_old;open_recent;closed\n■age■\noldest;old;recent;new\n■END■\n\nOutput format:\n■criterion_name■\nlabel1;label2;label3;label4\n■END■\n\nUse 3-10 labels per criterion. Labels should be intuitive and match the domain.\nKeep criterion names short (1-2 words, lowercase, underscores).\n","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.sort","promptSource":"zai:zai.sort:default"},"model":"fast","signal":{}},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
■date■
newest;newer;recent;older;oldest
■END■


Input: {"body":{"messages":[{"content":"You are ranking items for sorting using ordered label arrays.\n\n**date**: newest;newer;recent;older;oldest\n\nInstructions: \"from newest to oldest by creation date\"\n\nSCORING RULES:\n- For each item and each criterion, assign ONE label from the ordered list\n- Labels are ordered: first label = appears FIRST in sorted result, last label = appears LAST\n- Choose the label that best describes each item\n\nOutput format:\n■0:criterion1=label;criterion2=label■\n■1:criterion1=label;criterion2=label■\n■END■\n\nIMPORTANT:\n- Rank every item (■0 to ■3)\n- Use exact criterion names: date\n- Use exact labels from the lists above (lowercase, underscores)\n- Use semicolons (;) between criteria\n- Use equals (=) between criterion and label","role":"system"},{"content":"Items to rank (■0 to ■3):\n■0: {\"id\":\"T-201\",\"title\":\"Issue A\",\"createdAt\":\"2024-01-10T10:00:00Z\",\"status\":\"open\"}■\n■1: {\"id\":\"T-202\",\"title\":\"Issue B\",\"createdAt\":\"2024-01-15T12:00:00Z\",\"status\":\"open\"}■\n■2: {\"id\":\"T-203\",\"title\":\"Issue C\",\"createdAt\":\"2024-01-08T09:00:00Z\",\"status\":\"open\"}■\n■3: {\"id\":\"T-204\",\"title\":\"Issue D\",\"createdAt\":\"2024-01-20T14:00:00Z\",\"status\":\"open\"}■\n\nRank each item using the labeled scales.\nOutput format: ■index:criterion1=label;criterion2=label■\n■END■","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.sort","promptSource":"zai:zai.sort:default"},"model":"fast","signal":{},"stopSequences":["■END■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
■0:date=recent■
■1:date=newer■
■2:date=oldest■
■3:date=newest■


Input: {"body":{"messages":[{"content":"You are creating sorting criteria with ordered label arrays.\n\nCRITICAL: Output ordered labels from FIRST to LAST position in sorted result.\n- Labels are single words, lowercase, underscores only\n- 3-10 labels per criterion\n- Order matters: first label = appears first, last label = appears last","role":"system"},{"content":"Analyze this sorting instruction: \"prioritize by status and age: highest priority = open tickets that have been open longest; lowest priority = closed tickets\"\n\nSample items to be sorted:\n■0: {\"id\":\"T-301\",\"title\":\"Old open ticket\",\"status\":\"open\",\"createdAt\":\"2024-01-05T10:00:00Z\",\"resolvedAt\":null}\n■1: {\"id\":\"T-302\",\"title\":\"Recently closed\",\"status\":\"closed\",\"createdAt\":\"2024-01-10T10:00:00Z\",\"resolvedAt\":\"2024-01-18T15:00:00Z\"}\n■2: {\"id\":\"T-303\",\"title\":\"Very old open ticket\",\"status\":\"open\",\"createdAt\":\"2024-01-01T08:00:00Z\",\"resolvedAt\":null}\n■3: {\"id\":\"T-304\",\"title\":\"New open ticket\",\"status\":\"open\",\"createdAt\":\"2024-01-18T14:00:00Z\",\"resolvedAt\":null}\n■4: {\"id\":\"T-305\",\"title\":\"Old closed ticket\",\"status\":\"closed\",\"createdAt\":\"2024-01-03T09:00:00Z\",\"resolvedAt\":\"2024-01-15T10:00:00Z\"}\n\nCreate 1-3 sorting criteria with ordered label arrays (3-10 labels each).\n\n**CRITICAL RULES**:\n1. Labels are single words, lowercase, no spaces, use underscores\n2. Labels are ordered from FIRST to LAST in sorted result\n3. If instruction says \"from X to Y\": first label represents X, last label represents Y\n4. If instruction says \"prioritize\" or \"highest/lowest priority\":\n   - First label = HIGHEST priority (top of todo list)\n   - Last label = LOWEST priority (bottom of todo list)\n\nExamples:\n\n\"from slowest to fastest\" → first=slowest, last=fastest\n■speed■\nvery_slow;slow;medium;fast;very_fast\n■END■\n\n\"from most dangerous to least dangerous\" → first=most dangerous, last=least dangerous\n■danger■\nextremely_dangerous;very_dangerous;dangerous;moderate;slightly_dangerous;harmless\n■END■\n\n\"from least urgent (spam) to most urgent (bills)\" → first=spam, last=bills\n■urgency■\nspam;promotional;normal;important;urgent;critical\n■END■\n\n\"prioritize: highest priority=open old tickets; lowest priority=closed\" → first=high priority, last=low priority\n■status■\nopen_old;open_recent;closed\n■age■\noldest;old;recent;new\n■END■\n\nOutput format:\n■criterion_name■\nlabel1;label2;label3;label4\n■END■\n\nUse 3-10 labels per criterion. Labels should be intuitive and match the domain.\nKeep criterion names short (1-2 words, lowercase, underscores).\n","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.sort","promptSource":"zai:zai.sort:default"},"model":"fast","signal":{}},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
■priority■
open_oldest;open_older;open_newer;closed
■END■


Input: {"body":{"messages":[{"content":"You are ranking items for sorting using ordered label arrays.\n\n**priority**: open_oldest;open_older;open_newer;closed\n\nInstructions: \"prioritize by status and age: highest priority = open tickets that have been open longest; lowest priority = closed tickets\"\n\nSCORING RULES:\n- For each item and each criterion, assign ONE label from the ordered list\n- Labels are ordered: first label = appears FIRST in sorted result, last label = appears LAST\n- Choose the label that best describes each item\n\nOutput format:\n■0:criterion1=label;criterion2=label■\n■1:criterion1=label;criterion2=label■\n■END■\n\nIMPORTANT:\n- Rank every item (■0 to ■5)\n- Use exact criterion names: priority\n- Use exact labels from the lists above (lowercase, underscores)\n- Use semicolons (;) between criteria\n- Use equals (=) between criterion and label","role":"system"},{"content":"Items to rank (■0 to ■5):\n■0: {\"id\":\"T-301\",\"title\":\"Old open ticket\",\"status\":\"open\",\"createdAt\":\"2024-01-05T10:00:00Z\",\"resolvedAt\":null}■\n■1: {\"id\":\"T-302\",\"title\":\"Recently closed\",\"status\":\"closed\",\"createdAt\":\"2024-01-10T10:00:00Z\",\"resolvedAt\":\"2024-01-18T15:00:00Z\"}■\n■2: {\"id\":\"T-303\",\"title\":\"Very old open ticket\",\"status\":\"open\",\"createdAt\":\"2024-01-01T08:00:00Z\",\"resolvedAt\":null}■\n■3: {\"id\":\"T-304\",\"title\":\"New open ticket\",\"status\":\"open\",\"createdAt\":\"2024-01-18T14:00:00Z\",\"resolvedAt\":null}■\n■4: {\"id\":\"T-305\",\"title\":\"Old closed ticket\",\"status\":\"closed\",\"createdAt\":\"2024-01-03T09:00:00Z\",\"resolvedAt\":\"2024-01-15T10:00:00Z\"}■\n■5: {\"id\":\"T-306\",\"title\":\"Medium age open ticket\",\"status\":\"open\",\"createdAt\":\"2024-01-12T11:00:00Z\",\"resolvedAt\":null}■\n\nRank each item using the labeled scales.\nOutput format: ■index:criterion1=label;criterion2=label■\n■END■","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.sort","promptSource":"zai:zai.sort:default"},"model":"fast","signal":{},"stopSequences":["■END■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
■0:priority=open_older■
■1:priority=closed■
■2:priority=open_oldest■
■3:priority=open_newer■
■4:priority=closed■
■5:priority=open_newer■


Input: {"body":{"messages":[{"content":"You are breaking a tie between items with identical total scores.\n\nInstructions: prioritize by status and age: highest priority = open tickets that have been open longest; lowest priority = closed tickets\n\nCriteria:\n- priority: open_oldest;open_older;open_newer;closed\n\nOrder these 2 items from FIRST to LAST based on the instructions.\nEarlier labels in each criterion should come FIRST.\n\nOutput format:\n■original_index■\n■original_index■\n■END■\n\nOutput the indices in the order they should appear (first item at top).","role":"system"},{"content":"Items with identical scores (need tie-breaking):\n■0: {\"id\":\"T-302\",\"title\":\"Recently closed\",\"status\":\"closed\",\"createdAt\":\"2024-01-10T10:00:00Z\",\"resolvedAt\":\"2024-01-18T15:00:00Z\"}■\n■1: {\"id\":\"T-305\",\"title\":\"Old closed ticket\",\"status\":\"closed\",\"createdAt\":\"2024-01-03T09:00:00Z\",\"resolvedAt\":\"2024-01-15T10:00:00Z\"}■\n\nOrder them from first to last.\nOutput format: ■index■ (one per line)\n■END■","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.sort","promptSource":"zai:zai.sort:default"},"model":"fast","signal":{},"stopSequences":["■END■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
■0■
■1■


Input: {"body":{"messages":[{"content":"You are breaking a tie between items with identical total scores.\n\nInstructions: prioritize by status and age: highest priority = open tickets that have been open longest; lowest priority = closed tickets\n\nCriteria:\n- priority: open_oldest;open_older;open_newer;closed\n\nOrder these 2 items from FIRST to LAST based on the instructions.\nEarlier labels in each criterion should come FIRST.\n\nOutput format:\n■original_index■\n■original_index■\n■END■\n\nOutput the indices in the order they should appear (first item at top).","role":"system"},{"content":"Items with identical scores (need tie-breaking):\n■0: {\"id\":\"T-304\",\"title\":\"New open ticket\",\"status\":\"open\",\"createdAt\":\"2024-01-18T14:00:00Z\",\"resolvedAt\":null}■\n■1: {\"id\":\"T-306\",\"title\":\"Medium age open ticket\",\"status\":\"open\",\"createdAt\":\"2024-01-12T11:00:00Z\",\"resolvedAt\":null}■\n\nOrder them from first to last.\nOutput format: ■index■ (one per line)\n■END■","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.sort","promptSource":"zai:zai.sort:default"},"model":"fast","signal":{},"stopSequences":["■END■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
■1■
■0■


Input: {"body":{"messages":[{"content":"You are creating sorting criteria with ordered label arrays.\n\nCRITICAL: Output ordered labels from FIRST to LAST position in sorted result.\n- Labels are single words, lowercase, underscores only\n- 3-10 labels per criterion\n- Order matters: first label = appears first, last label = appears last","role":"system"},{"content":"Analyze this sorting instruction: \"from smallest value to largest value\"\n\nSample items to be sorted:\n■0: {\"id\":0,\"value\":23}\n■1: {\"id\":1,\"value\":40}\n■2: {\"id\":2,\"value\":57}\n■3: {\"id\":3,\"value\":74}\n■4: {\"id\":4,\"value\":91}\n\nCreate 1-3 sorting criteria with ordered label arrays (3-10 labels each).\n\n**CRITICAL RULES**:\n1. Labels are single words, lowercase, no spaces, use underscores\n2. Labels are ordered from FIRST to LAST in sorted result\n3. If instruction says \"from X to Y\": first label represents X, last label represents Y\n4. If instruction says \"prioritize\" or \"highest/lowest priority\":\n   - First label = HIGHEST priority (top of todo list)\n   - Last label = LOWEST priority (bottom of todo list)\n\nExamples:\n\n\"from slowest to fastest\" → first=slowest, last=fastest\n■speed■\nvery_slow;slow;medium;fast;very_fast\n■END■\n\n\"from most dangerous to least dangerous\" → first=most dangerous, last=least dangerous\n■danger■\nextremely_dangerous;very_dangerous;dangerous;moderate;slightly_dangerous;harmless\n■END■\n\n\"from least urgent (spam) to most urgent (bills)\" → first=spam, last=bills\n■urgency■\nspam;promotional;normal;important;urgent;critical\n■END■\n\n\"prioritize: highest priority=open old tickets; lowest priority=closed\" → first=high priority, last=low priority\n■status■\nopen_old;open_recent;closed\n■age■\noldest;old;recent;new\n■END■\n\nOutput format:\n■criterion_name■\nlabel1;label2;label3;label4\n■END■\n\nUse 3-10 labels per criterion. Labels should be intuitive and match the domain.\nKeep criterion names short (1-2 words, lowercase, underscores).\n","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.sort","promptSource":"zai:zai.sort:default"},"model":"fast","signal":{}},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
■value■
very_small;small;moderate;large;very_large
■END■


Input: {"body":{"messages":[{"content":"You are ranking items for sorting using ordered label arrays.\n\n**value**: very_small;small;moderate;large;very_large\n\nInstructions: \"from smallest value to largest value\"\n\nSCORING RULES:\n- For each item and each criterion, assign ONE label from the ordered list\n- Labels are ordered: first label = appears FIRST in sorted result, last label = appears LAST\n- Choose the label that best describes each item\n\nOutput format:\n■0:criterion1=label;criterion2=label■\n■1:criterion1=label;criterion2=label■\n■END■\n\nIMPORTANT:\n- Rank every item (■0 to ■49)\n- Use exact criterion names: value\n- Use exact labels from the lists above (lowercase, underscores)\n- Use semicolons (;) between criteria\n- Use equals (=) between criterion and label","role":"system"},{"content":"Items to rank (■0 to ■49):\n■0: {\"id\":0,\"value\":23}■\n■1: {\"id\":1,\"value\":40}■\n■2: {\"id\":2,\"value\":57}■\n■3: {\"id\":3,\"value\":74}■\n■4: {\"id\":4,\"value\":91}■\n■5: {\"id\":5,\"value\":108}■\n■6: {\"id\":6,\"value\":125}■\n■7: {\"id\":7,\"value\":142}■\n■8: {\"id\":8,\"value\":159}■\n■9: {\"id\":9,\"value\":176}■\n■10: {\"id\":10,\"value\":193}■\n■11: {\"id\":11,\"value\":210}■\n■12: {\"id\":12,\"value\":227}■\n■13: {\"id\":13,\"value\":244}■\n■14: {\"id\":14,\"value\":261}■\n■15: {\"id\":15,\"value\":278}■\n■16: {\"id\":16,\"value\":295}■\n■17: {\"id\":17,\"value\":312}■\n■18: {\"id\":18,\"value\":329}■\n■19: {\"id\":19,\"value\":346}■\n■20: {\"id\":20,\"value\":363}■\n■21: {\"id\":21,\"value\":380}■\n■22: {\"id\":22,\"value\":397}■\n■23: {\"id\":23,\"value\":414}■\n■24: {\"id\":24,\"value\":431}■\n■25: {\"id\":25,\"value\":448}■\n■26: {\"id\":26,\"value\":465}■\n■27: {\"id\":27,\"value\":482}■\n■28: {\"id\":28,\"value\":499}■\n■29: {\"id\":29,\"value\":516}■\n■30: {\"id\":30,\"value\":533}■\n■31: {\"id\":31,\"value\":550}■\n■32: {\"id\":32,\"value\":567}■\n■33: {\"id\":33,\"value\":584}■\n■34: {\"id\":34,\"value\":601}■\n■35: {\"id\":35,\"value\":618}■\n■36: {\"id\":36,\"value\":635}■\n■37: {\"id\":37,\"value\":652}■\n■38: {\"id\":38,\"value\":669}■\n■39: {\"id\":39,\"value\":686}■\n■40: {\"id\":40,\"value\":703}■\n■41: {\"id\":41,\"value\":720}■\n■42: {\"id\":42,\"value\":737}■\n■43: {\"id\":43,\"value\":754}■\n■44: {\"id\":44,\"value\":771}■\n■45: {\"id\":45,\"value\":788}■\n■46: {\"id\":46,\"value\":805}■\n■47: {\"id\":47,\"value\":822}■\n■48: {\"id\":48,\"value\":839}■\n■49: {\"id\":49,\"value\":856}■\n\nRank each item using the labeled scales.\nOutput format: ■index:criterion1=label;criterion2=label■\n■END■","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.sort","promptSource":"zai:zai.sort:default"},"model":"fast","signal":{},"stopSequences":["■END■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
■0:value=very_small■
■1:value=very_small■
■2:value=very_small■
■3:value=very_small■
■4:value=very_small■
■5:value=very_small■
■6:value=very_small■
■7:value=very_small■
■8:value=very_small■
■9:value=very_small■
■10:value=small■
■11:value=small■
■12:value=small■
■13:value=small■
■14:value=small■
■15:value=small■
■16:value=small■
■17:value=small■
■18:value=small■
■19:value=small■
■20:value=moderate■
■21:value=moderate■
■22:value=moderate■
■23:value=moderate■
■24:value=moderate■
■25:value=moderate■
■26:value=moderate■
■27:value=moderate■
■28:value=moderate■
■29:value=moderate■
■30:value=large■
■31:value=large■
■32:value=large■
■33:value=large■
■34:value=large■
■35:value=large■
■36:value=large■
■37:value=large■
■38:value=large■
■39:value=large■
■40:value=very_large■
■41:value=very_large■
■42:value=very_large■
■43:value=very_large■
■44:value=very_large■
■45:value=very_large■
■46:value=very_large■
■47:value=very_large■
■48:value=very_large■
■49:value=very_large■


Input: {"body":{"messages":[{"content":"You are ranking items for sorting using ordered label arrays.\n\n**value**: very_small;small;moderate;large;very_large\n\nInstructions: \"from smallest value to largest value\"\n\nSCORING RULES:\n- For each item and each criterion, assign ONE label from the ordered list\n- Labels are ordered: first label = appears FIRST in sorted result, last label = appears LAST\n- Choose the label that best describes each item\n\nOutput format:\n■0:criterion1=label;criterion2=label■\n■1:criterion1=label;criterion2=label■\n■END■\n\nIMPORTANT:\n- Rank every item (■0 to ■49)\n- Use exact criterion names: value\n- Use exact labels from the lists above (lowercase, underscores)\n- Use semicolons (;) between criteria\n- Use equals (=) between criterion and label","role":"system"},{"content":"Items to rank (■0 to ■49):\n■0: {\"id\":450,\"value\":673}■\n■1: {\"id\":451,\"value\":690}■\n■2: {\"id\":452,\"value\":707}■\n■3: {\"id\":453,\"value\":724}■\n■4: {\"id\":454,\"value\":741}■\n■5: {\"id\":455,\"value\":758}■\n■6: {\"id\":456,\"value\":775}■\n■7: {\"id\":457,\"value\":792}■\n■8: {\"id\":458,\"value\":809}■\n■9: {\"id\":459,\"value\":826}■\n■10: {\"id\":460,\"value\":843}■\n■11: {\"id\":461,\"value\":860}■\n■12: {\"id\":462,\"value\":877}■\n■13: {\"id\":463,\"value\":894}■\n■14: {\"id\":464,\"value\":911}■\n■15: {\"id\":465,\"value\":928}■\n■16: {\"id\":466,\"value\":945}■\n■17: {\"id\":467,\"value\":962}■\n■18: {\"id\":468,\"value\":979}■\n■19: {\"id\":469,\"value\":996}■\n■20: {\"id\":470,\"value\":13}■\n■21: {\"id\":471,\"value\":30}■\n■22: {\"id\":472,\"value\":47}■\n■23: {\"id\":473,\"value\":64}■\n■24: {\"id\":474,\"value\":81}■\n■25: {\"id\":475,\"value\":98}■\n■26: {\"id\":476,\"value\":115}■\n■27: {\"id\":477,\"value\":132}■\n■28: {\"id\":478,\"value\":149}■\n■29: {\"id\":479,\"value\":166}■\n■30: {\"id\":480,\"value\":183}■\n■31: {\"id\":481,\"value\":200}■\n■32: {\"id\":482,\"value\":217}■\n■33: {\"id\":483,\"value\":234}■\n■34: {\"id\":484,\"value\":251}■\n■35: {\"id\":485,\"value\":268}■\n■36: {\"id\":486,\"value\":285}■\n■37: {\"id\":487,\"value\":302}■\n■38: {\"id\":488,\"value\":319}■\n■39: {\"id\":489,\"value\":336}■\n■40: {\"id\":490,\"value\":353}■\n■41: {\"id\":491,\"value\":370}■\n■42: {\"id\":492,\"value\":387}■\n■43: {\"id\":493,\"value\":404}■\n■44: {\"id\":494,\"value\":421}■\n■45: {\"id\":495,\"value\":438}■\n■46: {\"id\":496,\"value\":455}■\n■47: {\"id\":497,\"value\":472}■\n■48: {\"id\":498,\"value\":489}■\n■49: {\"id\":499,\"value\":506}■\n\nRank each item using the labeled scales.\nOutput format: ■index:criterion1=label;criterion2=label■\n■END■","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.sort","promptSource":"zai:zai.sort:default"},"model":"fast","signal":{},"stopSequences":["■END■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
■0:value=large■
■1:value=large■
■2:value=large■
■3:value=large■
■4:value=large■
■5:value=large■
■6:value=large■
■7:value=large■
■8:value=large■
■9:value=large■
■10:value=very_large■
■11:value=very_large■
■12:value=very_large■
■13:value=very_large■
■14:value=very_large■
■15:value=very_large■
■16:value=very_large■
■17:value=very_large■
■18:value=very_large■
■19:value=very_large■
■20:value=very_small■
■21:value=very_small■
■22:value=very_small■
■23:value=very_small■
■24:value=very_small■
■25:value=very_small■
■26:value=very_small■
■27:value=very_small■
■28:value=very_small■
■29:value=very_small■
■30:value=small■
■31:value=small■
■32:value=small■
■33:value=small■
■34:value=small■
■35:value=small■
■36:value=small■
■37:value=small■
■38:value=small■
■39:value=small■
■40:value=moderate■
■41:value=moderate■
■42:value=moderate■
■43:value=moderate■
■44:value=moderate■
■45:value=moderate■
■46:value=moderate■
■47:value=moderate■
■48:value=moderate■
■49:value=moderate■


Input: {"body":{"messages":[{"content":"You are ranking items for sorting using ordered label arrays.\n\n**value**: very_small;small;moderate;large;very_large\n\nInstructions: \"from smallest value to largest value\"\n\nSCORING RULES:\n- For each item and each criterion, assign ONE label from the ordered list\n- Labels are ordered: first label = appears FIRST in sorted result, last label = appears LAST\n- Choose the label that best describes each item\n\nOutput format:\n■0:criterion1=label;criterion2=label■\n■1:criterion1=label;criterion2=label■\n■END■\n\nIMPORTANT:\n- Rank every item (■0 to ■49)\n- Use exact criterion names: value\n- Use exact labels from the lists above (lowercase, underscores)\n- Use semicolons (;) between criteria\n- Use equals (=) between criterion and label","role":"system"},{"content":"Items to rank (■0 to ■49):\n■0: {\"id\":250,\"value\":273}■\n■1: {\"id\":251,\"value\":290}■\n■2: {\"id\":252,\"value\":307}■\n■3: {\"id\":253,\"value\":324}■\n■4: {\"id\":254,\"value\":341}■\n■5: {\"id\":255,\"value\":358}■\n■6: {\"id\":256,\"value\":375}■\n■7: {\"id\":257,\"value\":392}■\n■8: {\"id\":258,\"value\":409}■\n■9: {\"id\":259,\"value\":426}■\n■10: {\"id\":260,\"value\":443}■\n■11: {\"id\":261,\"value\":460}■\n■12: {\"id\":262,\"value\":477}■\n■13: {\"id\":263,\"value\":494}■\n■14: {\"id\":264,\"value\":511}■\n■15: {\"id\":265,\"value\":528}■\n■16: {\"id\":266,\"value\":545}■\n■17: {\"id\":267,\"value\":562}■\n■18: {\"id\":268,\"value\":579}■\n■19: {\"id\":269,\"value\":596}■\n■20: {\"id\":270,\"value\":613}■\n■21: {\"id\":271,\"value\":630}■\n■22: {\"id\":272,\"value\":647}■\n■23: {\"id\":273,\"value\":664}■\n■24: {\"id\":274,\"value\":681}■\n■25: {\"id\":275,\"value\":698}■\n■26: {\"id\":276,\"value\":715}■\n■27: {\"id\":277,\"value\":732}■\n■28: {\"id\":278,\"value\":749}■\n■29: {\"id\":279,\"value\":766}■\n■30: {\"id\":280,\"value\":783}■\n■31: {\"id\":281,\"value\":800}■\n■32: {\"id\":282,\"value\":817}■\n■33: {\"id\":283,\"value\":834}■\n■34: {\"id\":284,\"value\":851}■\n■35: {\"id\":285,\"value\":868}■\n■36: {\"id\":286,\"value\":885}■\n■37: {\"id\":287,\"value\":902}■\n■38: {\"id\":288,\"value\":919}■\n■39: {\"id\":289,\"value\":936}■\n■40: {\"id\":290,\"value\":953}■\n■41: {\"id\":291,\"value\":970}■\n■42: {\"id\":292,\"value\":987}■\n■43: {\"id\":293,\"value\":4}■\n■44: {\"id\":294,\"value\":21}■\n■45: {\"id\":295,\"value\":38}■\n■46: {\"id\":296,\"value\":55}■\n■47: {\"id\":297,\"value\":72}■\n■48: {\"id\":298,\"value\":89}■\n■49: {\"id\":299,\"value\":106}■\n\nRank each item using the labeled scales.\nOutput format: ■index:criterion1=label;criterion2=label■\n■END■","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.sort","promptSource":"zai:zai.sort:default"},"model":"fast","signal":{},"stopSequences":["■END■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
■0:value=moderate■
■1:value=moderate■
■2:value=moderate■
■3:value=moderate■
■4:value=moderate■
■5:value=moderate■
■6:value=moderate■
■7:value=moderate■
■8:value=moderate■
■9:value=moderate■
■10:value=moderate■
■11:value=moderate■
■12:value=moderate■
■13:value=moderate■
■14:value=moderate■
■15:value=moderate■
■16:value=moderate■
■17:value=moderate■
■18:value=moderate■
■19:value=moderate■
■20:value=large■
■21:value=large■
■22:value=large■
■23:value=large■
■24:value=large■
■25:value=large■
■26:value=large■
■27:value=large■
■28:value=large■
■29:value=large■
■30:value=large■
■31:value=large■
■32:value=large■
■33:value=large■
■34:value=large■
■35:value=very_large■
■36:value=very_large■
■37:value=very_large■
■38:value=very_large■
■39:value=very_large■
■40:value=very_large■
■41:value=very_large■
■42:value=very_large■
■43:value=very_small■
■44:value=very_small■
■45:value=very_small■
■46:value=small■
■47:value=small■
■48:value=small■
■49:value=small■


Input: {"body":{"messages":[{"content":"You are ranking items for sorting using ordered label arrays.\n\n**value**: very_small;small;moderate;large;very_large\n\nInstructions: \"from smallest value to largest value\"\n\nSCORING RULES:\n- For each item and each criterion, assign ONE label from the ordered list\n- Labels are ordered: first label = appears FIRST in sorted result, last label = appears LAST\n- Choose the label that best describes each item\n\nOutput format:\n■0:criterion1=label;criterion2=label■\n■1:criterion1=label;criterion2=label■\n■END■\n\nIMPORTANT:\n- Rank every item (■0 to ■49)\n- Use exact criterion names: value\n- Use exact labels from the lists above (lowercase, underscores)\n- Use semicolons (;) between criteria\n- Use equals (=) between criterion and label","role":"system"},{"content":"Items to rank (■0 to ■49):\n■0: {\"id\":150,\"value\":573}■\n■1: {\"id\":151,\"value\":590}■\n■2: {\"id\":152,\"value\":607}■\n■3: {\"id\":153,\"value\":624}■\n■4: {\"id\":154,\"value\":641}■\n■5: {\"id\":155,\"value\":658}■\n■6: {\"id\":156,\"value\":675}■\n■7: {\"id\":157,\"value\":692}■\n■8: {\"id\":158,\"value\":709}■\n■9: {\"id\":159,\"value\":726}■\n■10: {\"id\":160,\"value\":743}■\n■11: {\"id\":161,\"value\":760}■\n■12: {\"id\":162,\"value\":777}■\n■13: {\"id\":163,\"value\":794}■\n■14: {\"id\":164,\"value\":811}■\n■15: {\"id\":165,\"value\":828}■\n■16: {\"id\":166,\"value\":845}■\n■17: {\"id\":167,\"value\":862}■\n■18: {\"id\":168,\"value\":879}■\n■19: {\"id\":169,\"value\":896}■\n■20: {\"id\":170,\"value\":913}■\n■21: {\"id\":171,\"value\":930}■\n■22: {\"id\":172,\"value\":947}■\n■23: {\"id\":173,\"value\":964}■\n■24: {\"id\":174,\"value\":981}■\n■25: {\"id\":175,\"value\":998}■\n■26: {\"id\":176,\"value\":15}■\n■27: {\"id\":177,\"value\":32}■\n■28: {\"id\":178,\"value\":49}■\n■29: {\"id\":179,\"value\":66}■\n■30: {\"id\":180,\"value\":83}■\n■31: {\"id\":181,\"value\":100}■\n■32: {\"id\":182,\"value\":117}■\n■33: {\"id\":183,\"value\":134}■\n■34: {\"id\":184,\"value\":151}■\n■35: {\"id\":185,\"value\":168}■\n■36: {\"id\":186,\"value\":185}■\n■37: {\"id\":187,\"value\":202}■\n■38: {\"id\":188,\"value\":219}■\n■39: {\"id\":189,\"value\":236}■\n■40: {\"id\":190,\"value\":253}■\n■41: {\"id\":191,\"value\":270}■\n■42: {\"id\":192,\"value\":287}■\n■43: {\"id\":193,\"value\":304}■\n■44: {\"id\":194,\"value\":321}■\n■45: {\"id\":195,\"value\":338}■\n■46: {\"id\":196,\"value\":355}■\n■47: {\"id\":197,\"value\":372}■\n■48: {\"id\":198,\"value\":389}■\n■49: {\"id\":199,\"value\":406}■\n\nRank each item using the labeled scales.\nOutput format: ■index:criterion1=label;criterion2=label■\n■END■","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.sort","promptSource":"zai:zai.sort:default"},"model":"fast","signal":{},"stopSequences":["■END■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
■0:value=moderate■
■1:value=moderate■
■2:value=moderate■
■3:value=moderate■
■4:value=moderate■
■5:value=moderate■
■6:value=large■
■7:value=large■
■8:value=large■
■9:value=large■
■10:value=large■
■11:value=large■
■12:value=large■
■13:value=large■
■14:value=large■
■15:value=large■
■16:value=very_large■
■17:value=very_large■
■18:value=very_large■
■19:value=very_large■
■20:value=very_large■
■21:value=very_large■
■22:value=very_large■
■23:value=very_large■
■24:value=very_large■
■25:value=very_large■
■26:value=very_small■
■27:value=very_small■
■28:value=very_small■
■29:value=very_small■
■30:value=very_small■
■31:value=very_small■
■32:value=very_small■
■33:value=very_small■
■34:value=very_small■
■35:value=very_small■
■36:value=small■
■37:value=small■
■38:value=small■
■39:value=small■
■40:value=small■
■41:value=small■
■42:value=small■
■43:value=small■
■44:value=small■
■45:value=small■
■46:value=moderate■
■47:value=moderate■
■48:value=moderate■
■49:value=moderate■


Input: {"body":{"messages":[{"content":"You are ranking items for sorting using ordered label arrays.\n\n**value**: very_small;small;moderate;large;very_large\n\nInstructions: \"from smallest value to largest value\"\n\nSCORING RULES:\n- For each item and each criterion, assign ONE label from the ordered list\n- Labels are ordered: first label = appears FIRST in sorted result, last label = appears LAST\n- Choose the label that best describes each item\n\nOutput format:\n■0:criterion1=label;criterion2=label■\n■1:criterion1=label;criterion2=label■\n■END■\n\nIMPORTANT:\n- Rank every item (■0 to ■49)\n- Use exact criterion names: value\n- Use exact labels from the lists above (lowercase, underscores)\n- Use semicolons (;) between criteria\n- Use equals (=) between criterion and label","role":"system"},{"content":"Items to rank (■0 to ■49):\n■0: {\"id\":50,\"value\":873}■\n■1: {\"id\":51,\"value\":890}■\n■2: {\"id\":52,\"value\":907}■\n■3: {\"id\":53,\"value\":924}■\n■4: {\"id\":54,\"value\":941}■\n■5: {\"id\":55,\"value\":958}■\n■6: {\"id\":56,\"value\":975}■\n■7: {\"id\":57,\"value\":992}■\n■8: {\"id\":58,\"value\":9}■\n■9: {\"id\":59,\"value\":26}■\n■10: {\"id\":60,\"value\":43}■\n■11: {\"id\":61,\"value\":60}■\n■12: {\"id\":62,\"value\":77}■\n■13: {\"id\":63,\"value\":94}■\n■14: {\"id\":64,\"value\":111}■\n■15: {\"id\":65,\"value\":128}■\n■16: {\"id\":66,\"value\":145}■\n■17: {\"id\":67,\"value\":162}■\n■18: {\"id\":68,\"value\":179}■\n■19: {\"id\":69,\"value\":196}■\n■20: {\"id\":70,\"value\":213}■\n■21: {\"id\":71,\"value\":230}■\n■22: {\"id\":72,\"value\":247}■\n■23: {\"id\":73,\"value\":264}■\n■24: {\"id\":74,\"value\":281}■\n■25: {\"id\":75,\"value\":298}■\n■26: {\"id\":76,\"value\":315}■\n■27: {\"id\":77,\"value\":332}■\n■28: {\"id\":78,\"value\":349}■\n■29: {\"id\":79,\"value\":366}■\n■30: {\"id\":80,\"value\":383}■\n■31: {\"id\":81,\"value\":400}■\n■32: {\"id\":82,\"value\":417}■\n■33: {\"id\":83,\"value\":434}■\n■34: {\"id\":84,\"value\":451}■\n■35: {\"id\":85,\"value\":468}■\n■36: {\"id\":86,\"value\":485}■\n■37: {\"id\":87,\"value\":502}■\n■38: {\"id\":88,\"value\":519}■\n■39: {\"id\":89,\"value\":536}■\n■40: {\"id\":90,\"value\":553}■\n■41: {\"id\":91,\"value\":570}■\n■42: {\"id\":92,\"value\":587}■\n■43: {\"id\":93,\"value\":604}■\n■44: {\"id\":94,\"value\":621}■\n■45: {\"id\":95,\"value\":638}■\n■46: {\"id\":96,\"value\":655}■\n■47: {\"id\":97,\"value\":672}■\n■48: {\"id\":98,\"value\":689}■\n■49: {\"id\":99,\"value\":706}■\n\nRank each item using the labeled scales.\nOutput format: ■index:criterion1=label;criterion2=label■\n■END■","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.sort","promptSource":"zai:zai.sort:default"},"model":"fast","signal":{},"stopSequences":["■END■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
■0:value=very_large■
■1:value=very_large■
■2:value=very_large■
■3:value=very_large■
■4:value=very_large■
■5:value=very_large■
■6:value=very_large■
■7:value=very_large■
■8:value=very_small■
■9:value=very_small■
■10:value=very_small■
■11:value=very_small■
■12:value=very_small■
■13:value=very_small■
■14:value=very_small■
■15:value=very_small■
■16:value=very_small■
■17:value=very_small■
■18:value=small■
■19:value=small■
■20:value=small■
■21:value=small■
■22:value=small■
■23:value=small■
■24:value=small■
■25:value=small■
■26:value=small■
■27:value=small■
■28:value=moderate■
■29:value=moderate■
■30:value=moderate■
■31:value=moderate■
■32:value=moderate■
■33:value=moderate■
■34:value=moderate■
■35:value=moderate■
■36:value=moderate■
■37:value=moderate■
■38:value=large■
■39:value=large■
■40:value=large■
■41:value=large■
■42:value=large■
■43:value=large■
■44:value=large■
■45:value=large■
■46:value=large■
■47:value=large■
■48:value=very_large■
■49:value=very_large■


Input: {"body":{"messages":[{"content":"You are ranking items for sorting using ordered label arrays.\n\n**value**: very_small;small;moderate;large;very_large\n\nInstructions: \"from smallest value to largest value\"\n\nSCORING RULES:\n- For each item and each criterion, assign ONE label from the ordered list\n- Labels are ordered: first label = appears FIRST in sorted result, last label = appears LAST\n- Choose the label that best describes each item\n\nOutput format:\n■0:criterion1=label;criterion2=label■\n■1:criterion1=label;criterion2=label■\n■END■\n\nIMPORTANT:\n- Rank every item (■0 to ■49)\n- Use exact criterion names: value\n- Use exact labels from the lists above (lowercase, underscores)\n- Use semicolons (;) between criteria\n- Use equals (=) between criterion and label","role":"system"},{"content":"Items to rank (■0 to ■49):\n■0: {\"id\":400,\"value\":823}■\n■1: {\"id\":401,\"value\":840}■\n■2: {\"id\":402,\"value\":857}■\n■3: {\"id\":403,\"value\":874}■\n■4: {\"id\":404,\"value\":891}■\n■5: {\"id\":405,\"value\":908}■\n■6: {\"id\":406,\"value\":925}■\n■7: {\"id\":407,\"value\":942}■\n■8: {\"id\":408,\"value\":959}■\n■9: {\"id\":409,\"value\":976}■\n■10: {\"id\":410,\"value\":993}■\n■11: {\"id\":411,\"value\":10}■\n■12: {\"id\":412,\"value\":27}■\n■13: {\"id\":413,\"value\":44}■\n■14: {\"id\":414,\"value\":61}■\n■15: {\"id\":415,\"value\":78}■\n■16: {\"id\":416,\"value\":95}■\n■17: {\"id\":417,\"value\":112}■\n■18: {\"id\":418,\"value\":129}■\n■19: {\"id\":419,\"value\":146}■\n■20: {\"id\":420,\"value\":163}■\n■21: {\"id\":421,\"value\":180}■\n■22: {\"id\":422,\"value\":197}■\n■23: {\"id\":423,\"value\":214}■\n■24: {\"id\":424,\"value\":231}■\n■25: {\"id\":425,\"value\":248}■\n■26: {\"id\":426,\"value\":265}■\n■27: {\"id\":427,\"value\":282}■\n■28: {\"id\":428,\"value\":299}■\n■29: {\"id\":429,\"value\":316}■\n■30: {\"id\":430,\"value\":333}■\n■31: {\"id\":431,\"value\":350}■\n■32: {\"id\":432,\"value\":367}■\n■33: {\"id\":433,\"value\":384}■\n■34: {\"id\":434,\"value\":401}■\n■35: {\"id\":435,\"value\":418}■\n■36: {\"id\":436,\"value\":435}■\n■37: {\"id\":437,\"value\":452}■\n■38: {\"id\":438,\"value\":469}■\n■39: {\"id\":439,\"value\":486}■\n■40: {\"id\":440,\"value\":503}■\n■41: {\"id\":441,\"value\":520}■\n■42: {\"id\":442,\"value\":537}■\n■43: {\"id\":443,\"value\":554}■\n■44: {\"id\":444,\"value\":571}■\n■45: {\"id\":445,\"value\":588}■\n■46: {\"id\":446,\"value\":605}■\n■47: {\"id\":447,\"value\":622}■\n■48: {\"id\":448,\"value\":639}■\n■49: {\"id\":449,\"value\":656}■\n\nRank each item using the labeled scales.\nOutput format: ■index:criterion1=label;criterion2=label■\n■END■","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.sort","promptSource":"zai:zai.sort:default"},"model":"fast","signal":{},"stopSequences":["■END■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
■0:value=large■
■1:value=very_large■
■2:value=very_large■
■3:value=very_large■
■4:value=very_large■
■5:value=very_large■
■6:value=very_large■
■7:value=very_large■
■8:value=very_large■
■9:value=very_large■
■10:value=very_large■
■11:value=very_small■
■12:value=very_small■
■13:value=very_small■
■14:value=very_small■
■15:value=very_small■
■16:value=very_small■
■17:value=very_small■
■18:value=very_small■
■19:value=very_small■
■20:value=very_small■
■21:value=small■
■22:value=small■
■23:value=small■
■24:value=small■
■25:value=small■
■26:value=small■
■27:value=small■
■28:value=small■
■29:value=small■
■30:value=small■
■31:value=moderate■
■32:value=moderate■
■33:value=moderate■
■34:value=moderate■
■35:value=moderate■
■36:value=moderate■
■37:value=moderate■
■38:value=moderate■
■39:value=moderate■
■40:value=moderate■
■41:value=large■
■42:value=large■
■43:value=large■
■44:value=large■
■45:value=large■
■46:value=large■
■47:value=large■
■48:value=large■
■49:value=large■


Input: {"body":{"messages":[{"content":"You are ranking items for sorting using ordered label arrays.\n\n**value**: very_small;small;moderate;large;very_large\n\nInstructions: \"from smallest value to largest value\"\n\nSCORING RULES:\n- For each item and each criterion, assign ONE label from the ordered list\n- Labels are ordered: first label = appears FIRST in sorted result, last label = appears LAST\n- Choose the label that best describes each item\n\nOutput format:\n■0:criterion1=label;criterion2=label■\n■1:criterion1=label;criterion2=label■\n■END■\n\nIMPORTANT:\n- Rank every item (■0 to ■49)\n- Use exact criterion names: value\n- Use exact labels from the lists above (lowercase, underscores)\n- Use semicolons (;) between criteria\n- Use equals (=) between criterion and label","role":"system"},{"content":"Items to rank (■0 to ■49):\n■0: {\"id\":300,\"value\":123}■\n■1: {\"id\":301,\"value\":140}■\n■2: {\"id\":302,\"value\":157}■\n■3: {\"id\":303,\"value\":174}■\n■4: {\"id\":304,\"value\":191}■\n■5: {\"id\":305,\"value\":208}■\n■6: {\"id\":306,\"value\":225}■\n■7: {\"id\":307,\"value\":242}■\n■8: {\"id\":308,\"value\":259}■\n■9: {\"id\":309,\"value\":276}■\n■10: {\"id\":310,\"value\":293}■\n■11: {\"id\":311,\"value\":310}■\n■12: {\"id\":312,\"value\":327}■\n■13: {\"id\":313,\"value\":344}■\n■14: {\"id\":314,\"value\":361}■\n■15: {\"id\":315,\"value\":378}■\n■16: {\"id\":316,\"value\":395}■\n■17: {\"id\":317,\"value\":412}■\n■18: {\"id\":318,\"value\":429}■\n■19: {\"id\":319,\"value\":446}■\n■20: {\"id\":320,\"value\":463}■\n■21: {\"id\":321,\"value\":480}■\n■22: {\"id\":322,\"value\":497}■\n■23: {\"id\":323,\"value\":514}■\n■24: {\"id\":324,\"value\":531}■\n■25: {\"id\":325,\"value\":548}■\n■26: {\"id\":326,\"value\":565}■\n■27: {\"id\":327,\"value\":582}■\n■28: {\"id\":328,\"value\":599}■\n■29: {\"id\":329,\"value\":616}■\n■30: {\"id\":330,\"value\":633}■\n■31: {\"id\":331,\"value\":650}■\n■32: {\"id\":332,\"value\":667}■\n■33: {\"id\":333,\"value\":684}■\n■34: {\"id\":334,\"value\":701}■\n■35: {\"id\":335,\"value\":718}■\n■36: {\"id\":336,\"value\":735}■\n■37: {\"id\":337,\"value\":752}■\n■38: {\"id\":338,\"value\":769}■\n■39: {\"id\":339,\"value\":786}■\n■40: {\"id\":340,\"value\":803}■\n■41: {\"id\":341,\"value\":820}■\n■42: {\"id\":342,\"value\":837}■\n■43: {\"id\":343,\"value\":854}■\n■44: {\"id\":344,\"value\":871}■\n■45: {\"id\":345,\"value\":888}■\n■46: {\"id\":346,\"value\":905}■\n■47: {\"id\":347,\"value\":922}■\n■48: {\"id\":348,\"value\":939}■\n■49: {\"id\":349,\"value\":956}■\n\nRank each item using the labeled scales.\nOutput format: ■index:criterion1=label;criterion2=label■\n■END■","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.sort","promptSource":"zai:zai.sort:default"},"model":"fast","signal":{},"stopSequences":["■END■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
■0:value=very_small■
■1:value=very_small■
■2:value=very_small■
■3:value=very_small■
■4:value=very_small■
■5:value=very_small■
■6:value=very_small■
■7:value=very_small■
■8:value=very_small■
■9:value=very_small■
■10:value=small■
■11:value=small■
■12:value=small■
■13:value=small■
■14:value=small■
■15:value=small■
■16:value=small■
■17:value=small■
■18:value=small■
■19:value=small■
■20:value=moderate■
■21:value=moderate■
■22:value=moderate■
■23:value=moderate■
■24:value=moderate■
■25:value=moderate■
■26:value=moderate■
■27:value=moderate■
■28:value=moderate■
■29:value=moderate■
■30:value=large■
■31:value=large■
■32:value=large■
■33:value=large■
■34:value=large■
■35:value=large■
■36:value=large■
■37:value=large■
■38:value=large■
■39:value=large■
■40:value=very_large■
■41:value=very_large■
■42:value=very_large■
■43:value=very_large■
■44:value=very_large■
■45:value=very_large■
■46:value=very_large■
■47:value=very_large■
■48:value=very_large■
■49:value=very_large■


Input: {"body":{"messages":[{"content":"You are ranking items for sorting using ordered label arrays.\n\n**value**: very_small;small;moderate;large;very_large\n\nInstructions: \"from smallest value to largest value\"\n\nSCORING RULES:\n- For each item and each criterion, assign ONE label from the ordered list\n- Labels are ordered: first label = appears FIRST in sorted result, last label = appears LAST\n- Choose the label that best describes each item\n\nOutput format:\n■0:criterion1=label;criterion2=label■\n■1:criterion1=label;criterion2=label■\n■END■\n\nIMPORTANT:\n- Rank every item (■0 to ■49)\n- Use exact criterion names: value\n- Use exact labels from the lists above (lowercase, underscores)\n- Use semicolons (;) between criteria\n- Use equals (=) between criterion and label","role":"system"},{"content":"Items to rank (■0 to ■49):\n■0: {\"id\":350,\"value\":973}■\n■1: {\"id\":351,\"value\":990}■\n■2: {\"id\":352,\"value\":7}■\n■3: {\"id\":353,\"value\":24}■\n■4: {\"id\":354,\"value\":41}■\n■5: {\"id\":355,\"value\":58}■\n■6: {\"id\":356,\"value\":75}■\n■7: {\"id\":357,\"value\":92}■\n■8: {\"id\":358,\"value\":109}■\n■9: {\"id\":359,\"value\":126}■\n■10: {\"id\":360,\"value\":143}■\n■11: {\"id\":361,\"value\":160}■\n■12: {\"id\":362,\"value\":177}■\n■13: {\"id\":363,\"value\":194}■\n■14: {\"id\":364,\"value\":211}■\n■15: {\"id\":365,\"value\":228}■\n■16: {\"id\":366,\"value\":245}■\n■17: {\"id\":367,\"value\":262}■\n■18: {\"id\":368,\"value\":279}■\n■19: {\"id\":369,\"value\":296}■\n■20: {\"id\":370,\"value\":313}■\n■21: {\"id\":371,\"value\":330}■\n■22: {\"id\":372,\"value\":347}■\n■23: {\"id\":373,\"value\":364}■\n■24: {\"id\":374,\"value\":381}■\n■25: {\"id\":375,\"value\":398}■\n■26: {\"id\":376,\"value\":415}■\n■27: {\"id\":377,\"value\":432}■\n■28: {\"id\":378,\"value\":449}■\n■29: {\"id\":379,\"value\":466}■\n■30: {\"id\":380,\"value\":483}■\n■31: {\"id\":381,\"value\":500}■\n■32: {\"id\":382,\"value\":517}■\n■33: {\"id\":383,\"value\":534}■\n■34: {\"id\":384,\"value\":551}■\n■35: {\"id\":385,\"value\":568}■\n■36: {\"id\":386,\"value\":585}■\n■37: {\"id\":387,\"value\":602}■\n■38: {\"id\":388,\"value\":619}■\n■39: {\"id\":389,\"value\":636}■\n■40: {\"id\":390,\"value\":653}■\n■41: {\"id\":391,\"value\":670}■\n■42: {\"id\":392,\"value\":687}■\n■43: {\"id\":393,\"value\":704}■\n■44: {\"id\":394,\"value\":721}■\n■45: {\"id\":395,\"value\":738}■\n■46: {\"id\":396,\"value\":755}■\n■47: {\"id\":397,\"value\":772}■\n■48: {\"id\":398,\"value\":789}■\n■49: {\"id\":399,\"value\":806}■\n\nRank each item using the labeled scales.\nOutput format: ■index:criterion1=label;criterion2=label■\n■END■","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.sort","promptSource":"zai:zai.sort:default"},"model":"fast","signal":{},"stopSequences":["■END■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
■0:value=very_small■
■1:value=very_small■
■2:value=very_small■
■3:value=very_small■
■4:value=very_small■
■5:value=very_small■
■6:value=very_small■
■7:value=very_small■
■8:value=very_small■
■9:value=very_small■
■10:value=small■
■11:value=small■
■12:value=small■
■13:value=small■
■14:value=small■
■15:value=small■
■16:value=small■
■17:value=small■
■18:value=small■
■19:value=small■
■20:value=moderate■
■21:value=moderate■
■22:value=moderate■
■23:value=moderate■
■24:value=moderate■
■25:value=moderate■
■26:value=moderate■
■27:value=moderate■
■28:value=moderate■
■29:value=moderate■
■30:value=large■
■31:value=large■
■32:value=large■
■33:value=large■
■34:value=large■
■35:value=large■
■36:value=large■
■37:value=large■
■38:value=large■
■39:value=large■
■40:value=very_large■
■41:value=very_large■
■42:value=very_large■
■43:value=very_large■
■44:value=very_large■
■45:value=very_large■
■46:value=very_large■
■47:value=very_large■
■48:value=very_large■
■49:value=very_large■


Input: {"body":{"messages":[{"content":"You are ranking items for sorting using ordered label arrays.\n\n**value**: very_small;small;moderate;large;very_large\n\nInstructions: \"from smallest value to largest value\"\n\nSCORING RULES:\n- For each item and each criterion, assign ONE label from the ordered list\n- Labels are ordered: first label = appears FIRST in sorted result, last label = appears LAST\n- Choose the label that best describes each item\n\nOutput format:\n■0:criterion1=label;criterion2=label■\n■1:criterion1=label;criterion2=label■\n■END■\n\nIMPORTANT:\n- Rank every item (■0 to ■49)\n- Use exact criterion names: value\n- Use exact labels from the lists above (lowercase, underscores)\n- Use semicolons (;) between criteria\n- Use equals (=) between criterion and label","role":"system"},{"content":"Items to rank (■0 to ■49):\n■0: {\"id\":200,\"value\":423}■\n■1: {\"id\":201,\"value\":440}■\n■2: {\"id\":202,\"value\":457}■\n■3: {\"id\":203,\"value\":474}■\n■4: {\"id\":204,\"value\":491}■\n■5: {\"id\":205,\"value\":508}■\n■6: {\"id\":206,\"value\":525}■\n■7: {\"id\":207,\"value\":542}■\n■8: {\"id\":208,\"value\":559}■\n■9: {\"id\":209,\"value\":576}■\n■10: {\"id\":210,\"value\":593}■\n■11: {\"id\":211,\"value\":610}■\n■12: {\"id\":212,\"value\":627}■\n■13: {\"id\":213,\"value\":644}■\n■14: {\"id\":214,\"value\":661}■\n■15: {\"id\":215,\"value\":678}■\n■16: {\"id\":216,\"value\":695}■\n■17: {\"id\":217,\"value\":712}■\n■18: {\"id\":218,\"value\":729}■\n■19: {\"id\":219,\"value\":746}■\n■20: {\"id\":220,\"value\":763}■\n■21: {\"id\":221,\"value\":780}■\n■22: {\"id\":222,\"value\":797}■\n■23: {\"id\":223,\"value\":814}■\n■24: {\"id\":224,\"value\":831}■\n■25: {\"id\":225,\"value\":848}■\n■26: {\"id\":226,\"value\":865}■\n■27: {\"id\":227,\"value\":882}■\n■28: {\"id\":228,\"value\":899}■\n■29: {\"id\":229,\"value\":916}■\n■30: {\"id\":230,\"value\":933}■\n■31: {\"id\":231,\"value\":950}■\n■32: {\"id\":232,\"value\":967}■\n■33: {\"id\":233,\"value\":984}■\n■34: {\"id\":234,\"value\":1}■\n■35: {\"id\":235,\"value\":18}■\n■36: {\"id\":236,\"value\":35}■\n■37: {\"id\":237,\"value\":52}■\n■38: {\"id\":238,\"value\":69}■\n■39: {\"id\":239,\"value\":86}■\n■40: {\"id\":240,\"value\":103}■\n■41: {\"id\":241,\"value\":120}■\n■42: {\"id\":242,\"value\":137}■\n■43: {\"id\":243,\"value\":154}■\n■44: {\"id\":244,\"value\":171}■\n■45: {\"id\":245,\"value\":188}■\n■46: {\"id\":246,\"value\":205}■\n■47: {\"id\":247,\"value\":222}■\n■48: {\"id\":248,\"value\":239}■\n■49: {\"id\":249,\"value\":256}■\n\nRank each item using the labeled scales.\nOutput format: ■index:criterion1=label;criterion2=label■\n■END■","role":"user","type":"text"}],"meta":{"integrationName":"zai","promptCategory":"zai:zai.sort","promptSource":"zai:zai.sort:default"},"model":"fast","signal":{},"stopSequences":["■END■"]},"method":"POST","url":"https://api.botpress.cloud/v2/cognitive/generate-text"}

Output:
■0:value=moderate■
■1:value=moderate■
■2:value=moderate■
■3:value=moderate■
■4:value=moderate■
■5:value=moderate■
■6:value=moderate■
■7:value=moderate■
■8:value=moderate■
■9:value=large■
■10:value=large■
■11:value=large■
■12:value=large■
■13:value=large■
■14:value=large■
■15:value=large■
■16:value=large■
■17:value=large■
■18:value=large■
■19:value=large■
■20:value=very_large■
■21:value=very_large■
■22:value=very_large■
■23:value=very_large■
■24:value=very_large■
■25:value=very_large■
■26:value=very_large■
■27:value=very_large■
■28:value=very_large■
■29:value=very_large■
■30:value=very_large■
■31:value=very_large■
■32:value=very_large■
■33:value=very_large■
■34:value=very_small■
■35:value=very_small■
■36:value=very_small■
■37:value=very_small■
■38:value=very_small■
■39:value=very_small■
■40:value=very_small■
■41:value=very_small■
■42:value=very_small■
■43:value=very_small■
■44:value=very_small■
■45:value=very_small■
■46:value=small■
■47:value=small■
■48:value=small■
■49:value=small■