@toloka-platform/sdk 0.1.0 → 0.2.0-preview.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 (280) hide show
  1. package/README.md +2 -2
  2. package/dist/cli/toloka.js +138 -136
  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/docs/cli-v2.md +1 -1
  7. package/docs/cli.md +3 -1
  8. package/docs/getting-started.md +1 -1
  9. package/docs/limitations.md +2 -2
  10. package/docs/testing.md +1 -1
  11. package/examples/face-image-collection/README.md +1 -1
  12. package/openapi/gen/api.ts +1482 -777
  13. package/openapi/gen/models/createDatasetExportBody.ts +5 -3
  14. package/openapi/gen/models/createDatasetExportBodyFormat.ts +2 -0
  15. package/openapi/gen/models/createProjectTrainingBody.ts +6 -0
  16. package/openapi/gen/models/createTrainingRunBody.ts +6 -0
  17. package/openapi/gen/models/datasetExportReportTokens.ts +4 -1
  18. package/openapi/gen/models/datasetExportReportTokensEstimatorVersion.ts +2 -0
  19. package/openapi/gen/models/datasetExportReportTokensTotal.ts +2 -0
  20. package/openapi/gen/models/estimateTrainingCostBody.ts +5 -0
  21. package/openapi/gen/models/exportJob.ts +2 -0
  22. package/openapi/gen/models/exportJobError.ts +3 -0
  23. package/openapi/gen/models/exportJobErrorAnyOf.ts +7 -0
  24. package/openapi/gen/models/exportJobErrorAnyOfCode.ts +2 -0
  25. package/openapi/gen/models/exportJobStatus.ts +1 -1
  26. package/openapi/gen/models/getTrainingRunLogsParams.ts +5 -0
  27. package/openapi/gen/models/gistingTrainingConfiguration.ts +13 -0
  28. package/openapi/gen/models/gistingTrainingConfigurationInput.ts +13 -0
  29. package/openapi/gen/models/gistingTrainingConfigurationInputRegime.ts +2 -0
  30. package/openapi/gen/models/gistingTrainingConfigurationRegime.ts +2 -0
  31. package/openapi/gen/models/index.ts +230 -16
  32. package/openapi/gen/models/listProjectTrainings200.ts +7 -0
  33. package/openapi/gen/models/listProjectTrainingsParams.ts +5 -0
  34. package/openapi/gen/models/listTrainingRuns200.ts +7 -0
  35. package/openapi/gen/models/listTrainingRunsParams.ts +5 -0
  36. package/openapi/gen/models/modelVersion.ts +6 -1
  37. package/openapi/gen/models/modelVersionContent.ts +4 -0
  38. package/openapi/gen/models/modelVersionContentDownload.ts +11 -0
  39. package/openapi/gen/models/modelVersionContentDownloadContent.ts +4 -0
  40. package/openapi/gen/models/modelVersionContentDownloadContentOneOf.ts +10 -0
  41. package/openapi/gen/models/modelVersionContentDownloadContentOneOfManifestItem.ts +8 -0
  42. package/openapi/gen/models/modelVersionContentDownloadContentOneOfManifestItemMediaType.ts +2 -0
  43. package/openapi/gen/models/modelVersionContentDownloadContentOneOfNine.ts +8 -0
  44. package/openapi/gen/models/modelVersionContentDownloadContentOneOfNineManifestItem.ts +8 -0
  45. package/openapi/gen/models/modelVersionContentDownloadContentOneOfNineManifestItemMediaType.ts +2 -0
  46. package/openapi/gen/models/modelVersionContentDownloadContentOneOfNineRuntimeBase.ts +2 -0
  47. package/openapi/gen/models/modelVersionContentDownloadContentOneOfParent.ts +4 -0
  48. package/openapi/gen/models/modelVersionContentDownloadContentOneOfParentOneOf.ts +6 -0
  49. package/openapi/gen/models/modelVersionContentDownloadContentOneOfParentOneOfBaseModelId.ts +2 -0
  50. package/openapi/gen/models/modelVersionContentDownloadContentOneOfParentOneOfThree.ts +5 -0
  51. package/openapi/gen/models/modelVersionContentDownloadContentOneOfRuntimeBase.ts +2 -0
  52. package/openapi/gen/models/modelVersionContentDownloadFilesItem.ts +9 -0
  53. package/openapi/gen/models/modelVersionContentDownloadFilesItemMediaType.ts +2 -0
  54. package/openapi/gen/models/modelVersionContentOneOf.ts +10 -0
  55. package/openapi/gen/models/modelVersionContentOneOfManifestItem.ts +8 -0
  56. package/openapi/gen/models/modelVersionContentOneOfManifestItemMediaType.ts +2 -0
  57. package/openapi/gen/models/modelVersionContentOneOfNine.ts +8 -0
  58. package/openapi/gen/models/modelVersionContentOneOfNineManifestItem.ts +8 -0
  59. package/openapi/gen/models/modelVersionContentOneOfNineManifestItemMediaType.ts +2 -0
  60. package/openapi/gen/models/modelVersionContentOneOfNineRuntimeBase.ts +2 -0
  61. package/openapi/gen/models/modelVersionContentOneOfParent.ts +4 -0
  62. package/openapi/gen/models/modelVersionContentOneOfParentOneOf.ts +6 -0
  63. package/openapi/gen/models/modelVersionContentOneOfParentOneOfBaseModelId.ts +2 -0
  64. package/openapi/gen/models/modelVersionContentOneOfParentOneOfThree.ts +5 -0
  65. package/openapi/gen/models/modelVersionContentOneOfRuntimeBase.ts +2 -0
  66. package/openapi/gen/models/modelVersionProducer.ts +5 -0
  67. package/openapi/gen/models/prepareTrainingCostEstimateInputsBody.ts +2 -0
  68. package/openapi/gen/models/replaceTrainingConfigurationBody.ts +5 -0
  69. package/openapi/gen/models/sftTrainingConfiguration.ts +13 -0
  70. package/openapi/gen/models/sftTrainingConfigurationInput.ts +13 -0
  71. package/openapi/gen/models/sftTrainingConfigurationInputRegime.ts +2 -0
  72. package/openapi/gen/models/sftTrainingConfigurationRegime.ts +2 -0
  73. package/openapi/gen/models/training.ts +16 -0
  74. package/openapi/gen/models/trainingArchivedAt.ts +2 -0
  75. package/openapi/gen/models/trainingConfiguration.ts +4 -0
  76. package/openapi/gen/models/trainingConfigurationInput.ts +4 -0
  77. package/openapi/gen/models/trainingCostEstimate.ts +4 -0
  78. package/openapi/gen/models/trainingCostEstimateInputSet.ts +12 -0
  79. package/openapi/gen/models/trainingCostEstimateInputSetExports.ts +6 -0
  80. package/openapi/gen/models/trainingCostEstimateInputSetExportsValidation.ts +2 -0
  81. package/openapi/gen/models/trainingCostEstimateInputSetId.ts +2 -0
  82. package/openapi/gen/models/trainingCostEstimateOneOf.ts +16 -0
  83. package/openapi/gen/models/trainingCostEstimateOneOfInputs.ts +7 -0
  84. package/openapi/gen/models/trainingCostEstimateOneOfInputsTraining.ts +9 -0
  85. package/openapi/gen/models/trainingCostEstimateOneOfInputsTrainingFailure.ts +3 -0
  86. package/openapi/gen/models/trainingCostEstimateOneOfInputsTrainingFailureAnyOf.ts +7 -0
  87. package/openapi/gen/models/trainingCostEstimateOneOfInputsTrainingFailureAnyOfCode.ts +2 -0
  88. package/openapi/gen/models/trainingCostEstimateOneOfInputsTrainingReport.ts +3 -0
  89. package/openapi/gen/models/trainingCostEstimateOneOfInputsTrainingReportAnyOf.ts +9 -0
  90. package/openapi/gen/models/trainingCostEstimateOneOfInputsTrainingReportAnyOfErrorsItem.ts +5 -0
  91. package/openapi/gen/models/trainingCostEstimateOneOfInputsTrainingReportAnyOfTokens.ts +10 -0
  92. package/openapi/gen/models/trainingCostEstimateOneOfInputsTrainingReportAnyOfTokensEstimatorVersion.ts +2 -0
  93. package/openapi/gen/models/trainingCostEstimateOneOfInputsTrainingReportAnyOfTokensTotal.ts +2 -0
  94. package/openapi/gen/models/trainingCostEstimateOneOfInputsValidation.ts +3 -0
  95. package/openapi/gen/models/trainingCostEstimateOneOfInputsValidationAnyOf.ts +9 -0
  96. package/openapi/gen/models/trainingCostEstimateOneOfInputsValidationAnyOfFailure.ts +3 -0
  97. package/openapi/gen/models/trainingCostEstimateOneOfInputsValidationAnyOfFailureAnyOf.ts +7 -0
  98. package/openapi/gen/models/trainingCostEstimateOneOfInputsValidationAnyOfFailureAnyOfCode.ts +2 -0
  99. package/openapi/gen/models/trainingCostEstimateOneOfInputsValidationAnyOfReport.ts +3 -0
  100. package/openapi/gen/models/trainingCostEstimateOneOfInputsValidationAnyOfReportAnyOf.ts +9 -0
  101. package/openapi/gen/models/trainingCostEstimateOneOfInputsValidationAnyOfReportAnyOfErrorsItem.ts +5 -0
  102. package/openapi/gen/models/trainingCostEstimateOneOfInputsValidationAnyOfReportAnyOfTokens.ts +10 -0
  103. package/openapi/gen/models/trainingCostEstimateOneOfInputsValidationAnyOfReportAnyOfTokensEstimatorVersion.ts +2 -0
  104. package/openapi/gen/models/trainingCostEstimateOneOfInputsValidationAnyOfReportAnyOfTokensTotal.ts +2 -0
  105. package/openapi/gen/models/trainingCostEstimateOneOfIssuesItem.ts +8 -0
  106. package/openapi/gen/models/trainingCostEstimateOneOfIssuesItemCode.ts +2 -0
  107. package/openapi/gen/models/trainingCostEstimateOneOfIssuesItemPurpose.ts +2 -0
  108. package/openapi/gen/models/trainingCostEstimateOneOfTwoseven.ts +23 -0
  109. package/openapi/gen/models/trainingCostEstimateOneOfTwosevenBudget.ts +9 -0
  110. package/openapi/gen/models/trainingCostEstimateOneOfTwosevenInputs.ts +7 -0
  111. package/openapi/gen/models/trainingCostEstimateOneOfTwosevenInputsTraining.ts +9 -0
  112. package/openapi/gen/models/trainingCostEstimateOneOfTwosevenInputsTrainingFailure.ts +3 -0
  113. package/openapi/gen/models/trainingCostEstimateOneOfTwosevenInputsTrainingFailureAnyOf.ts +7 -0
  114. package/openapi/gen/models/trainingCostEstimateOneOfTwosevenInputsTrainingFailureAnyOfCode.ts +2 -0
  115. package/openapi/gen/models/trainingCostEstimateOneOfTwosevenInputsTrainingReport.ts +3 -0
  116. package/openapi/gen/models/trainingCostEstimateOneOfTwosevenInputsTrainingReportAnyOf.ts +9 -0
  117. package/openapi/gen/models/trainingCostEstimateOneOfTwosevenInputsTrainingReportAnyOfErrorsItem.ts +5 -0
  118. package/openapi/gen/models/trainingCostEstimateOneOfTwosevenInputsTrainingReportAnyOfTokens.ts +10 -0
  119. package/openapi/gen/models/trainingCostEstimateOneOfTwosevenInputsTrainingReportAnyOfTokensEstimatorVersion.ts +2 -0
  120. package/openapi/gen/models/trainingCostEstimateOneOfTwosevenInputsTrainingReportAnyOfTokensTotal.ts +2 -0
  121. package/openapi/gen/models/trainingCostEstimateOneOfTwosevenInputsValidation.ts +3 -0
  122. package/openapi/gen/models/trainingCostEstimateOneOfTwosevenInputsValidationAnyOf.ts +9 -0
  123. package/openapi/gen/models/trainingCostEstimateOneOfTwosevenInputsValidationAnyOfFailure.ts +3 -0
  124. package/openapi/gen/models/trainingCostEstimateOneOfTwosevenInputsValidationAnyOfFailureAnyOf.ts +7 -0
  125. package/openapi/gen/models/trainingCostEstimateOneOfTwosevenInputsValidationAnyOfFailureAnyOfCode.ts +2 -0
  126. package/openapi/gen/models/trainingCostEstimateOneOfTwosevenInputsValidationAnyOfReport.ts +3 -0
  127. package/openapi/gen/models/trainingCostEstimateOneOfTwosevenInputsValidationAnyOfReportAnyOf.ts +9 -0
  128. package/openapi/gen/models/trainingCostEstimateOneOfTwosevenInputsValidationAnyOfReportAnyOfErrorsItem.ts +5 -0
  129. package/openapi/gen/models/trainingCostEstimateOneOfTwosevenInputsValidationAnyOfReportAnyOfTokens.ts +10 -0
  130. package/openapi/gen/models/trainingCostEstimateOneOfTwosevenInputsValidationAnyOfReportAnyOfTokensEstimatorVersion.ts +2 -0
  131. package/openapi/gen/models/trainingCostEstimateOneOfTwosevenInputsValidationAnyOfReportAnyOfTokensTotal.ts +2 -0
  132. package/openapi/gen/models/trainingCostEstimateOneOfTwosevenIssuesItem.ts +8 -0
  133. package/openapi/gen/models/trainingCostEstimateOneOfTwosevenIssuesItemCode.ts +2 -0
  134. package/openapi/gen/models/trainingCostEstimateOneOfTwosevenIssuesItemPurpose.ts +2 -0
  135. package/openapi/gen/models/trainingDatasetItemFilter.ts +8 -0
  136. package/openapi/gen/models/trainingDatasetItemFilterFieldSourcesItem.ts +6 -0
  137. package/openapi/gen/models/trainingDatasetItemFilterFieldSourcesItemSourcesItem.ts +4 -0
  138. package/openapi/gen/models/trainingDatasetItemFilterFieldSourcesItemSourcesItemOneOf.ts +5 -0
  139. package/openapi/gen/models/trainingDatasetItemFilterFieldSourcesItemSourcesItemOneOfTwo.ts +5 -0
  140. package/openapi/gen/models/trainingDatasetItemFilterFieldValuesItem.ts +12 -0
  141. package/openapi/gen/models/trainingDatasetItemFilterFieldValuesItemOperator.ts +2 -0
  142. package/openapi/gen/models/trainingDatasetItemFilterFieldValuesItemSourcesItem.ts +4 -0
  143. package/openapi/gen/models/trainingDatasetItemFilterFieldValuesItemSourcesItemOneOf.ts +5 -0
  144. package/openapi/gen/models/trainingDatasetItemFilterFieldValuesItemSourcesItemOneOfTwo.ts +5 -0
  145. package/openapi/gen/models/trainingDatasetItemFilterFieldValuesItemValue.ts +2 -0
  146. package/openapi/gen/models/trainingDatasetItemFilterInput.ts +8 -0
  147. package/openapi/gen/models/trainingDatasetItemFilterInputFieldSourcesItem.ts +6 -0
  148. package/openapi/gen/models/trainingDatasetItemFilterInputFieldSourcesItemSourcesItem.ts +4 -0
  149. package/openapi/gen/models/trainingDatasetItemFilterInputFieldSourcesItemSourcesItemOneOf.ts +5 -0
  150. package/openapi/gen/models/trainingDatasetItemFilterInputFieldSourcesItemSourcesItemOneOfTwo.ts +5 -0
  151. package/openapi/gen/models/trainingDatasetItemFilterInputFieldValuesItem.ts +12 -0
  152. package/openapi/gen/models/trainingDatasetItemFilterInputFieldValuesItemOperator.ts +2 -0
  153. package/openapi/gen/models/trainingDatasetItemFilterInputFieldValuesItemSourcesItem.ts +4 -0
  154. package/openapi/gen/models/trainingDatasetItemFilterInputFieldValuesItemSourcesItemOneOf.ts +5 -0
  155. package/openapi/gen/models/trainingDatasetItemFilterInputFieldValuesItemSourcesItemOneOfTwo.ts +5 -0
  156. package/openapi/gen/models/trainingDatasetItemFilterInputFieldValuesItemValue.ts +2 -0
  157. package/openapi/gen/models/trainingDatasetSelection.ts +6 -0
  158. package/openapi/gen/models/trainingDatasetSelectionInput.ts +6 -0
  159. package/openapi/gen/models/trainingId.ts +2 -0
  160. package/openapi/gen/models/trainingModelId.ts +3 -0
  161. package/openapi/gen/models/trainingModelSource.ts +4 -0
  162. package/openapi/gen/models/trainingModelSourceOneOf.ts +6 -0
  163. package/openapi/gen/models/trainingModelSourceOneOfBaseModelId.ts +2 -0
  164. package/openapi/gen/models/trainingModelSourceOneOfThree.ts +5 -0
  165. package/openapi/gen/models/trainingRun.ts +39 -0
  166. package/openapi/gen/models/trainingRunBillingStatus.ts +2 -0
  167. package/openapi/gen/models/trainingRunBlockedReason.ts +2 -0
  168. package/openapi/gen/models/trainingRunChargedAmount.ts +2 -0
  169. package/openapi/gen/models/trainingRunError.ts +3 -0
  170. package/openapi/gen/models/trainingRunErrorAnyOf.ts +7 -0
  171. package/openapi/gen/models/trainingRunErrorAnyOfCode.ts +2 -0
  172. package/openapi/gen/models/trainingRunId.ts +2 -0
  173. package/openapi/gen/models/trainingRunInputs.ts +3 -0
  174. package/openapi/gen/models/trainingRunInputsAnyOf.ts +7 -0
  175. package/openapi/gen/models/trainingRunInputsAnyOfTraining.ts +15 -0
  176. package/openapi/gen/models/trainingRunInputsAnyOfTrainingContract.ts +2 -0
  177. package/openapi/gen/models/trainingRunInputsAnyOfTrainingItemFilter.ts +9 -0
  178. package/openapi/gen/models/trainingRunInputsAnyOfTrainingItemFilterFieldSourcesItem.ts +6 -0
  179. package/openapi/gen/models/trainingRunInputsAnyOfTrainingItemFilterFieldSourcesItemSourcesItem.ts +4 -0
  180. package/openapi/gen/models/trainingRunInputsAnyOfTrainingItemFilterFieldSourcesItemSourcesItemOneOf.ts +5 -0
  181. package/openapi/gen/models/trainingRunInputsAnyOfTrainingItemFilterFieldSourcesItemSourcesItemOneOfTwo.ts +5 -0
  182. package/openapi/gen/models/trainingRunInputsAnyOfTrainingItemFilterFieldValuesItem.ts +12 -0
  183. package/openapi/gen/models/trainingRunInputsAnyOfTrainingItemFilterFieldValuesItemOperator.ts +2 -0
  184. package/openapi/gen/models/trainingRunInputsAnyOfTrainingItemFilterFieldValuesItemSourcesItem.ts +4 -0
  185. package/openapi/gen/models/trainingRunInputsAnyOfTrainingItemFilterFieldValuesItemSourcesItemOneOf.ts +5 -0
  186. package/openapi/gen/models/trainingRunInputsAnyOfTrainingItemFilterFieldValuesItemSourcesItemOneOfTwo.ts +5 -0
  187. package/openapi/gen/models/trainingRunInputsAnyOfTrainingItemFilterFieldValuesItemValue.ts +2 -0
  188. package/openapi/gen/models/trainingRunInputsAnyOfTrainingReport.ts +9 -0
  189. package/openapi/gen/models/trainingRunInputsAnyOfTrainingReportErrorsItem.ts +5 -0
  190. package/openapi/gen/models/trainingRunInputsAnyOfTrainingReportTokens.ts +10 -0
  191. package/openapi/gen/models/trainingRunInputsAnyOfTrainingReportTokensEstimatorVersion.ts +2 -0
  192. package/openapi/gen/models/trainingRunInputsAnyOfTrainingReportTokensTotal.ts +2 -0
  193. package/openapi/gen/models/trainingRunInputsAnyOfValidation.ts +3 -0
  194. package/openapi/gen/models/trainingRunInputsAnyOfValidationAnyOf.ts +15 -0
  195. package/openapi/gen/models/trainingRunInputsAnyOfValidationAnyOfContract.ts +2 -0
  196. package/openapi/gen/models/trainingRunInputsAnyOfValidationAnyOfItemFilter.ts +9 -0
  197. package/openapi/gen/models/trainingRunInputsAnyOfValidationAnyOfItemFilterFieldSourcesItem.ts +6 -0
  198. package/openapi/gen/models/trainingRunInputsAnyOfValidationAnyOfItemFilterFieldSourcesItemSourcesItem.ts +4 -0
  199. package/openapi/gen/models/trainingRunInputsAnyOfValidationAnyOfItemFilterFieldSourcesItemSourcesItemOneOf.ts +5 -0
  200. package/openapi/gen/models/trainingRunInputsAnyOfValidationAnyOfItemFilterFieldSourcesItemSourcesItemOneOfTwo.ts +5 -0
  201. package/openapi/gen/models/trainingRunInputsAnyOfValidationAnyOfItemFilterFieldValuesItem.ts +12 -0
  202. package/openapi/gen/models/trainingRunInputsAnyOfValidationAnyOfItemFilterFieldValuesItemOperator.ts +2 -0
  203. package/openapi/gen/models/trainingRunInputsAnyOfValidationAnyOfItemFilterFieldValuesItemSourcesItem.ts +4 -0
  204. package/openapi/gen/models/trainingRunInputsAnyOfValidationAnyOfItemFilterFieldValuesItemSourcesItemOneOf.ts +5 -0
  205. package/openapi/gen/models/trainingRunInputsAnyOfValidationAnyOfItemFilterFieldValuesItemSourcesItemOneOfTwo.ts +5 -0
  206. package/openapi/gen/models/trainingRunInputsAnyOfValidationAnyOfItemFilterFieldValuesItemValue.ts +2 -0
  207. package/openapi/gen/models/trainingRunInputsAnyOfValidationAnyOfReport.ts +9 -0
  208. package/openapi/gen/models/trainingRunInputsAnyOfValidationAnyOfReportErrorsItem.ts +5 -0
  209. package/openapi/gen/models/trainingRunInputsAnyOfValidationAnyOfReportTokens.ts +10 -0
  210. package/openapi/gen/models/trainingRunInputsAnyOfValidationAnyOfReportTokensEstimatorVersion.ts +2 -0
  211. package/openapi/gen/models/trainingRunInputsAnyOfValidationAnyOfReportTokensTotal.ts +2 -0
  212. package/openapi/gen/models/trainingRunLogs.ts +9 -0
  213. package/openapi/gen/models/trainingRunLogsEntriesItem.ts +7 -0
  214. package/openapi/gen/models/trainingRunLogsEntriesItemLevel.ts +2 -0
  215. package/openapi/gen/models/trainingRunLogsNextCursor.ts +2 -0
  216. package/openapi/gen/models/trainingRunMessage.ts +2 -0
  217. package/openapi/gen/models/trainingRunOutputModelVersionRevision.ts +2 -0
  218. package/openapi/gen/models/trainingRunProgress.ts +3 -0
  219. package/openapi/gen/models/trainingRunProgressAnyOf.ts +10 -0
  220. package/openapi/gen/models/trainingRunProgressAnyOfMessage.ts +2 -0
  221. package/openapi/gen/models/trainingRunProgressAnyOfStep.ts +2 -0
  222. package/openapi/gen/models/trainingRunProgressAnyOfTotal.ts +2 -0
  223. package/openapi/gen/models/trainingRunQuote.ts +17 -0
  224. package/openapi/gen/models/trainingRunQuoteBudget.ts +9 -0
  225. package/openapi/gen/models/trainingRunQuoteInputs.ts +7 -0
  226. package/openapi/gen/models/trainingRunQuoteInputsTraining.ts +9 -0
  227. package/openapi/gen/models/trainingRunQuoteInputsTrainingFailure.ts +3 -0
  228. package/openapi/gen/models/trainingRunQuoteInputsTrainingFailureAnyOf.ts +7 -0
  229. package/openapi/gen/models/trainingRunQuoteInputsTrainingFailureAnyOfCode.ts +2 -0
  230. package/openapi/gen/models/trainingRunQuoteInputsTrainingReport.ts +3 -0
  231. package/openapi/gen/models/trainingRunQuoteInputsTrainingReportAnyOf.ts +9 -0
  232. package/openapi/gen/models/trainingRunQuoteInputsTrainingReportAnyOfErrorsItem.ts +5 -0
  233. package/openapi/gen/models/trainingRunQuoteInputsTrainingReportAnyOfTokens.ts +10 -0
  234. package/openapi/gen/models/trainingRunQuoteInputsTrainingReportAnyOfTokensEstimatorVersion.ts +2 -0
  235. package/openapi/gen/models/trainingRunQuoteInputsTrainingReportAnyOfTokensTotal.ts +2 -0
  236. package/openapi/gen/models/trainingRunQuoteInputsValidation.ts +3 -0
  237. package/openapi/gen/models/trainingRunQuoteInputsValidationAnyOf.ts +9 -0
  238. package/openapi/gen/models/trainingRunQuoteInputsValidationAnyOfFailure.ts +3 -0
  239. package/openapi/gen/models/trainingRunQuoteInputsValidationAnyOfFailureAnyOf.ts +7 -0
  240. package/openapi/gen/models/trainingRunQuoteInputsValidationAnyOfFailureAnyOfCode.ts +2 -0
  241. package/openapi/gen/models/trainingRunQuoteInputsValidationAnyOfReport.ts +3 -0
  242. package/openapi/gen/models/trainingRunQuoteInputsValidationAnyOfReportAnyOf.ts +9 -0
  243. package/openapi/gen/models/trainingRunQuoteInputsValidationAnyOfReportAnyOfErrorsItem.ts +5 -0
  244. package/openapi/gen/models/trainingRunQuoteInputsValidationAnyOfReportAnyOfTokens.ts +10 -0
  245. package/openapi/gen/models/trainingRunQuoteInputsValidationAnyOfReportAnyOfTokensEstimatorVersion.ts +2 -0
  246. package/openapi/gen/models/trainingRunQuoteInputsValidationAnyOfReportAnyOfTokensTotal.ts +2 -0
  247. package/openapi/gen/models/trainingRunStatus.ts +2 -0
  248. package/openapi/gen/models/updateTrainingMetadataBody.ts +5 -0
  249. package/package.json +1 -1
  250. package/skills/catalog.json +19 -7
  251. package/skills/toloka-build/SKILL.md +3 -3
  252. package/skills/toloka-build/references/workflow-and-cli.md +19 -2
  253. package/skills/toloka-report-issue/references/report-template.md +1 -1
  254. package/src/cli/auth.ts +1 -1
  255. package/src/cli/bin.ts +1 -1
  256. package/src/cli/cost.ts +1 -1
  257. package/src/cli/models.ts +107 -2
  258. package/src/cli/program.ts +243 -0
  259. package/src/cli/project-context.ts +9 -10
  260. package/src/cli/project.ts +2 -1
  261. package/src/cli/secrets.ts +4 -4
  262. package/src/cli/trainings.ts +627 -0
  263. package/src/client.ts +164 -30
  264. package/src/index.ts +2 -0
  265. package/openapi/gen/models/createDatasetExportBodyOneOf.ts +0 -6
  266. package/openapi/gen/models/createDatasetExportBodyOneOfFormat.ts +0 -2
  267. package/openapi/gen/models/createDatasetExportBodyOneOfThree.ts +0 -10
  268. package/openapi/gen/models/createDatasetExportBodyOneOfThreeContract.ts +0 -2
  269. package/openapi/gen/models/createDatasetExportBodyOneOfThreeFormat.ts +0 -2
  270. package/openapi/gen/models/createDatasetExportBodyOneOfThreeItemFilter.ts +0 -9
  271. package/openapi/gen/models/createDatasetExportBodyOneOfThreeItemFilterFieldSourcesItem.ts +0 -6
  272. package/openapi/gen/models/createDatasetExportBodyOneOfThreeItemFilterFieldSourcesItemSourcesItem.ts +0 -4
  273. package/openapi/gen/models/createDatasetExportBodyOneOfThreeItemFilterFieldSourcesItemSourcesItemOneOf.ts +0 -5
  274. package/openapi/gen/models/createDatasetExportBodyOneOfThreeItemFilterFieldSourcesItemSourcesItemOneOfTwo.ts +0 -5
  275. package/openapi/gen/models/createDatasetExportBodyOneOfThreeItemFilterFieldValuesItem.ts +0 -12
  276. package/openapi/gen/models/createDatasetExportBodyOneOfThreeItemFilterFieldValuesItemOperator.ts +0 -2
  277. package/openapi/gen/models/createDatasetExportBodyOneOfThreeItemFilterFieldValuesItemSourcesItem.ts +0 -4
  278. package/openapi/gen/models/createDatasetExportBodyOneOfThreeItemFilterFieldValuesItemSourcesItemOneOf.ts +0 -5
  279. package/openapi/gen/models/createDatasetExportBodyOneOfThreeItemFilterFieldValuesItemSourcesItemOneOfTwo.ts +0 -5
  280. package/openapi/gen/models/createDatasetExportBodyOneOfThreeItemFilterFieldValuesItemValue.ts +0 -2
