|
76 | 76 | "default": null,
|
77 | 77 | "description": "Whether to add the errors while retrying to the trace. Set this to true to use retry feature for multiple LLM trials.\n "
|
78 | 78 | },
|
| 79 | + "requirements": { |
| 80 | + "$ref": "#/$defs/RequirementsType", |
| 81 | + "default": [], |
| 82 | + "description": "Specify any requirements that the result of the block must satisfy.\n " |
| 83 | + }, |
79 | 84 | "role": {
|
80 | 85 | "$ref": "#/$defs/OptionalStr",
|
81 | 86 | "default": null,
|
|
194 | 199 | "default": null,
|
195 | 200 | "description": "Whether to add the errors while retrying to the trace. Set this to true to use retry feature for multiple LLM trials.\n "
|
196 | 201 | },
|
| 202 | + "requirements": { |
| 203 | + "$ref": "#/$defs/RequirementsType", |
| 204 | + "default": [], |
| 205 | + "description": "Specify any requirements that the result of the block must satisfy.\n " |
| 206 | + }, |
197 | 207 | "role": {
|
198 | 208 | "$ref": "#/$defs/OptionalStr",
|
199 | 209 | "default": null,
|
|
417 | 427 | "default": null,
|
418 | 428 | "description": "Whether to add the errors while retrying to the trace. Set this to true to use retry feature for multiple LLM trials.\n "
|
419 | 429 | },
|
| 430 | + "requirements": { |
| 431 | + "$ref": "#/$defs/RequirementsType", |
| 432 | + "default": [], |
| 433 | + "description": "Specify any requirements that the result of the block must satisfy.\n " |
| 434 | + }, |
420 | 435 | "role": {
|
421 | 436 | "$ref": "#/$defs/OptionalStr",
|
422 | 437 | "default": null,
|
|
554 | 569 | "default": null,
|
555 | 570 | "description": "Whether to add the errors while retrying to the trace. Set this to true to use retry feature for multiple LLM trials.\n "
|
556 | 571 | },
|
| 572 | + "requirements": { |
| 573 | + "$ref": "#/$defs/RequirementsType", |
| 574 | + "default": [], |
| 575 | + "description": "Specify any requirements that the result of the block must satisfy.\n " |
| 576 | + }, |
557 | 577 | "role": {
|
558 | 578 | "$ref": "#/$defs/OptionalStr",
|
559 | 579 | "default": null,
|
|
726 | 746 | "default": null,
|
727 | 747 | "description": "Whether to add the errors while retrying to the trace. Set this to true to use retry feature for multiple LLM trials.\n "
|
728 | 748 | },
|
| 749 | + "requirements": { |
| 750 | + "$ref": "#/$defs/RequirementsType", |
| 751 | + "default": [], |
| 752 | + "description": "Specify any requirements that the result of the block must satisfy.\n " |
| 753 | + }, |
729 | 754 | "role": {
|
730 | 755 | "$ref": "#/$defs/OptionalStr",
|
731 | 756 | "default": null,
|
|
849 | 874 | "default": null,
|
850 | 875 | "description": "Whether to add the errors while retrying to the trace. Set this to true to use retry feature for multiple LLM trials.\n "
|
851 | 876 | },
|
| 877 | + "requirements": { |
| 878 | + "$ref": "#/$defs/RequirementsType", |
| 879 | + "default": [], |
| 880 | + "description": "Specify any requirements that the result of the block must satisfy.\n " |
| 881 | + }, |
852 | 882 | "role": {
|
853 | 883 | "$ref": "#/$defs/OptionalStr",
|
854 | 884 | "default": null,
|
|
966 | 996 | "default": null,
|
967 | 997 | "description": "Whether to add the errors while retrying to the trace. Set this to true to use retry feature for multiple LLM trials.\n "
|
968 | 998 | },
|
| 999 | + "requirements": { |
| 1000 | + "$ref": "#/$defs/RequirementsType", |
| 1001 | + "default": [], |
| 1002 | + "description": "Specify any requirements that the result of the block must satisfy.\n " |
| 1003 | + }, |
969 | 1004 | "role": {
|
970 | 1005 | "$ref": "#/$defs/OptionalStr",
|
971 | 1006 | "default": null,
|
|
1116 | 1151 | "default": null,
|
1117 | 1152 | "description": "Whether to add the errors while retrying to the trace. Set this to true to use retry feature for multiple LLM trials.\n "
|
1118 | 1153 | },
|
| 1154 | + "requirements": { |
| 1155 | + "$ref": "#/$defs/RequirementsType", |
| 1156 | + "default": [], |
| 1157 | + "description": "Specify any requirements that the result of the block must satisfy.\n " |
| 1158 | + }, |
1119 | 1159 | "role": {
|
1120 | 1160 | "$ref": "#/$defs/OptionalStr",
|
1121 | 1161 | "default": null,
|
|
1255 | 1295 | "default": null,
|
1256 | 1296 | "description": "Whether to add the errors while retrying to the trace. Set this to true to use retry feature for multiple LLM trials.\n "
|
1257 | 1297 | },
|
| 1298 | + "requirements": { |
| 1299 | + "$ref": "#/$defs/RequirementsType", |
| 1300 | + "default": [], |
| 1301 | + "description": "Specify any requirements that the result of the block must satisfy.\n " |
| 1302 | + }, |
1258 | 1303 | "role": {
|
1259 | 1304 | "$ref": "#/$defs/OptionalStr",
|
1260 | 1305 | "default": null,
|
|
1364 | 1409 | "default": null,
|
1365 | 1410 | "description": "Whether to add the errors while retrying to the trace. Set this to true to use retry feature for multiple LLM trials.\n "
|
1366 | 1411 | },
|
| 1412 | + "requirements": { |
| 1413 | + "$ref": "#/$defs/RequirementsType", |
| 1414 | + "default": [], |
| 1415 | + "description": "Specify any requirements that the result of the block must satisfy.\n " |
| 1416 | + }, |
1367 | 1417 | "role": {
|
1368 | 1418 | "$ref": "#/$defs/OptionalStr",
|
1369 | 1419 | "default": null,
|
|
1563 | 1613 | "default": null,
|
1564 | 1614 | "description": "Whether to add the errors while retrying to the trace. Set this to true to use retry feature for multiple LLM trials.\n "
|
1565 | 1615 | },
|
| 1616 | + "requirements": { |
| 1617 | + "$ref": "#/$defs/RequirementsType", |
| 1618 | + "default": [], |
| 1619 | + "description": "Specify any requirements that the result of the block must satisfy.\n " |
| 1620 | + }, |
1566 | 1621 | "role": {
|
1567 | 1622 | "$ref": "#/$defs/OptionalStr",
|
1568 | 1623 | "default": null,
|
|
1685 | 1740 | "default": null,
|
1686 | 1741 | "description": "Whether to add the errors while retrying to the trace. Set this to true to use retry feature for multiple LLM trials.\n "
|
1687 | 1742 | },
|
| 1743 | + "requirements": { |
| 1744 | + "$ref": "#/$defs/RequirementsType", |
| 1745 | + "default": [], |
| 1746 | + "description": "Specify any requirements that the result of the block must satisfy.\n " |
| 1747 | + }, |
1688 | 1748 | "role": {
|
1689 | 1749 | "$ref": "#/$defs/OptionalStr",
|
1690 | 1750 | "default": null,
|
|
1798 | 1858 | "default": null,
|
1799 | 1859 | "description": "Whether to add the errors while retrying to the trace. Set this to true to use retry feature for multiple LLM trials.\n "
|
1800 | 1860 | },
|
| 1861 | + "requirements": { |
| 1862 | + "$ref": "#/$defs/RequirementsType", |
| 1863 | + "default": [], |
| 1864 | + "description": "Specify any requirements that the result of the block must satisfy.\n " |
| 1865 | + }, |
1801 | 1866 | "role": {
|
1802 | 1867 | "$ref": "#/$defs/OptionalStr",
|
1803 | 1868 | "default": null,
|
|
2068 | 2133 | "default": null,
|
2069 | 2134 | "description": "Whether to add the errors while retrying to the trace. Set this to true to use retry feature for multiple LLM trials.\n "
|
2070 | 2135 | },
|
| 2136 | + "requirements": { |
| 2137 | + "$ref": "#/$defs/RequirementsType", |
| 2138 | + "default": [], |
| 2139 | + "description": "Specify any requirements that the result of the block must satisfy.\n " |
| 2140 | + }, |
2071 | 2141 | "role": {
|
2072 | 2142 | "$ref": "#/$defs/OptionalStr",
|
2073 | 2143 | "default": null,
|
|
2184 | 2254 | "default": null,
|
2185 | 2255 | "description": "Whether to add the errors while retrying to the trace. Set this to true to use retry feature for multiple LLM trials.\n "
|
2186 | 2256 | },
|
| 2257 | + "requirements": { |
| 2258 | + "$ref": "#/$defs/RequirementsType", |
| 2259 | + "default": [], |
| 2260 | + "description": "Specify any requirements that the result of the block must satisfy.\n " |
| 2261 | + }, |
2187 | 2262 | "role": {
|
2188 | 2263 | "$ref": "#/$defs/OptionalStr",
|
2189 | 2264 | "default": null,
|
|
2770 | 2845 | "default": null,
|
2771 | 2846 | "description": "Whether to add the errors while retrying to the trace. Set this to true to use retry feature for multiple LLM trials.\n "
|
2772 | 2847 | },
|
| 2848 | + "requirements": { |
| 2849 | + "$ref": "#/$defs/RequirementsType", |
| 2850 | + "default": [], |
| 2851 | + "description": "Specify any requirements that the result of the block must satisfy.\n " |
| 2852 | + }, |
2773 | 2853 | "role": {
|
2774 | 2854 | "$ref": "#/$defs/OptionalStr",
|
2775 | 2855 | "default": null,
|
|
2942 | 3022 | "default": null,
|
2943 | 3023 | "description": "Whether to add the errors while retrying to the trace. Set this to true to use retry feature for multiple LLM trials.\n "
|
2944 | 3024 | },
|
| 3025 | + "requirements": { |
| 3026 | + "$ref": "#/$defs/RequirementsType", |
| 3027 | + "default": [], |
| 3028 | + "description": "Specify any requirements that the result of the block must satisfy.\n " |
| 3029 | + }, |
2945 | 3030 | "role": {
|
2946 | 3031 | "$ref": "#/$defs/OptionalStr",
|
2947 | 3032 | "default": null,
|
|
3137 | 3222 | "default": null,
|
3138 | 3223 | "description": "Whether to add the errors while retrying to the trace. Set this to true to use retry feature for multiple LLM trials.\n "
|
3139 | 3224 | },
|
| 3225 | + "requirements": { |
| 3226 | + "$ref": "#/$defs/RequirementsType", |
| 3227 | + "default": [], |
| 3228 | + "description": "Specify any requirements that the result of the block must satisfy.\n " |
| 3229 | + }, |
3140 | 3230 | "role": {
|
3141 | 3231 | "$ref": "#/$defs/OptionalStr",
|
3142 | 3232 | "default": null,
|
|
3262 | 3352 | "default": null,
|
3263 | 3353 | "description": "Whether to add the errors while retrying to the trace. Set this to true to use retry feature for multiple LLM trials.\n "
|
3264 | 3354 | },
|
| 3355 | + "requirements": { |
| 3356 | + "$ref": "#/$defs/RequirementsType", |
| 3357 | + "default": [], |
| 3358 | + "description": "Specify any requirements that the result of the block must satisfy.\n " |
| 3359 | + }, |
3265 | 3360 | "role": {
|
3266 | 3361 | "$ref": "#/$defs/OptionalStr",
|
3267 | 3362 | "default": null,
|
|
3793 | 3888 | "default": null,
|
3794 | 3889 | "description": "Whether to add the errors while retrying to the trace. Set this to true to use retry feature for multiple LLM trials.\n "
|
3795 | 3890 | },
|
| 3891 | + "requirements": { |
| 3892 | + "$ref": "#/$defs/RequirementsType", |
| 3893 | + "default": [], |
| 3894 | + "description": "Specify any requirements that the result of the block must satisfy.\n " |
| 3895 | + }, |
3796 | 3896 | "role": {
|
3797 | 3897 | "$ref": "#/$defs/OptionalStr",
|
3798 | 3898 | "default": null,
|
|
3947 | 4047 | "default": null,
|
3948 | 4048 | "description": "Whether to add the errors while retrying to the trace. Set this to true to use retry feature for multiple LLM trials.\n "
|
3949 | 4049 | },
|
| 4050 | + "requirements": { |
| 4051 | + "$ref": "#/$defs/RequirementsType", |
| 4052 | + "default": [], |
| 4053 | + "description": "Specify any requirements that the result of the block must satisfy.\n " |
| 4054 | + }, |
3950 | 4055 | "role": {
|
3951 | 4056 | "$ref": "#/$defs/OptionalStr",
|
3952 | 4057 | "default": null,
|
|
4073 | 4178 | "title": "RepeatBlock",
|
4074 | 4179 | "type": "object"
|
4075 | 4180 | },
|
| 4181 | + "RequirementType": { |
| 4182 | + "additionalProperties": false, |
| 4183 | + "description": "Single requirement definition.", |
| 4184 | + "properties": { |
| 4185 | + "description": { |
| 4186 | + "anyOf": [ |
| 4187 | + { |
| 4188 | + "$ref": "#/$defs/LocalizedExpression_TypeVar_" |
| 4189 | + }, |
| 4190 | + {}, |
| 4191 | + { |
| 4192 | + "type": "string" |
| 4193 | + } |
| 4194 | + ], |
| 4195 | + "title": "Description" |
| 4196 | + }, |
| 4197 | + "evaluate": { |
| 4198 | + "anyOf": [ |
| 4199 | + { |
| 4200 | + "$ref": "#/$defs/LocalizedExpression_TypeVar_" |
| 4201 | + }, |
| 4202 | + { |
| 4203 | + "$ref": "#/$defs/FunctionBlock" |
| 4204 | + }, |
| 4205 | + { |
| 4206 | + "type": "string" |
| 4207 | + }, |
| 4208 | + { |
| 4209 | + "type": "null" |
| 4210 | + } |
| 4211 | + ], |
| 4212 | + "title": "Evaluate" |
| 4213 | + }, |
| 4214 | + "transformContext": { |
| 4215 | + "anyOf": [ |
| 4216 | + { |
| 4217 | + "$ref": "#/$defs/LocalizedExpression_TypeVar_" |
| 4218 | + }, |
| 4219 | + { |
| 4220 | + "$ref": "#/$defs/FunctionBlock" |
| 4221 | + }, |
| 4222 | + { |
| 4223 | + "type": "string" |
| 4224 | + }, |
| 4225 | + { |
| 4226 | + "type": "null" |
| 4227 | + } |
| 4228 | + ], |
| 4229 | + "title": "Transformcontext" |
| 4230 | + } |
| 4231 | + }, |
| 4232 | + "required": [ |
| 4233 | + "description", |
| 4234 | + "evaluate", |
| 4235 | + "transformContext" |
| 4236 | + ], |
| 4237 | + "title": "RequirementType", |
| 4238 | + "type": "object" |
| 4239 | + }, |
| 4240 | + "RequirementsType": { |
| 4241 | + "items": { |
| 4242 | + "$ref": "#/$defs/RequirementType" |
| 4243 | + }, |
| 4244 | + "type": "array" |
| 4245 | + }, |
4076 | 4246 | "TextBlock": {
|
4077 | 4247 | "additionalProperties": false,
|
4078 | 4248 | "description": "Create the concatenation of the stringify version of the result of each block of the list of blocks.",
|
|
4129 | 4299 | "default": null,
|
4130 | 4300 | "description": "Whether to add the errors while retrying to the trace. Set this to true to use retry feature for multiple LLM trials.\n "
|
4131 | 4301 | },
|
| 4302 | + "requirements": { |
| 4303 | + "$ref": "#/$defs/RequirementsType", |
| 4304 | + "default": [], |
| 4305 | + "description": "Specify any requirements that the result of the block must satisfy.\n " |
| 4306 | + }, |
4132 | 4307 | "role": {
|
4133 | 4308 | "$ref": "#/$defs/OptionalStr",
|
4134 | 4309 | "default": null,
|
|
0 commit comments