@zuplo/lint-win32-x64 7.9.12 → 7.9.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1107,8 +1107,10 @@
|
|
|
1107
1107
|
"classifier": {
|
|
1108
1108
|
"type": "object",
|
|
1109
1109
|
"title": "Classifier",
|
|
1110
|
-
"description": "Where the prompt is classified.
|
|
1110
|
+
"description": "Where the prompt is classified. Set exactly one of `app`, `chatCompletions`, or `jev`. `app.adapter` selects the API that classifier app exposes. Setting more than one section is a configuration error.",
|
|
1111
1111
|
"additionalProperties": false,
|
|
1112
|
+
"minProperties": 1,
|
|
1113
|
+
"maxProperties": 1,
|
|
1112
1114
|
"properties": {
|
|
1113
1115
|
"app": {
|
|
1114
1116
|
"type": "object",
|
|
@@ -1126,7 +1128,7 @@
|
|
|
1126
1128
|
"model": {
|
|
1127
1129
|
"type": "string",
|
|
1128
1130
|
"title": "Classifier Model",
|
|
1129
|
-
"description": "The model (`providerName/model`) the classifier app uses to evaluate the user's request. E.g. `openai/gpt-4o-mini`.",
|
|
1131
|
+
"description": "The model (`providerName/model`) the classifier app uses to evaluate the user's request. `providerName` is the name of the provider as configured on the classifier app, not a fixed vendor id. E.g. `openai/gpt-4o-mini`, or `jev/jev-latest` when the Jev provider is named `jev`.",
|
|
1130
1132
|
"pattern": "^[^/\\s]+/.+$",
|
|
1131
1133
|
"examples": ["openai/gpt-4o-mini"]
|
|
1132
1134
|
},
|
|
@@ -1136,13 +1138,20 @@
|
|
|
1136
1138
|
"description": "API key sent as `Authorization: Bearer` when invoking the classifier app. Omit it when the classifier app runs the Internal Only policy: the classifier call never leaves the gateway, so that policy accepts it and rejects everything arriving over the network, and no credential is sent. Set it only when the classifier app authenticates callers with API keys.",
|
|
1137
1139
|
"examples": ["$env(CLASSIFIER_APP_API_KEY)"],
|
|
1138
1140
|
"x-advanced": true
|
|
1141
|
+
},
|
|
1142
|
+
"adapter": {
|
|
1143
|
+
"type": "string",
|
|
1144
|
+
"enum": ["chatCompletions", "systemOne"],
|
|
1145
|
+
"default": "chatCompletions",
|
|
1146
|
+
"title": "Classifier App Adapter",
|
|
1147
|
+
"description": "API contract exposed by the classifier app. chatCompletions calls /v1/chat/completions; systemOne calls /v1/systemone for models such as Jev. The app owns provider credentials, pricing, metering and analytics."
|
|
1139
1148
|
}
|
|
1140
1149
|
}
|
|
1141
1150
|
},
|
|
1142
1151
|
"chatCompletions": {
|
|
1143
1152
|
"type": "object",
|
|
1144
1153
|
"title": "Chat Completions API",
|
|
1145
|
-
"description": "Deprecated: use classifier.
|
|
1154
|
+
"description": "Deprecated: use `classifier.app` instead. Classify by calling an OpenAI-compatible Chat Completions API directly, outside the gateway. The model must support structured outputs (`response_format` with a JSON schema).",
|
|
1146
1155
|
"additionalProperties": false,
|
|
1147
1156
|
"required": ["apiKey", "model"],
|
|
1148
1157
|
"properties": {
|
|
@@ -1172,7 +1181,7 @@
|
|
|
1172
1181
|
"jev": {
|
|
1173
1182
|
"type": "object",
|
|
1174
1183
|
"title": "Jev (TypeSafe)",
|
|
1175
|
-
"description": "Deprecated: use classifier.
|
|
1184
|
+
"description": "Deprecated: use `classifier.app` with `adapter` `systemOne` instead. Classify with Jev, TypeSafe's classification model, by calling a System One API directly: TypeSafe's by default, or another host such as OpenRouter through `baseUrl`. Jev answers typed questions instead of generating text, so it takes no `classifierPrompt`.",
|
|
1176
1185
|
"additionalProperties": false,
|
|
1177
1186
|
"required": ["apiKey"],
|
|
1178
1187
|
"properties": {
|
|
@@ -1199,78 +1208,7 @@
|
|
|
1199
1208
|
},
|
|
1200
1209
|
"deprecated": true,
|
|
1201
1210
|
"doNotSuggest": true
|
|
1202
|
-
},
|
|
1203
|
-
"adapter": {
|
|
1204
|
-
"type": "string",
|
|
1205
|
-
"title": "Classifier Adapter",
|
|
1206
|
-
"enum": ["chatCompletions", "systemOne"],
|
|
1207
|
-
"description": "API contract for direct classification. chatCompletions requires a model supporting JSON-schema structured outputs. systemOne uses the existing Jev typed-question implementation; it does not accept classifierPrompt."
|
|
1208
|
-
},
|
|
1209
|
-
"apiKey": {
|
|
1210
|
-
"type": "string",
|
|
1211
|
-
"minLength": 1,
|
|
1212
|
-
"title": "Classifier API Key",
|
|
1213
|
-
"description": "API key for the direct classifier, sent as Authorization: Bearer.",
|
|
1214
|
-
"examples": ["$env(CLASSIFIER_API_KEY)"]
|
|
1215
|
-
},
|
|
1216
|
-
"model": {
|
|
1217
|
-
"type": "string",
|
|
1218
|
-
"minLength": 1,
|
|
1219
|
-
"title": "Classifier Model",
|
|
1220
|
-
"description": "Model id sent to the direct API. Required for chatCompletions; defaults to jev-latest for systemOne."
|
|
1221
|
-
},
|
|
1222
|
-
"baseUrl": {
|
|
1223
|
-
"type": "string",
|
|
1224
|
-
"title": "Classifier Base URL",
|
|
1225
|
-
"description": "HTTP(S) API root. chatCompletions defaults to https://api.openai.com/v1 and appends /chat/completions. systemOne defaults to https://api.typesafe.ai and appends /v1/systemone.",
|
|
1226
|
-
"x-advanced": true
|
|
1227
1211
|
}
|
|
1228
|
-
},
|
|
1229
|
-
"if": {
|
|
1230
|
-
"anyOf": [
|
|
1231
|
-
{
|
|
1232
|
-
"required": ["adapter"]
|
|
1233
|
-
},
|
|
1234
|
-
{
|
|
1235
|
-
"required": ["apiKey"]
|
|
1236
|
-
},
|
|
1237
|
-
{
|
|
1238
|
-
"required": ["model"]
|
|
1239
|
-
},
|
|
1240
|
-
{
|
|
1241
|
-
"required": ["baseUrl"]
|
|
1242
|
-
}
|
|
1243
|
-
]
|
|
1244
|
-
},
|
|
1245
|
-
"then": {
|
|
1246
|
-
"required": ["adapter", "apiKey"],
|
|
1247
|
-
"not": {
|
|
1248
|
-
"anyOf": [
|
|
1249
|
-
{
|
|
1250
|
-
"required": ["app"]
|
|
1251
|
-
},
|
|
1252
|
-
{
|
|
1253
|
-
"required": ["chatCompletions"]
|
|
1254
|
-
},
|
|
1255
|
-
{
|
|
1256
|
-
"required": ["jev"]
|
|
1257
|
-
}
|
|
1258
|
-
]
|
|
1259
|
-
},
|
|
1260
|
-
"if": {
|
|
1261
|
-
"properties": {
|
|
1262
|
-
"adapter": {
|
|
1263
|
-
"const": "chatCompletions"
|
|
1264
|
-
}
|
|
1265
|
-
}
|
|
1266
|
-
},
|
|
1267
|
-
"then": {
|
|
1268
|
-
"required": ["model"]
|
|
1269
|
-
}
|
|
1270
|
-
},
|
|
1271
|
-
"else": {
|
|
1272
|
-
"minProperties": 1,
|
|
1273
|
-
"maxProperties": 1
|
|
1274
1212
|
}
|
|
1275
1213
|
},
|
|
1276
1214
|
"modelsByComplexity": {
|
|
@@ -1341,7 +1279,7 @@
|
|
|
1341
1279
|
},
|
|
1342
1280
|
"classifierPrompt": {
|
|
1343
1281
|
"title": "Classifier Prompt",
|
|
1344
|
-
"description": "Prompt for classifier.app or
|
|
1282
|
+
"description": "Prompt for classifier.app (its default or chatCompletions adapter) and classifier.chatCompletions. Omit to use the built-in prompt. classifier.app.adapter systemOne and classifier.jev take no prompt; combining them with classifierPrompt is a configuration error.",
|
|
1345
1283
|
"oneOf": [
|
|
1346
1284
|
{
|
|
1347
1285
|
"type": "string",
|
|
@@ -1411,6 +1349,24 @@
|
|
|
1411
1349
|
"x-show-example": false,
|
|
1412
1350
|
"x-advanced": true
|
|
1413
1351
|
}
|
|
1352
|
+
},
|
|
1353
|
+
"not": {
|
|
1354
|
+
"required": ["classifierPrompt", "classifier"],
|
|
1355
|
+
"properties": {
|
|
1356
|
+
"classifier": {
|
|
1357
|
+
"required": ["app"],
|
|
1358
|
+
"properties": {
|
|
1359
|
+
"app": {
|
|
1360
|
+
"required": ["adapter"],
|
|
1361
|
+
"properties": {
|
|
1362
|
+
"adapter": {
|
|
1363
|
+
"const": "systemOne"
|
|
1364
|
+
}
|
|
1365
|
+
}
|
|
1366
|
+
}
|
|
1367
|
+
}
|
|
1368
|
+
}
|
|
1369
|
+
}
|
|
1414
1370
|
}
|
|
1415
1371
|
}
|
|
1416
1372
|
}
|
package/bin/version.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
7.9.
|
|
1
|
+
7.9.14
|