@toloka-platform/sdk 0.22.0 → 0.24.0
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.
- package/dist/cli/toloka.js +6 -6
- package/dist/cli/toloka.js.jsc +0 -0
- package/dist/cli/toloka.js.jsc.sha256 +1 -1
- package/dist/cli/toloka.js.sha256 +1 -1
- package/openapi/gen/api.schemas.ts +1 -5
- package/package.json +2 -2
- package/skills/catalog.json +6 -6
- package/skills/toloka-build/references/human-work.md +4 -4
- package/skills/toloka-build/references/workflow-and-cli.md +1 -1
- package/src/cli/commands/expert-list.ts +1 -1
- package/src/cli/project.ts +4 -2
- package/src/pipeline-graph-v1.contract.json +4 -20
package/dist/cli/toloka.js.jsc
CHANGED
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
8c5b071a99e015e353157c2d5a71652a2ac7861497c4b491b1e6443d06ab81f8 toloka.js.jsc
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
6b3f2ce0f01594cb08fb0a69bfb9284c534aa7974cb3c0ecf1a2ec6764b408b6 toloka.js
|
|
@@ -1477,7 +1477,6 @@ export interface QualificationExam {
|
|
|
1477
1477
|
passThreshold: number;
|
|
1478
1478
|
}
|
|
1479
1479
|
|
|
1480
|
-
export type GenerationNodeSettingsAudienceMode = 'legacy' | 'service';
|
|
1481
1480
|
export type SmartSearch = {
|
|
1482
1481
|
briefDescription: string;
|
|
1483
1482
|
projectDescription: string | null;
|
|
@@ -1532,7 +1531,6 @@ export interface GenerationNodeSettings {
|
|
|
1532
1531
|
onboarding: Onboarding;
|
|
1533
1532
|
exam?: QualificationExam;
|
|
1534
1533
|
reuseAudienceWithNodeId?: GenerationNodeSettingsReuseAudienceWithNodeId;
|
|
1535
|
-
audienceMode?: GenerationNodeSettingsAudienceMode;
|
|
1536
1534
|
smartSearch?: SmartSearch | null;
|
|
1537
1535
|
checks?: Partial<Record<'ui' | 'llmqa' | 'annotation_qa' | 'qc_lint' | 'ui_types_lint' | 'exam_dataset' | 'synthgen', CheckTestCases>>;
|
|
1538
1536
|
}
|
|
@@ -1580,7 +1578,6 @@ export interface MatchNode {
|
|
|
1580
1578
|
}
|
|
1581
1579
|
|
|
1582
1580
|
export type QuorumNodeSettingsOffboardingRulesItemType = 'mv_agreement';
|
|
1583
|
-
export type QuorumNodeSettingsAudienceMode = 'legacy' | 'service';
|
|
1584
1581
|
export type QuorumNodeSettingsOffboardingRulesItem = {
|
|
1585
1582
|
id: string;
|
|
1586
1583
|
type?: QuorumNodeSettingsOffboardingRulesItemType;
|
|
@@ -1613,7 +1610,6 @@ export interface QuorumNodeSettings {
|
|
|
1613
1610
|
onboarding: Onboarding;
|
|
1614
1611
|
exam?: QualificationExam;
|
|
1615
1612
|
reuseAudienceWithNodeId?: QuorumNodeSettingsReuseAudienceWithNodeId;
|
|
1616
|
-
audienceMode?: QuorumNodeSettingsAudienceMode;
|
|
1617
1613
|
smartSearch?: SmartSearch | null;
|
|
1618
1614
|
checks?: Partial<Record<'ui' | 'llmqa' | 'annotation_qa' | 'qc_lint' | 'ui_types_lint' | 'exam_dataset', CheckTestCases>>;
|
|
1619
1615
|
}
|
|
@@ -1664,7 +1660,7 @@ export interface PipelineGraphSnapshot {
|
|
|
1664
1660
|
invalidFieldSchemas: InvalidFieldSchema[];
|
|
1665
1661
|
}
|
|
1666
1662
|
|
|
1667
|
-
export type PipelineValidationIssueSeverity = 'error' | 'warning';
|
|
1663
|
+
export type PipelineValidationIssueSeverity = 'error' | 'warning' | 'info';
|
|
1668
1664
|
export interface PipelineValidationIssue {
|
|
1669
1665
|
severity: PipelineValidationIssueSeverity;
|
|
1670
1666
|
code: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@toloka-platform/sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.24.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Build, inspect, and operate Toloka pipeline projects as TypeScript source. The public API may change between minor versions before 1.0.",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -78,6 +78,6 @@
|
|
|
78
78
|
"bun": ">=1.4.0"
|
|
79
79
|
},
|
|
80
80
|
"tolokaBuild": {
|
|
81
|
-
"commit": "
|
|
81
|
+
"commit": "c1ddaeeb736da2435326b4454cebf8bf8da74ff1"
|
|
82
82
|
}
|
|
83
83
|
}
|
package/skills/catalog.json
CHANGED
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
"testing",
|
|
12
12
|
"checks"
|
|
13
13
|
],
|
|
14
|
-
"version": "0.
|
|
15
|
-
"digest": "
|
|
14
|
+
"version": "0.24.0",
|
|
15
|
+
"digest": "a633ddbb6b222755b0a54e87a67af8c6d2aee6ff1cfc1c257bc0c042db509890",
|
|
16
16
|
"files": [
|
|
17
17
|
"SKILL.md",
|
|
18
18
|
"references/human-work.md",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"bug",
|
|
34
34
|
"report"
|
|
35
35
|
],
|
|
36
|
-
"version": "0.
|
|
36
|
+
"version": "0.24.0",
|
|
37
37
|
"digest": "70f0bd2c80b32f87896aeb27c363b8a2d37f40e22424f57fe1aad142e125ad67",
|
|
38
38
|
"files": [
|
|
39
39
|
"SKILL.md",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"getting-started",
|
|
51
51
|
"agent"
|
|
52
52
|
],
|
|
53
|
-
"version": "0.
|
|
53
|
+
"version": "0.24.0",
|
|
54
54
|
"digest": "2278adeb46a792356579395fcf73c42322cb23bcd0c61e20856ccabdad6762d1",
|
|
55
55
|
"files": [
|
|
56
56
|
"SKILL.md"
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"sft",
|
|
68
68
|
"models"
|
|
69
69
|
],
|
|
70
|
-
"version": "0.
|
|
70
|
+
"version": "0.24.0",
|
|
71
71
|
"digest": "3ce10dee5d3c283d8b5fdea15134a58fc738c7af2c1bb19eb5a0bf70ea0bca13",
|
|
72
72
|
"files": [
|
|
73
73
|
"SKILL.md"
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
"prompt",
|
|
85
85
|
"models"
|
|
86
86
|
],
|
|
87
|
-
"version": "0.
|
|
87
|
+
"version": "0.24.0",
|
|
88
88
|
"digest": "be8bce8d9cf7241ccb60d2b2a9b7cc07d7755a76e8ff8ec1b0847c49efbb3469",
|
|
89
89
|
"files": [
|
|
90
90
|
"SKILL.md"
|
|
@@ -49,7 +49,7 @@ Write at least one criterion for every output entity. Each criterion needs an au
|
|
|
49
49
|
|
|
50
50
|
Use `llmQaInstruction` only when the evaluator needs a specific verification method, authoritative source, tool, or pinned edge case beyond the thresholds. It is evaluator guidance, not labeler guidance, and has no effect in `human_only` mode.
|
|
51
51
|
|
|
52
|
-
Default QA is `qualityAssurance: { qaMode: 'llm_only' }`. Keep it when it fits the task. `hybrid` adds sampled Human QA while retaining LLM review; `human_only` is appropriate when LLM grading is prohibited or human review alone is required. Suggest `customer_review` only when the user wants their own team to approve each result, such as a sign-off, acceptance against their own standard, or a contract that requires it; never suggest it by default or infer it from the quality criteria. Only some teams have it; see [Customer review](#customer-review). Recommend a mode based on the user's quality and privacy requirements, explaining cost and turnaround implications before changing it. Human-bearing modes require `humanQaTimeForTask` in whole seconds: at least 30 and at least 3 per quality criterion of the node, whichever is larger, and at most 359,999 (99:59:59). A reviewer keeps a Human QA task for `humanQaTimeForTask` plus 1 hour, and for at least 8 hours. A dropped task stays with that reviewer until this time ends, then another reviewer can take it; `smartSamplingPercent` defaults to 30 for hybrid and 100 for human-only. Use those defaults unless the task justifies a different rate. Human QA on a node is capped at the Maximum of its Human QA line in the frozen estimate: 3 reviews for each item of the run. The cap counts every item of the run, so a branch behind a `match` that receives more than its even share still gets Human QA. Before deploy, the platform counts the QA pool: experts who match the node's audience and hold the platform QA qualification and were active in the last 14 days, or have recent QA experience (at least 1 completed QA task and a recent visit; Smart Search invites these at deploy, except on a node that reuses an earlier audience
|
|
52
|
+
Default QA is `qualityAssurance: { qaMode: 'llm_only' }`. Keep it when it fits the task. `hybrid` adds sampled Human QA while retaining LLM review; `human_only` is appropriate when LLM grading is prohibited or human review alone is required. Suggest `customer_review` only when the user wants their own team to approve each result, such as a sign-off, acceptance against their own standard, or a contract that requires it; never suggest it by default or infer it from the quality criteria. Only some teams have it; see [Customer review](#customer-review). Recommend a mode based on the user's quality and privacy requirements, explaining cost and turnaround implications before changing it. Human-bearing modes require `humanQaTimeForTask` in whole seconds: at least 30 and at least 3 per quality criterion of the node, whichever is larger, and at most 359,999 (99:59:59). A reviewer keeps a Human QA task for `humanQaTimeForTask` plus 1 hour, and for at least 8 hours. A dropped task stays with that reviewer until this time ends, then another reviewer can take it; `smartSamplingPercent` defaults to 30 for hybrid and 100 for human-only. Use those defaults unless the task justifies a different rate. Human QA on a node is capped at the Maximum of its Human QA line in the frozen estimate: 3 reviews for each item of the run. The cap counts every item of the run, so a branch behind a `match` that receives more than its even share still gets Human QA. Before deploy, the platform counts the QA pool: experts who match the node's audience and hold the platform QA qualification and were active in the last 14 days, or have recent QA experience (at least 1 completed QA task and a recent visit; Smart Search invites these at deploy, except on a node that reuses an earlier audience). The data is rebuilt once a day. With none, validation returns a blocking error and the deploy is rejected. The reviewers come from the node's own audience, because a node has no separate reviewer audience. So for that error, offer to widen the audience (drop specializations first, then countries) or to switch to `llm_only`; do not suggest waiting, because the count is refreshed once a day and nothing shows whether more reviewers will become active. When the count is too small for the node's expected reviews (the platform assumes that 1 of 10 of these experts reviews, for up to 12 hours each), `toloka validate` returns a `severity: 'warning'` issue on the node whose message starts with `Human QA on "<node name>" may stall`. The warning does not block the deploy. Tell the user the numbers in the message and offer its remedies: widen the audience or switch to `llm_only` (or to `hybrid` when the node is `human_only`); change none of them without the user's approval. A node that reuses the human reviewers of an earlier deployment skips this count. QA mode applies to the whole node, not individual criteria. The redo cap is platform-controlled and is not an SDK setting.
|
|
53
53
|
|
|
54
54
|
The platform also writes annotator fields on human-expert generation nodes. `<snake_cased node name>_annotator_id` is an optional string: the ID of the expert whose answer was accepted, not of earlier rejected attempts. `<snake_cased node name>_qa_annotator_id` exists only in `human_only` and `hybrid` modes: the ID of the expert who made the last human review decision, missing when sampling skipped human review. Both are missing on canceled items and on items completed before they existed; synthetic nodes have neither. The platform also writes one `*_evaluation_result` field per quality criterion with LLM or Human QA verdicts, `<snake_cased node name>_qa_metadata`, and, on a synthetic node with LLM QA, `<snake_cased node name>_evaluation_summary`. Never declare any of these with `field()`: the platform owns them, and an authored field with that name collides with it. Read them from the dataset with `toloka dataset load`.
|
|
55
55
|
|
|
@@ -65,10 +65,10 @@ Use `audienceType: 'synthetic'` only when the user explicitly asks for model-gen
|
|
|
65
65
|
|
|
66
66
|
#### Expert lists and bans
|
|
67
67
|
|
|
68
|
-
Expert lists and expert bans are enabled for a team together
|
|
68
|
+
Expert lists and expert bans are enabled for a team together: `toloka expert-list` and `toloka expert-ban-list` work only for teams with expert lists enabled. Use them only when the user asks for a fixed set of experts or a ban.
|
|
69
69
|
|
|
70
|
-
-
|
|
71
|
-
- Keep the settings `toloka import` wrote. Leaving a field out never detaches a list: plan shows no change for it, but apply rejects the whole graph while any node leaves out a setting the platform has, even when you only changed another node. Run `toloka import` to bring the settings into the source. To
|
|
70
|
+
- The platform decides how a `generation` or `quorum` node finds experts; there is no setting for it, and apply rejects an `audienceMode` left in an older source, so delete it. A few teams stay on the legacy audience (audience filters and smart search) and can't use expert lists. `audienceAndPricing.expertListCondition` takes the labeling experts from expert lists, and on `generation` `qualityAssurance.expertListCondition` does the same for human QA (`human_only` or `hybrid`). One list is `{ operator: "list_in", expertListId: "exl.…" }`; experts in any of several lists are `{ logic: "or", predicates: [list_in…] }`; to leave out experts who are also in other lists, wrap it as `{ logic: "and", predicates: [<the list_in part>, { operator: "list_nin", expertListId: "exl.…" }…] }`. Other combinations are rejected, and a list can't be both included and excluded. The audience filters then stop deciding who gets tasks; `pricePerTask`, `timeForTask`, and the per-expert cap still apply.
|
|
71
|
+
- Keep the settings `toloka import` wrote. Leaving a field out never detaches a list: plan shows no change for it, but apply rejects the whole graph while any node leaves out a setting the platform has, even when you only changed another node. Run `toloka import` to bring the settings into the source. To detach the lists, set `expertListCondition: null` explicitly.
|
|
72
72
|
- Manage lists with `toloka expert-list`: `list`, `create <name>`, `add <list> --file ids.txt` (one expert ID per line), `remove`, `show <list>`, `experts <list>`, `rename`, `hide`, `unhide`. `<list>` is the `exl.` ID or the list name. Pass large ID sets with `--file`, never as thousands of arguments. Copy the `exl.` ID from `toloka expert-list list` into `expertListCondition.expertListId`; an ID from another project is rejected.
|
|
73
73
|
- After adding experts, run `toloka expert-list show <list>` and report `AVAILABLE`. Availability is checked in the background, so `PENDING` drops over a few minutes. Apply rejects a node whose list has no available experts yet; wait until `AVAILABLE` is above 0, then apply. If few experts are available for the number of items, say so, and mention the per-expert cap when it is on. A hidden list keeps working in runs, but experts can't be added to or removed from it until it is unhidden.
|
|
74
74
|
- Don't use the same list for labeling and human QA: experts would review their own work, and validation warns about it. To keep them apart while the lists overlap, exclude the labeling lists from the QA condition with `list_nin`.
|
|
@@ -78,7 +78,7 @@ toloka pipeline lint <name> --wait # after dataset changes or a failed lint: r
|
|
|
78
78
|
|
|
79
79
|
With `--watch --json`, each completed rerun writes one JSON line. Do not start another watcher while one is active.
|
|
80
80
|
|
|
81
|
-
`toloka validate` posts each authored graph to the platform without writing it; the status table in SKILL.md lists what each result means and when to use `--wait`. Distinguish source/spec errors, which require source changes, from check state and warnings. When plan adds a dataset field used by an already-live pipeline, pre-apply validation can report that exact field as `misconfigured_node_form_component` because the column is not live yet. Treat it as expected only when the reviewed plan adds the same field, then require post-apply validation to clear the source/spec error.
|
|
81
|
+
`toloka validate` posts each authored graph to the platform without writing it; the status table in SKILL.md lists what each result means and when to use `--wait`. Distinguish source/spec errors, which require source changes, from check state and warnings. Issues with `severity: 'info'` are not problems and never fail validation; they state what the next deploy will do: `audience_reused` (the node keeps its existing audience and its experts) and `node_results_reusable` (the node reuses an earlier run's results for items whose inputs are unchanged; items that run is still working on wait for its result instead of running the node again). Relay them to the user when relevant and do not change source to make them go away. When plan adds a dataset field used by an already-live pipeline, pre-apply validation can report that exact field as `misconfigured_node_form_component` because the column is not live yet. Treat it as expected only when the reviewed plan adds the same field, then require post-apply validation to clear the source/spec error.
|
|
82
82
|
|
|
83
83
|
The authored API still supplies extra local safety:
|
|
84
84
|
|
|
@@ -25,7 +25,7 @@ export const registerExpertListCommands = (program: Command, host: CommandHost):
|
|
|
25
25
|
|
|
26
26
|
const expertList = program
|
|
27
27
|
.command("expert-list")
|
|
28
|
-
.description("manage the project's expert lists, which nodes
|
|
28
|
+
.description("manage the project's expert lists, which nodes can take their experts from");
|
|
29
29
|
|
|
30
30
|
expertList
|
|
31
31
|
.command("list")
|
package/src/cli/project.ts
CHANGED
|
@@ -216,7 +216,6 @@ const withAudienceSourcingDefaults = (node: PipelineGraphV1["nodes"][number]): u
|
|
|
216
216
|
return {
|
|
217
217
|
...node,
|
|
218
218
|
settings: {
|
|
219
|
-
audienceMode: "legacy",
|
|
220
219
|
...node.settings,
|
|
221
220
|
...(isPlainObject(audienceAndPricing) && audienceAndPricing.audienceType === "human"
|
|
222
221
|
? { audienceAndPricing: { expertListCondition: null, ...audienceAndPricing } }
|
|
@@ -1098,7 +1097,10 @@ const normalizeValidationReport = (
|
|
|
1098
1097
|
};
|
|
1099
1098
|
|
|
1100
1099
|
const formatValidationIssues = (report: PipelineValidationReport) =>
|
|
1101
|
-
|
|
1100
|
+
[
|
|
1101
|
+
...report.issues.filter((issue) => issue.severity !== "info"),
|
|
1102
|
+
...report.issues.filter((issue) => issue.severity === "info"),
|
|
1103
|
+
].map((issue) => {
|
|
1102
1104
|
const location = issueLocation(issue);
|
|
1103
1105
|
const severity =
|
|
1104
1106
|
issue.code === PENDING_CHECK_CODE
|
|
@@ -1456,7 +1456,7 @@
|
|
|
1456
1456
|
"exclusiveMinimum": 0
|
|
1457
1457
|
},
|
|
1458
1458
|
"expertListCondition": {
|
|
1459
|
-
"description": "The expert lists the node takes its experts from: experts in any of the `list_in` lists, but not in any of the `list_nin` lists. One list is `{ operator: \"list_in\", expertListId }` with an `exl.` id; several are `{ logic: \"or\", predicates: [list_in…] }`; excluding lists wraps that in `{ logic: \"and\", predicates: [<the list_in part>, { operator: \"list_nin\", expertListId }…] }`. Other combinations (intersections, nested exclusions) are rejected. The platform stores the condition in canonical form (groups flattened, predicates deduplicated and sorted).
|
|
1459
|
+
"description": "The expert lists the node takes its experts from: experts in any of the `list_in` lists, but not in any of the `list_nin` lists. One list is `{ operator: \"list_in\", expertListId }` with an `exl.` id; several are `{ logic: \"or\", predicates: [list_in…] }`; excluding lists wraps that in `{ logic: \"and\", predicates: [<the list_in part>, { operator: \"list_nin\", expertListId }…] }`. Other combinations (intersections, nested exclusions) are rejected. The platform stores the condition in canonical form (groups flattened, predicates deduplicated and sorted). Not available to teams on the older team ban list. `null` detaches the lists. Omitted when no lists are attached.",
|
|
1460
1460
|
"anyOf": [
|
|
1461
1461
|
{
|
|
1462
1462
|
"anyOf": [
|
|
@@ -1517,7 +1517,7 @@
|
|
|
1517
1517
|
"exclusiveMinimum": 0
|
|
1518
1518
|
},
|
|
1519
1519
|
"expertListCondition": {
|
|
1520
|
-
"description": "The expert lists the node takes its experts from: experts in any of the `list_in` lists, but not in any of the `list_nin` lists. One list is `{ operator: \"list_in\", expertListId }` with an `exl.` id; several are `{ logic: \"or\", predicates: [list_in…] }`; excluding lists wraps that in `{ logic: \"and\", predicates: [<the list_in part>, { operator: \"list_nin\", expertListId }…] }`. Other combinations (intersections, nested exclusions) are rejected. The platform stores the condition in canonical form (groups flattened, predicates deduplicated and sorted).
|
|
1520
|
+
"description": "The expert lists the node takes its experts from: experts in any of the `list_in` lists, but not in any of the `list_nin` lists. One list is `{ operator: \"list_in\", expertListId }` with an `exl.` id; several are `{ logic: \"or\", predicates: [list_in…] }`; excluding lists wraps that in `{ logic: \"and\", predicates: [<the list_in part>, { operator: \"list_nin\", expertListId }…] }`. Other combinations (intersections, nested exclusions) are rejected. The platform stores the condition in canonical form (groups flattened, predicates deduplicated and sorted). Not available to teams on the older team ban list. `null` detaches the lists. Omitted when no lists are attached.",
|
|
1521
1521
|
"anyOf": [
|
|
1522
1522
|
{
|
|
1523
1523
|
"anyOf": [
|
|
@@ -1714,7 +1714,7 @@
|
|
|
1714
1714
|
"maximum": 50
|
|
1715
1715
|
},
|
|
1716
1716
|
"expertListCondition": {
|
|
1717
|
-
"description": "The expert lists the node takes its experts from: experts in any of the `list_in` lists, but not in any of the `list_nin` lists. One list is `{ operator: \"list_in\", expertListId }` with an `exl.` id; several are `{ logic: \"or\", predicates: [list_in…] }`; excluding lists wraps that in `{ logic: \"and\", predicates: [<the list_in part>, { operator: \"list_nin\", expertListId }…] }`. Other combinations (intersections, nested exclusions) are rejected. The platform stores the condition in canonical form (groups flattened, predicates deduplicated and sorted).
|
|
1717
|
+
"description": "The expert lists the node takes its experts from: experts in any of the `list_in` lists, but not in any of the `list_nin` lists. One list is `{ operator: \"list_in\", expertListId }` with an `exl.` id; several are `{ logic: \"or\", predicates: [list_in…] }`; excluding lists wraps that in `{ logic: \"and\", predicates: [<the list_in part>, { operator: \"list_nin\", expertListId }…] }`. Other combinations (intersections, nested exclusions) are rejected. The platform stores the condition in canonical form (groups flattened, predicates deduplicated and sorted). Not available to teams on the older team ban list. `null` detaches the lists. Omitted when no lists are attached.",
|
|
1718
1718
|
"anyOf": [
|
|
1719
1719
|
{
|
|
1720
1720
|
"anyOf": [
|
|
@@ -2411,14 +2411,6 @@
|
|
|
2411
2411
|
}
|
|
2412
2412
|
]
|
|
2413
2413
|
},
|
|
2414
|
-
"audienceMode": {
|
|
2415
|
-
"description": "How the node finds experts. `legacy`: audience filters and smart search. `service`: the audience service, which can also take experts from an expert list. Only teams with the audience service enabled can use `service`. Omitted when `legacy`.",
|
|
2416
|
-
"type": "string",
|
|
2417
|
-
"enum": [
|
|
2418
|
-
"legacy",
|
|
2419
|
-
"service"
|
|
2420
|
-
]
|
|
2421
|
-
},
|
|
2422
2414
|
"smartSearch": {
|
|
2423
2415
|
"default": null,
|
|
2424
2416
|
"anyOf": [
|
|
@@ -2852,7 +2844,7 @@
|
|
|
2852
2844
|
"maximum": 50
|
|
2853
2845
|
},
|
|
2854
2846
|
"expertListCondition": {
|
|
2855
|
-
"description": "The expert lists the node takes its experts from: experts in any of the `list_in` lists, but not in any of the `list_nin` lists. One list is `{ operator: \"list_in\", expertListId }` with an `exl.` id; several are `{ logic: \"or\", predicates: [list_in…] }`; excluding lists wraps that in `{ logic: \"and\", predicates: [<the list_in part>, { operator: \"list_nin\", expertListId }…] }`. Other combinations (intersections, nested exclusions) are rejected. The platform stores the condition in canonical form (groups flattened, predicates deduplicated and sorted).
|
|
2847
|
+
"description": "The expert lists the node takes its experts from: experts in any of the `list_in` lists, but not in any of the `list_nin` lists. One list is `{ operator: \"list_in\", expertListId }` with an `exl.` id; several are `{ logic: \"or\", predicates: [list_in…] }`; excluding lists wraps that in `{ logic: \"and\", predicates: [<the list_in part>, { operator: \"list_nin\", expertListId }…] }`. Other combinations (intersections, nested exclusions) are rejected. The platform stores the condition in canonical form (groups flattened, predicates deduplicated and sorted). Not available to teams on the older team ban list. `null` detaches the lists. Omitted when no lists are attached.",
|
|
2856
2848
|
"anyOf": [
|
|
2857
2849
|
{
|
|
2858
2850
|
"anyOf": [
|
|
@@ -4241,14 +4233,6 @@
|
|
|
4241
4233
|
}
|
|
4242
4234
|
]
|
|
4243
4235
|
},
|
|
4244
|
-
"audienceMode": {
|
|
4245
|
-
"description": "How the node finds experts. `legacy`: audience filters and smart search. `service`: the audience service, which can also take experts from an expert list. Only teams with the audience service enabled can use `service`. Omitted when `legacy`.",
|
|
4246
|
-
"type": "string",
|
|
4247
|
-
"enum": [
|
|
4248
|
-
"legacy",
|
|
4249
|
-
"service"
|
|
4250
|
-
]
|
|
4251
|
-
},
|
|
4252
4236
|
"smartSearch": {
|
|
4253
4237
|
"default": null,
|
|
4254
4238
|
"anyOf": [
|