@@ -0,0 +1,9 @@
1
+ import type { ModelVersionContentDownloadFilesItemMediaType } from './modelVersionContentDownloadFilesItemMediaType';
2
+
3
+ export type ModelVersionContentDownloadFilesItem = {
4
+ path: string;
5
+ byteSize: number;
6
+ mediaType: ModelVersionContentDownloadFilesItemMediaType;
7
+ sha256: string;
8
+ url: string;
9
+ };
@@ -0,0 +1,2 @@
1
+
2
+ export type ModelVersionContentDownloadFilesItemMediaType = 'application/octet-stream' | 'application/json';
@@ -0,0 +1,10 @@
1
+ import type { ModelVersionContentOneOfRuntimeBase } from './modelVersionContentOneOfRuntimeBase';
2
+ import type { ModelVersionContentOneOfManifestItem } from './modelVersionContentOneOfManifestItem';
3
+ import type { ModelVersionContentOneOfParent } from './modelVersionContentOneOfParent';
4
+
5
+ export type ModelVersionContentOneOf = {
6
+ runtimeBase: ModelVersionContentOneOfRuntimeBase;
7
+ manifest: ModelVersionContentOneOfManifestItem[];
8
+ kind: 'lora_adapter';
9
+ parent: ModelVersionContentOneOfParent;
10
+ };
@@ -0,0 +1,8 @@
1
+ import type { ModelVersionContentOneOfManifestItemMediaType } from './modelVersionContentOneOfManifestItemMediaType';
2
+
3
+ export type ModelVersionContentOneOfManifestItem = {
4
+ path: string;
5
+ byteSize: number;
6
+ mediaType: ModelVersionContentOneOfManifestItemMediaType;
7
+ sha256: string;
8
+ };
@@ -0,0 +1,2 @@
1
+
2
+ export type ModelVersionContentOneOfManifestItemMediaType = 'application/octet-stream' | 'application/json';
@@ -0,0 +1,8 @@
1
+ import type { ModelVersionContentOneOfNineRuntimeBase } from './modelVersionContentOneOfNineRuntimeBase';
2
+ import type { ModelVersionContentOneOfNineManifestItem } from './modelVersionContentOneOfNineManifestItem';
3
+
4
+ export type ModelVersionContentOneOfNine = {
5
+ runtimeBase: ModelVersionContentOneOfNineRuntimeBase;
6
+ manifest: ModelVersionContentOneOfNineManifestItem[];
7
+ kind: 'full';
8
+ };
@@ -0,0 +1,8 @@
1
+ import type { ModelVersionContentOneOfNineManifestItemMediaType } from './modelVersionContentOneOfNineManifestItemMediaType';
2
+
3
+ export type ModelVersionContentOneOfNineManifestItem = {
4
+ path: string;
5
+ byteSize: number;
6
+ mediaType: ModelVersionContentOneOfNineManifestItemMediaType;
7
+ sha256: string;
8
+ };
@@ -0,0 +1,2 @@
1
+
2
+ export type ModelVersionContentOneOfNineManifestItemMediaType = 'application/octet-stream' | 'application/json';
@@ -0,0 +1,2 @@
1
+
2
+ export type ModelVersionContentOneOfNineRuntimeBase = 'qwen3-4b' | 'qwen3-8b' | 'qwen3-32b' | 'qwen3-235b';
@@ -0,0 +1,4 @@
1
+ import type { ModelVersionContentOneOfParentOneOf } from './modelVersionContentOneOfParentOneOf';
2
+ import type { ModelVersionContentOneOfParentOneOfThree } from './modelVersionContentOneOfParentOneOfThree';
3
+
4
+ export type ModelVersionContentOneOfParent = ModelVersionContentOneOfParentOneOf | ModelVersionContentOneOfParentOneOfThree;
@@ -0,0 +1,6 @@
1
+ import type { ModelVersionContentOneOfParentOneOfBaseModelId } from './modelVersionContentOneOfParentOneOfBaseModelId';
2
+
3
+ export type ModelVersionContentOneOfParentOneOf = {
4
+ type: 'base_model';
5
+ baseModelId: ModelVersionContentOneOfParentOneOfBaseModelId;
6
+ };
@@ -0,0 +1,2 @@
1
+
2
+ export type ModelVersionContentOneOfParentOneOfBaseModelId = 'qwen3-4b' | 'qwen3-8b' | 'qwen3-32b' | 'qwen3-235b';
@@ -0,0 +1,5 @@
1
+
2
+ export type ModelVersionContentOneOfParentOneOfThree = {
3
+ type: 'model_version';
4
+ modelVersionId: string;
5
+ };
@@ -0,0 +1,2 @@
1
+
2
+ export type ModelVersionContentOneOfRuntimeBase = 'qwen3-4b' | 'qwen3-8b' | 'qwen3-32b' | 'qwen3-235b';
@@ -0,0 +1,5 @@
1
+
2
+ export type ModelVersionProducer = {
3
+ type: 'training_run';
4
+ trainingRunId: string;
5
+ };
@@ -0,0 +1,2 @@
1
+
2
+ export type PrepareTrainingCostEstimateInputsBody = { [key: string]: unknown };
@@ -0,0 +1,5 @@
1
+ import type { TrainingConfigurationInput } from './trainingConfigurationInput';
2
+
3
+ export type ReplaceTrainingConfigurationBody = {
4
+ configuration: TrainingConfigurationInput;
5
+ };
@@ -0,0 +1,13 @@
1
+ import type { TrainingModelSource } from './trainingModelSource';
2
+ import type { TrainingDatasetSelection } from './trainingDatasetSelection';
3
+ import type { SftTrainingConfigurationRegime } from './sftTrainingConfigurationRegime';
4
+
5
+ export interface SftTrainingConfiguration {
6
+ method: 'sft';
7
+ source: TrainingModelSource;
8
+ training: TrainingDatasetSelection;
9
+ validation?: TrainingDatasetSelection;
10
+ regime: SftTrainingConfigurationRegime;
11
+ epochs: number;
12
+ evalSteps: number;
13
+ }
@@ -0,0 +1,13 @@
1
+ import type { TrainingModelSource } from './trainingModelSource';
2
+ import type { TrainingDatasetSelectionInput } from './trainingDatasetSelectionInput';
3
+ import type { SftTrainingConfigurationInputRegime } from './sftTrainingConfigurationInputRegime';
4
+
5
+ export interface SftTrainingConfigurationInput {
6
+ method: 'sft';
7
+ source: TrainingModelSource;
8
+ training: TrainingDatasetSelectionInput;
9
+ validation?: TrainingDatasetSelectionInput;
10
+ regime?: SftTrainingConfigurationInputRegime;
11
+ epochs?: number;
12
+ evalSteps?: number;
13
+ }
@@ -0,0 +1,2 @@
1
+
2
+ export type SftTrainingConfigurationInputRegime = 'low' | 'medium' | 'high';
@@ -0,0 +1,2 @@
1
+
2
+ export type SftTrainingConfigurationRegime = 'low' | 'medium' | 'high';
@@ -0,0 +1,16 @@
1
+ import type { TrainingId } from './trainingId';
2
+ import type { ProjectId } from './projectId';
3
+ import type { TrainingModelId } from './trainingModelId';
4
+ import type { TrainingConfiguration } from './trainingConfiguration';
5
+ import type { TrainingArchivedAt } from './trainingArchivedAt';
6
+
7
+ export interface Training {
8
+ id: TrainingId;
9
+ projectId: ProjectId;
10
+ modelId: TrainingModelId;
11
+ name: string;
12
+ configuration: TrainingConfiguration;
13
+ archivedAt: TrainingArchivedAt;
14
+ createdAt: string;
15
+ updatedAt: string;
16
+ }
@@ -0,0 +1,2 @@
1
+
2
+ export type TrainingArchivedAt = string | null;
@@ -0,0 +1,4 @@
1
+ import type { SftTrainingConfiguration } from './sftTrainingConfiguration';
2
+ import type { GistingTrainingConfiguration } from './gistingTrainingConfiguration';
3
+
4
+ export type TrainingConfiguration = SftTrainingConfiguration | GistingTrainingConfiguration;
@@ -0,0 +1,4 @@
1
+ import type { SftTrainingConfigurationInput } from './sftTrainingConfigurationInput';
2
+ import type { GistingTrainingConfigurationInput } from './gistingTrainingConfigurationInput';
3
+
4
+ export type TrainingConfigurationInput = SftTrainingConfigurationInput | GistingTrainingConfigurationInput;
@@ -0,0 +1,4 @@
1
+ import type { TrainingCostEstimateOneOf } from './trainingCostEstimateOneOf';
2
+ import type { TrainingCostEstimateOneOfTwoseven } from './trainingCostEstimateOneOfTwoseven';
3
+
4
+ export type TrainingCostEstimate = TrainingCostEstimateOneOf | TrainingCostEstimateOneOfTwoseven;
@@ -0,0 +1,12 @@
1
+ import type { TrainingCostEstimateInputSetId } from './trainingCostEstimateInputSetId';
2
+ import type { TrainingId } from './trainingId';
3
+ import type { TrainingCostEstimateInputSetExports } from './trainingCostEstimateInputSetExports';
4
+
5
+ export interface TrainingCostEstimateInputSet {
6
+ id: TrainingCostEstimateInputSetId;
7
+ trainingId: TrainingId;
8
+ cutoff: string;
9
+ expiresAt: string;
10
+ exports: TrainingCostEstimateInputSetExports;
11
+ createdAt: string;
12
+ }
@@ -0,0 +1,6 @@
1
+ import type { TrainingCostEstimateInputSetExportsValidation } from './trainingCostEstimateInputSetExportsValidation';
2
+
3
+ export type TrainingCostEstimateInputSetExports = {
4
+ training: string;
5
+ validation: TrainingCostEstimateInputSetExportsValidation;
6
+ };
@@ -0,0 +1,2 @@
1
+
2
+ export type TrainingCostEstimateInputSetExportsValidation = string | null;
@@ -0,0 +1,2 @@
1
+
2
+ export type TrainingCostEstimateInputSetId = string;
@@ -0,0 +1,16 @@
1
+ import type { TrainingId } from './trainingId';
2
+ import type { TrainingCostEstimateInputSetId } from './trainingCostEstimateInputSetId';
3
+ import type { TrainingCostEstimateOneOfInputs } from './trainingCostEstimateOneOfInputs';
4
+ import type { TrainingCostEstimateOneOfIssuesItem } from './trainingCostEstimateOneOfIssuesItem';
5
+
6
+ export type TrainingCostEstimateOneOf = {
7
+ trainingId: TrainingId;
8
+ inputSetId: TrainingCostEstimateInputSetId;
9
+ cutoff: string;
10
+ inputs: TrainingCostEstimateOneOfInputs;
11
+ capabilityVersion: string;
12
+ pricingVersion: string;
13
+ calculatedAt: string;
14
+ status: 'blocked';
15
+ issues: TrainingCostEstimateOneOfIssuesItem[];
16
+ };
@@ -0,0 +1,7 @@
1
+ import type { TrainingCostEstimateOneOfInputsTraining } from './trainingCostEstimateOneOfInputsTraining';
2
+ import type { TrainingCostEstimateOneOfInputsValidation } from './trainingCostEstimateOneOfInputsValidation';
3
+
4
+ export type TrainingCostEstimateOneOfInputs = {
5
+ training: TrainingCostEstimateOneOfInputsTraining;
6
+ validation: TrainingCostEstimateOneOfInputsValidation;
7
+ };
@@ -0,0 +1,9 @@
1
+ import type { TrainingCostEstimateOneOfInputsTrainingReport } from './trainingCostEstimateOneOfInputsTrainingReport';
2
+ import type { TrainingCostEstimateOneOfInputsTrainingFailure } from './trainingCostEstimateOneOfInputsTrainingFailure';
3
+
4
+ export type TrainingCostEstimateOneOfInputsTraining = {
5
+ datasetId: string;
6
+ datasetExportId: string;
7
+ report: TrainingCostEstimateOneOfInputsTrainingReport;
8
+ failure: TrainingCostEstimateOneOfInputsTrainingFailure;
9
+ };
@@ -0,0 +1,3 @@
1
+ import type { TrainingCostEstimateOneOfInputsTrainingFailureAnyOf } from './trainingCostEstimateOneOfInputsTrainingFailureAnyOf';
2
+
3
+ export type TrainingCostEstimateOneOfInputsTrainingFailure = TrainingCostEstimateOneOfInputsTrainingFailureAnyOf | null;
@@ -0,0 +1,7 @@
1
+ import type { TrainingCostEstimateOneOfInputsTrainingFailureAnyOfCode } from './trainingCostEstimateOneOfInputsTrainingFailureAnyOfCode';
2
+
3
+ export type TrainingCostEstimateOneOfInputsTrainingFailureAnyOf = {
4
+ timestamp: string;
5
+ code: TrainingCostEstimateOneOfInputsTrainingFailureAnyOfCode;
6
+ message: string;
7
+ };
@@ -0,0 +1,2 @@
1
+
2
+ export type TrainingCostEstimateOneOfInputsTrainingFailureAnyOfCode = 'empty_selection' | 'size_limit_exceeded' | 'assembly_failed';
@@ -0,0 +1,3 @@
1
+ import type { TrainingCostEstimateOneOfInputsTrainingReportAnyOf } from './trainingCostEstimateOneOfInputsTrainingReportAnyOf';
2
+
3
+ export type TrainingCostEstimateOneOfInputsTrainingReport = TrainingCostEstimateOneOfInputsTrainingReportAnyOf | null;
@@ -0,0 +1,9 @@
1
+ import type { TrainingCostEstimateOneOfInputsTrainingReportAnyOfErrorsItem } from './trainingCostEstimateOneOfInputsTrainingReportAnyOfErrorsItem';
2
+ import type { TrainingCostEstimateOneOfInputsTrainingReportAnyOfTokens } from './trainingCostEstimateOneOfInputsTrainingReportAnyOfTokens';
3
+
4
+ export type TrainingCostEstimateOneOfInputsTrainingReportAnyOf = {
5
+ validCount: number;
6
+ invalidCount: number;
7
+ errors: TrainingCostEstimateOneOfInputsTrainingReportAnyOfErrorsItem[];
8
+ tokens: TrainingCostEstimateOneOfInputsTrainingReportAnyOfTokens;
9
+ };
@@ -0,0 +1,5 @@
1
+
2
+ export type TrainingCostEstimateOneOfInputsTrainingReportAnyOfErrorsItem = {
3
+ itemIndex: number;
4
+ reason: string;
5
+ };
@@ -0,0 +1,10 @@
1
+ import type { TrainingCostEstimateOneOfInputsTrainingReportAnyOfTokensTotal } from './trainingCostEstimateOneOfInputsTrainingReportAnyOfTokensTotal';
2
+ import type { TrainingCostEstimateOneOfInputsTrainingReportAnyOfTokensEstimatorVersion } from './trainingCostEstimateOneOfInputsTrainingReportAnyOfTokensEstimatorVersion';
3
+
4
+ export type TrainingCostEstimateOneOfInputsTrainingReportAnyOfTokens = {
5
+ p50: number;
6
+ p95: number;
7
+ max: number;
8
+ total?: TrainingCostEstimateOneOfInputsTrainingReportAnyOfTokensTotal;
9
+ estimatorVersion?: TrainingCostEstimateOneOfInputsTrainingReportAnyOfTokensEstimatorVersion;
10
+ };
@@ -0,0 +1,2 @@
1
+
2
+ export type TrainingCostEstimateOneOfInputsTrainingReportAnyOfTokensEstimatorVersion = 'utf16-code-units-div-4-v1' | null;
@@ -0,0 +1,2 @@
1
+
2
+ export type TrainingCostEstimateOneOfInputsTrainingReportAnyOfTokensTotal = number | null;
@@ -0,0 +1,3 @@
1
+ import type { TrainingCostEstimateOneOfInputsValidationAnyOf } from './trainingCostEstimateOneOfInputsValidationAnyOf';
2
+
3
+ export type TrainingCostEstimateOneOfInputsValidation = TrainingCostEstimateOneOfInputsValidationAnyOf | null;
@@ -0,0 +1,9 @@
1
+ import type { TrainingCostEstimateOneOfInputsValidationAnyOfReport } from './trainingCostEstimateOneOfInputsValidationAnyOfReport';
2
+ import type { TrainingCostEstimateOneOfInputsValidationAnyOfFailure } from './trainingCostEstimateOneOfInputsValidationAnyOfFailure';
3
+
4
+ export type TrainingCostEstimateOneOfInputsValidationAnyOf = {
5
+ datasetId: string;
6
+ datasetExportId: string;
7
+ report: TrainingCostEstimateOneOfInputsValidationAnyOfReport;
8
+ failure: TrainingCostEstimateOneOfInputsValidationAnyOfFailure;
9
+ };
@@ -0,0 +1,3 @@
1
+ import type { TrainingCostEstimateOneOfInputsValidationAnyOfFailureAnyOf } from './trainingCostEstimateOneOfInputsValidationAnyOfFailureAnyOf';
2
+
3
+ export type TrainingCostEstimateOneOfInputsValidationAnyOfFailure = TrainingCostEstimateOneOfInputsValidationAnyOfFailureAnyOf | null;
@@ -0,0 +1,7 @@
1
+ import type { TrainingCostEstimateOneOfInputsValidationAnyOfFailureAnyOfCode } from './trainingCostEstimateOneOfInputsValidationAnyOfFailureAnyOfCode';
2
+
3
+ export type TrainingCostEstimateOneOfInputsValidationAnyOfFailureAnyOf = {
4
+ timestamp: string;
5
+ code: TrainingCostEstimateOneOfInputsValidationAnyOfFailureAnyOfCode;
6
+ message: string;
7
+ };
@@ -0,0 +1,2 @@
1
+
2
+ export type TrainingCostEstimateOneOfInputsValidationAnyOfFailureAnyOfCode = 'empty_selection' | 'size_limit_exceeded' | 'assembly_failed';
@@ -0,0 +1,3 @@
1
+ import type { TrainingCostEstimateOneOfInputsValidationAnyOfReportAnyOf } from './trainingCostEstimateOneOfInputsValidationAnyOfReportAnyOf';
2
+
3
+ export type TrainingCostEstimateOneOfInputsValidationAnyOfReport = TrainingCostEstimateOneOfInputsValidationAnyOfReportAnyOf | null;
@@ -0,0 +1,9 @@
1
+ import type { TrainingCostEstimateOneOfInputsValidationAnyOfReportAnyOfErrorsItem } from './trainingCostEstimateOneOfInputsValidationAnyOfReportAnyOfErrorsItem';
2
+ import type { TrainingCostEstimateOneOfInputsValidationAnyOfReportAnyOfTokens } from './trainingCostEstimateOneOfInputsValidationAnyOfReportAnyOfTokens';
3
+
4
+ export type TrainingCostEstimateOneOfInputsValidationAnyOfReportAnyOf = {
5
+ validCount: number;
6
+ invalidCount: number;
7
+ errors: TrainingCostEstimateOneOfInputsValidationAnyOfReportAnyOfErrorsItem[];
8
+ tokens: TrainingCostEstimateOneOfInputsValidationAnyOfReportAnyOfTokens;
9
+ };
@@ -0,0 +1,5 @@
1
+
2
+ export type TrainingCostEstimateOneOfInputsValidationAnyOfReportAnyOfErrorsItem = {
3
+ itemIndex: number;
4
+ reason: string;
5
+ };
@@ -0,0 +1,10 @@
1
+ import type { TrainingCostEstimateOneOfInputsValidationAnyOfReportAnyOfTokensTotal } from './trainingCostEstimateOneOfInputsValidationAnyOfReportAnyOfTokensTotal';
2
+ import type { TrainingCostEstimateOneOfInputsValidationAnyOfReportAnyOfTokensEstimatorVersion } from './trainingCostEstimateOneOfInputsValidationAnyOfReportAnyOfTokensEstimatorVersion';
3
+
4
+ export type TrainingCostEstimateOneOfInputsValidationAnyOfReportAnyOfTokens = {
5
+ p50: number;
6
+ p95: number;
7
+ max: number;
8
+ total?: TrainingCostEstimateOneOfInputsValidationAnyOfReportAnyOfTokensTotal;
9
+ estimatorVersion?: TrainingCostEstimateOneOfInputsValidationAnyOfReportAnyOfTokensEstimatorVersion;
10
+ };
@@ -0,0 +1,2 @@
1
+
2
+ export type TrainingCostEstimateOneOfInputsValidationAnyOfReportAnyOfTokensEstimatorVersion = 'utf16-code-units-div-4-v1' | null;
@@ -0,0 +1,2 @@
1
+
2
+ export type TrainingCostEstimateOneOfInputsValidationAnyOfReportAnyOfTokensTotal = number | null;
@@ -0,0 +1,8 @@
1
+ import type { TrainingCostEstimateOneOfIssuesItemCode } from './trainingCostEstimateOneOfIssuesItemCode';
2
+ import type { TrainingCostEstimateOneOfIssuesItemPurpose } from './trainingCostEstimateOneOfIssuesItemPurpose';
3
+
4
+ export type TrainingCostEstimateOneOfIssuesItem = {
5
+ code: TrainingCostEstimateOneOfIssuesItemCode;
6
+ message: string;
7
+ purpose: TrainingCostEstimateOneOfIssuesItemPurpose;
8
+ };
@@ -0,0 +1,2 @@
1
+
2
+ export type TrainingCostEstimateOneOfIssuesItemCode = 'unsupported_source' | 'export_failed' | 'invalid_examples' | 'empty_selection' | 'overlapping_selections' | 'row_limit_exceeded' | 'token_limit_exceeded' | 'estimator_mismatch' | 'unsupported_duration';
@@ -0,0 +1,2 @@
1
+
2
+ export type TrainingCostEstimateOneOfIssuesItemPurpose = 'training' | 'validation' | null;
@@ -0,0 +1,23 @@
1
+ import type { TrainingId } from './trainingId';
2
+ import type { TrainingCostEstimateInputSetId } from './trainingCostEstimateInputSetId';
3
+ import type { TrainingCostEstimateOneOfTwosevenInputs } from './trainingCostEstimateOneOfTwosevenInputs';
4
+ import type { TrainingCostEstimateOneOfTwosevenIssuesItem } from './trainingCostEstimateOneOfTwosevenIssuesItem';
5
+ import type { TrainingCostEstimateOneOfTwosevenBudget } from './trainingCostEstimateOneOfTwosevenBudget';
6
+
7
+ export type TrainingCostEstimateOneOfTwoseven = {
8
+ trainingId: TrainingId;
9
+ inputSetId: TrainingCostEstimateInputSetId;
10
+ cutoff: string;
11
+ inputs: TrainingCostEstimateOneOfTwosevenInputs;
12
+ capabilityVersion: string;
13
+ pricingVersion: string;
14
+ calculatedAt: string;
15
+ status: 'ready';
16
+ issues: TrainingCostEstimateOneOfTwosevenIssuesItem[];
17
+ budget: TrainingCostEstimateOneOfTwosevenBudget;
18
+ basePricePerGpuHour: string;
19
+ marginMultiplier: string;
20
+ maximumCharge: string;
21
+ currency: 'USD';
22
+ fingerprint: string;
23
+ };
@@ -0,0 +1,9 @@
1
+
2
+ export type TrainingCostEstimateOneOfTwosevenBudget = {
3
+ methodWorkUnits: number;
4
+ estimatedGpuSeconds: number;
5
+ estimatedWallSeconds: number;
6
+ maximumWallSeconds: number;
7
+ maximumGpuSeconds: number;
8
+ gpuCount: number;
9
+ };
@@ -0,0 +1,7 @@
1
+ import type { TrainingCostEstimateOneOfTwosevenInputsTraining } from './trainingCostEstimateOneOfTwosevenInputsTraining';
2
+ import type { TrainingCostEstimateOneOfTwosevenInputsValidation } from './trainingCostEstimateOneOfTwosevenInputsValidation';
3
+
4
+ export type TrainingCostEstimateOneOfTwosevenInputs = {
5
+ training: TrainingCostEstimateOneOfTwosevenInputsTraining;
6
+ validation: TrainingCostEstimateOneOfTwosevenInputsValidation;
7
+ };
@@ -0,0 +1,9 @@
1
+ import type { TrainingCostEstimateOneOfTwosevenInputsTrainingReport } from './trainingCostEstimateOneOfTwosevenInputsTrainingReport';
2
+ import type { TrainingCostEstimateOneOfTwosevenInputsTrainingFailure } from './trainingCostEstimateOneOfTwosevenInputsTrainingFailure';
3
+
4
+ export type TrainingCostEstimateOneOfTwosevenInputsTraining = {
5
+ datasetId: string;
6
+ datasetExportId: string;
7
+ report: TrainingCostEstimateOneOfTwosevenInputsTrainingReport;
8
+ failure: TrainingCostEstimateOneOfTwosevenInputsTrainingFailure;
9
+ };
@@ -0,0 +1,3 @@
1
+ import type { TrainingCostEstimateOneOfTwosevenInputsTrainingFailureAnyOf } from './trainingCostEstimateOneOfTwosevenInputsTrainingFailureAnyOf';
2
+
3
+ export type TrainingCostEstimateOneOfTwosevenInputsTrainingFailure = TrainingCostEstimateOneOfTwosevenInputsTrainingFailureAnyOf | null;
@@ -0,0 +1,7 @@
1
+ import type { TrainingCostEstimateOneOfTwosevenInputsTrainingFailureAnyOfCode } from './trainingCostEstimateOneOfTwosevenInputsTrainingFailureAnyOfCode';
2
+
3
+ export type TrainingCostEstimateOneOfTwosevenInputsTrainingFailureAnyOf = {
4
+ timestamp: string;
5
+ code: TrainingCostEstimateOneOfTwosevenInputsTrainingFailureAnyOfCode;
6
+ message: string;
7
+ };
@@ -0,0 +1,2 @@
1
+
2
+ export type TrainingCostEstimateOneOfTwosevenInputsTrainingFailureAnyOfCode = 'empty_selection' | 'size_limit_exceeded' | 'assembly_failed';
@@ -0,0 +1,3 @@
1
+ import type { TrainingCostEstimateOneOfTwosevenInputsTrainingReportAnyOf } from './trainingCostEstimateOneOfTwosevenInputsTrainingReportAnyOf';
2
+
3
+ export type TrainingCostEstimateOneOfTwosevenInputsTrainingReport = TrainingCostEstimateOneOfTwosevenInputsTrainingReportAnyOf | null;
@@ -0,0 +1,9 @@
1
+ import type { TrainingCostEstimateOneOfTwosevenInputsTrainingReportAnyOfErrorsItem } from './trainingCostEstimateOneOfTwosevenInputsTrainingReportAnyOfErrorsItem';
2
+ import type { TrainingCostEstimateOneOfTwosevenInputsTrainingReportAnyOfTokens } from './trainingCostEstimateOneOfTwosevenInputsTrainingReportAnyOfTokens';
3
+
4
+ export type TrainingCostEstimateOneOfTwosevenInputsTrainingReportAnyOf = {
5
+ validCount: number;
6
+ invalidCount: number;
7
+ errors: TrainingCostEstimateOneOfTwosevenInputsTrainingReportAnyOfErrorsItem[];
8
+ tokens: TrainingCostEstimateOneOfTwosevenInputsTrainingReportAnyOfTokens;
9
+ };
@@ -0,0 +1,5 @@
1
+
2
+ export type TrainingCostEstimateOneOfTwosevenInputsTrainingReportAnyOfErrorsItem = {
3
+ itemIndex: number;
4
+ reason: string;
5
+ };
@@ -0,0 +1,10 @@
1
+ import type { TrainingCostEstimateOneOfTwosevenInputsTrainingReportAnyOfTokensTotal } from './trainingCostEstimateOneOfTwosevenInputsTrainingReportAnyOfTokensTotal';
2
+ import type { TrainingCostEstimateOneOfTwosevenInputsTrainingReportAnyOfTokensEstimatorVersion } from './trainingCostEstimateOneOfTwosevenInputsTrainingReportAnyOfTokensEstimatorVersion';
3
+
4
+ export type TrainingCostEstimateOneOfTwosevenInputsTrainingReportAnyOfTokens = {
5
+ p50: number;
6
+ p95: number;
7
+ max: number;
8
+ total?: TrainingCostEstimateOneOfTwosevenInputsTrainingReportAnyOfTokensTotal;
9
+ estimatorVersion?: TrainingCostEstimateOneOfTwosevenInputsTrainingReportAnyOfTokensEstimatorVersion;
10
+ };
@@ -0,0 +1,2 @@
1
+
2
+ export type TrainingCostEstimateOneOfTwosevenInputsTrainingReportAnyOfTokensEstimatorVersion = 'utf16-code-units-div-4-v1' | null;
@@ -0,0 +1,2 @@
1
+
2
+ export type TrainingCostEstimateOneOfTwosevenInputsTrainingReportAnyOfTokensTotal = number | null;
@@ -0,0 +1,3 @@
1
+ import type { TrainingCostEstimateOneOfTwosevenInputsValidationAnyOf } from './trainingCostEstimateOneOfTwosevenInputsValidationAnyOf';
2
+
3
+ export type TrainingCostEstimateOneOfTwosevenInputsValidation = TrainingCostEstimateOneOfTwosevenInputsValidationAnyOf | null;
@@ -0,0 +1,9 @@
1
+ import type { TrainingCostEstimateOneOfTwosevenInputsValidationAnyOfReport } from './trainingCostEstimateOneOfTwosevenInputsValidationAnyOfReport';
2
+ import type { TrainingCostEstimateOneOfTwosevenInputsValidationAnyOfFailure } from './trainingCostEstimateOneOfTwosevenInputsValidationAnyOfFailure';
3
+
4
+ export type TrainingCostEstimateOneOfTwosevenInputsValidationAnyOf = {
5
+ datasetId: string;
6
+ datasetExportId: string;
7
+ report: TrainingCostEstimateOneOfTwosevenInputsValidationAnyOfReport;
8
+ failure: TrainingCostEstimateOneOfTwosevenInputsValidationAnyOfFailure;
9
+ };
@@ -0,0 +1,3 @@
1
+ import type { TrainingCostEstimateOneOfTwosevenInputsValidationAnyOfFailureAnyOf } from './trainingCostEstimateOneOfTwosevenInputsValidationAnyOfFailureAnyOf';
2
+
3
+ export type TrainingCostEstimateOneOfTwosevenInputsValidationAnyOfFailure = TrainingCostEstimateOneOfTwosevenInputsValidationAnyOfFailureAnyOf | null;
@@ -0,0 +1,7 @@
1
+ import type { TrainingCostEstimateOneOfTwosevenInputsValidationAnyOfFailureAnyOfCode } from './trainingCostEstimateOneOfTwosevenInputsValidationAnyOfFailureAnyOfCode';
2
+
3
+ export type TrainingCostEstimateOneOfTwosevenInputsValidationAnyOfFailureAnyOf = {
4
+ timestamp: string;
5
+ code: TrainingCostEstimateOneOfTwosevenInputsValidationAnyOfFailureAnyOfCode;
6
+ message: string;
7
+ };
@@ -0,0 +1,2 @@
1
+
2
+ export type TrainingCostEstimateOneOfTwosevenInputsValidationAnyOfFailureAnyOfCode = 'empty_selection' | 'size_limit_exceeded' | 'assembly_failed';
@@ -0,0 +1,3 @@
1
+ import type { TrainingCostEstimateOneOfTwosevenInputsValidationAnyOfReportAnyOf } from './trainingCostEstimateOneOfTwosevenInputsValidationAnyOfReportAnyOf';
2
+
3
+ export type TrainingCostEstimateOneOfTwosevenInputsValidationAnyOfReport = TrainingCostEstimateOneOfTwosevenInputsValidationAnyOfReportAnyOf | null;
@@ -0,0 +1,9 @@
1
+ import type { TrainingCostEstimateOneOfTwosevenInputsValidationAnyOfReportAnyOfErrorsItem } from './trainingCostEstimateOneOfTwosevenInputsValidationAnyOfReportAnyOfErrorsItem';
2
+ import type { TrainingCostEstimateOneOfTwosevenInputsValidationAnyOfReportAnyOfTokens } from './trainingCostEstimateOneOfTwosevenInputsValidationAnyOfReportAnyOfTokens';
3
+
4
+ export type TrainingCostEstimateOneOfTwosevenInputsValidationAnyOfReportAnyOf = {
5
+ validCount: number;
6
+ invalidCount: number;
7
+ errors: TrainingCostEstimateOneOfTwosevenInputsValidationAnyOfReportAnyOfErrorsItem[];
8
+ tokens: TrainingCostEstimateOneOfTwosevenInputsValidationAnyOfReportAnyOfTokens;
9
+ };
@@ -0,0 +1,5 @@
1
+
2
+ export type TrainingCostEstimateOneOfTwosevenInputsValidationAnyOfReportAnyOfErrorsItem = {
3
+ itemIndex: number;
4
+ reason: string;
5
+ };