@toloka-platform/sdk 0.27.0 → 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 (34) hide show
  1. package/README.md +2 -2
  2. package/dist/cli/toloka.js +179 -190
  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 +51 -758
  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 +15 -6
  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/cli/analytics.ts +0 -31
  19. package/src/cli/context.ts +0 -109
  20. package/src/cli/init.ts +1 -1
  21. package/src/cli/program.ts +0 -6
  22. package/src/cli/project.ts +9 -1
  23. package/src/client.ts +0 -259
  24. package/src/importer.ts +12 -2
  25. package/src/index.ts +0 -2
  26. package/src/pipeline-graph-v1.contract.json +130 -128
  27. package/skills/toloka-fine-tuning/SKILL.md +0 -177
  28. package/skills/toloka-gisting/SKILL.md +0 -186
  29. package/src/cli/batch-inference.ts +0 -267
  30. package/src/cli/commands/batch-inference.ts +0 -116
  31. package/src/cli/commands/models.ts +0 -121
  32. package/src/cli/commands/training.ts +0 -275
  33. package/src/cli/models.ts +0 -304
  34. package/src/cli/trainings.ts +0 -880
Binary file
@@ -1 +1 @@
1
- 734ec9fa7066d2eabcd71039e8e4992d3786713c4c613559be072ec1a14fad79 toloka.js.jsc
1
+ cb304ddc77ab9aaab1ddb3281f9dbb928fcf3d7e714ba36473487b71f257cb67 toloka.js.jsc
@@ -1 +1 @@
1
- 5d0fd338ab431959995d7bed9e136d670fc8745b8468a7061b5c05fb0da37d2f 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: {