@toloka-platform/sdk 0.26.2 → 0.27.1

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.
Files changed (35) hide show
  1. package/README.md +2 -2
  2. package/dist/cli/toloka.js +180 -191
  3. package/dist/cli/toloka.js.jsc +0 -0
  4. package/dist/cli/toloka.js.jsc.sha256 +1 -1
  5. package/dist/cli/toloka.js.sha256 +1 -1
  6. package/examples/video-pair-rating/nodes/adjudicate/node.ts +1 -1
  7. package/examples/video-pair-rating/nodes/adjudicate_op/node.ts +1 -1
  8. package/examples/video-pair-rating/nodes/overall_preference_pick/node.ts +5 -1
  9. package/examples/video-pair-rating/nodes/rate_pair/node.ts +5 -1
  10. package/openapi/gen/api.schemas.ts +52 -756
  11. package/openapi/gen/api.ts +0 -860
  12. package/package.json +2 -2
  13. package/skills/catalog.json +6 -40
  14. package/skills/toloka-build/references/human-work.md +42 -7
  15. package/skills/toloka-build/references/local-setup.md +2 -2
  16. package/skills/toloka-build/references/workflow-and-cli.md +3 -22
  17. package/skills/toloka-get-started/SKILL.md +9 -13
  18. package/src/authoring/index.ts +34 -3
  19. package/src/cli/analytics.ts +0 -31
  20. package/src/cli/context.ts +0 -109
  21. package/src/cli/init.ts +1 -1
  22. package/src/cli/program.ts +0 -6
  23. package/src/cli/project.ts +9 -1
  24. package/src/client.ts +0 -259
  25. package/src/importer.ts +88 -6
  26. package/src/index.ts +2 -2
  27. package/src/pipeline-graph-v1.contract.json +130 -101
  28. package/skills/toloka-fine-tuning/SKILL.md +0 -177
  29. package/skills/toloka-gisting/SKILL.md +0 -186
  30. package/src/cli/batch-inference.ts +0 -267
  31. package/src/cli/commands/batch-inference.ts +0 -116
  32. package/src/cli/commands/models.ts +0 -121
  33. package/src/cli/commands/training.ts +0 -275
  34. package/src/cli/models.ts +0 -304
  35. package/src/cli/trainings.ts +0 -880
Binary file
@@ -1 +1 @@
1
- 41ea5ed778785de3bc1c7d7afc22672e77a8a9cd390e96c24b1cf6bc9696b0f6 toloka.js.jsc
1
+ cb304ddc77ab9aaab1ddb3281f9dbb928fcf3d7e714ba36473487b71f257cb67 toloka.js.jsc
@@ -1 +1 @@
1
- 9f8d3ba912063ce04cf5a16fc76889223c36d33646678072c37a426b1c178b31 toloka.js
1
+ f4af7967fea76fba203daa8572ff19599c8cfddbb7e7157c741a9ed22e2b8cb7 toloka.js
@@ -12,7 +12,7 @@ import {
12
12
  export const adjudicate = generation("adjudicate", {
13
13
  about: {
14
14
  description:
15
- "A senior rater breaks ties on the metrics where the quorum disagreed. Both videos are shown in their original order, never the shuffled one.",
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
- "A senior rater settles overall preference when the quorum vote on it did not converge. Runs only for the overall preference metric, after the per-metric branch has finished.",
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: { name: "overall_preference_pick" },
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: { name: "rate_pair" },
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: {