@toloka-platform/sdk 0.27.0 → 0.28.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/README.md +5 -3
- package/dist/cli/toloka.js +179 -190
- 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/examples/video-pair-rating/nodes/adjudicate/node.ts +1 -1
- package/examples/video-pair-rating/nodes/adjudicate_op/node.ts +1 -1
- package/examples/video-pair-rating/nodes/overall_preference_pick/node.ts +5 -1
- package/examples/video-pair-rating/nodes/rate_pair/node.ts +5 -1
- package/openapi/gen/api.schemas.ts +51 -758
- package/openapi/gen/api.ts +0 -860
- package/package.json +2 -2
- package/skills/catalog.json +6 -40
- package/skills/toloka-build/references/human-work.md +15 -6
- package/skills/toloka-build/references/local-setup.md +2 -2
- package/skills/toloka-build/references/workflow-and-cli.md +3 -22
- package/skills/toloka-get-started/SKILL.md +9 -13
- package/src/cli/analytics.ts +0 -31
- package/src/cli/auth.ts +15 -7
- package/src/cli/config.ts +67 -3
- package/src/cli/context.ts +3 -124
- package/src/cli/credentials.ts +11 -10
- package/src/cli/init.ts +1 -1
- package/src/cli/program.ts +0 -6
- package/src/cli/project.ts +9 -1
- package/src/client.ts +3 -261
- package/src/importer.ts +12 -2
- package/src/index.ts +0 -2
- package/src/pipeline-graph-v1.contract.json +130 -128
- package/skills/toloka-fine-tuning/SKILL.md +0 -177
- package/skills/toloka-gisting/SKILL.md +0 -186
- package/src/cli/batch-inference.ts +0 -267
- package/src/cli/commands/batch-inference.ts +0 -116
- package/src/cli/commands/models.ts +0 -121
- package/src/cli/commands/training.ts +0 -275
- package/src/cli/models.ts +0 -304
- package/src/cli/trainings.ts +0 -880
package/dist/cli/toloka.js.jsc
CHANGED
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
b57537fed914343fa7ebef1b02691a9001f7fa12a75861ca53909d331c2534ab toloka.js.jsc
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
30ee2bd68395d747b4af5e6d5a484bec485038ec9bccd23951dbd45ca759e317 toloka.js
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
export const adjudicate = generation("adjudicate", {
|
|
13
13
|
about: {
|
|
14
14
|
description:
|
|
15
|
-
"
|
|
15
|
+
"Watch two AI-generated videos made from the same text prompt and decide which one is better on each quality metric where earlier raters disagreed.",
|
|
16
16
|
projectType: "general",
|
|
17
17
|
},
|
|
18
18
|
publicName: "Senior video comparison adjudication",
|
|
@@ -5,7 +5,7 @@ import { opAdjudicatedValue, pairPickLabels, prompt, videoA, videoB } from "../.
|
|
|
5
5
|
export const adjudicateOp = generation("adjudicate_op", {
|
|
6
6
|
about: {
|
|
7
7
|
description:
|
|
8
|
-
"
|
|
8
|
+
"Watch two AI-generated videos made from the same text prompt and decide which one is better overall after earlier raters disagreed.",
|
|
9
9
|
projectType: "general",
|
|
10
10
|
},
|
|
11
11
|
publicName: "Senior overall preference adjudication",
|
|
@@ -3,7 +3,11 @@ import { quorum } from "@toloka-platform/sdk";
|
|
|
3
3
|
import { overallManualVotes, pairPickLabels, prompt, videoA, videoB } from "../../fields";
|
|
4
4
|
|
|
5
5
|
export const overallPreferencePick = quorum("overall_preference_pick", {
|
|
6
|
-
about: {
|
|
6
|
+
about: {
|
|
7
|
+
name: "overall_preference_pick",
|
|
8
|
+
description:
|
|
9
|
+
"Watch two AI-generated videos made from the same text prompt and pick the one you prefer overall, or call it a tie.",
|
|
10
|
+
},
|
|
7
11
|
publicName: "Overall video preference",
|
|
8
12
|
overlap: 2,
|
|
9
13
|
entities: {
|
|
@@ -14,7 +14,11 @@ import {
|
|
|
14
14
|
} from "../../fields";
|
|
15
15
|
|
|
16
16
|
export const ratePair = quorum("rate_pair", {
|
|
17
|
-
about: {
|
|
17
|
+
about: {
|
|
18
|
+
name: "rate_pair",
|
|
19
|
+
description:
|
|
20
|
+
"Watch two AI-generated videos made from the same text prompt and compare them side by side on several quality metrics.",
|
|
21
|
+
},
|
|
18
22
|
publicName: "Side-by-side video rating",
|
|
19
23
|
overlap: 2,
|
|
20
24
|
entities: {
|