@toloka-platform/sdk 0.1.0 → 0.2.0-preview.2
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 +2 -2
- package/dist/cli/toloka.js +138 -136
- 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/docs/cli-v2.md +1 -1
- package/docs/cli.md +3 -1
- package/docs/getting-started.md +1 -1
- package/docs/limitations.md +2 -2
- package/docs/testing.md +1 -1
- package/examples/face-image-collection/README.md +1 -1
- package/openapi/gen/api.ts +1482 -777
- package/openapi/gen/models/createDatasetExportBody.ts +5 -3
- package/openapi/gen/models/createDatasetExportBodyFormat.ts +2 -0
- package/openapi/gen/models/createProjectTrainingBody.ts +6 -0
- package/openapi/gen/models/createTrainingRunBody.ts +6 -0
- package/openapi/gen/models/datasetExportReportTokens.ts +4 -1
- package/openapi/gen/models/datasetExportReportTokensEstimatorVersion.ts +2 -0
- package/openapi/gen/models/datasetExportReportTokensTotal.ts +2 -0
- package/openapi/gen/models/estimateTrainingCostBody.ts +5 -0
- package/openapi/gen/models/exportJob.ts +2 -0
- package/openapi/gen/models/exportJobError.ts +3 -0
- package/openapi/gen/models/exportJobErrorAnyOf.ts +7 -0
- package/openapi/gen/models/exportJobErrorAnyOfCode.ts +2 -0
- package/openapi/gen/models/exportJobStatus.ts +1 -1
- package/openapi/gen/models/generationNodeSettingsAudienceAndPricingOneOfOneoneGenerationModelId.ts +1 -1
- package/openapi/gen/models/generationNodeSettingsQualityAssuranceOneOfFourLlmQaModelId.ts +1 -1
- package/openapi/gen/models/generationNodeSettingsQualityAssuranceOneOfLlmQaModelId.ts +1 -1
- package/openapi/gen/models/getTrainingRunLogsParams.ts +5 -0
- package/openapi/gen/models/gistingTrainingConfiguration.ts +13 -0
- package/openapi/gen/models/gistingTrainingConfigurationInput.ts +13 -0
- package/openapi/gen/models/gistingTrainingConfigurationInputRegime.ts +2 -0
- package/openapi/gen/models/gistingTrainingConfigurationRegime.ts +2 -0
- package/openapi/gen/models/index.ts +230 -16
- package/openapi/gen/models/listProjectTrainings200.ts +7 -0
- package/openapi/gen/models/listProjectTrainingsParams.ts +5 -0
- package/openapi/gen/models/listTrainingRuns200.ts +7 -0
- package/openapi/gen/models/listTrainingRunsParams.ts +5 -0
- package/openapi/gen/models/modelVersion.ts +6 -1
- package/openapi/gen/models/modelVersionContent.ts +4 -0
- package/openapi/gen/models/modelVersionContentDownload.ts +11 -0
- package/openapi/gen/models/modelVersionContentDownloadContent.ts +4 -0
- package/openapi/gen/models/modelVersionContentDownloadContentOneOf.ts +10 -0
- package/openapi/gen/models/modelVersionContentDownloadContentOneOfManifestItem.ts +8 -0
- package/openapi/gen/models/modelVersionContentDownloadContentOneOfManifestItemMediaType.ts +2 -0
- package/openapi/gen/models/modelVersionContentDownloadContentOneOfNine.ts +8 -0
- package/openapi/gen/models/modelVersionContentDownloadContentOneOfNineManifestItem.ts +8 -0
- package/openapi/gen/models/modelVersionContentDownloadContentOneOfNineManifestItemMediaType.ts +2 -0
- package/openapi/gen/models/modelVersionContentDownloadContentOneOfNineRuntimeBase.ts +2 -0
- package/openapi/gen/models/modelVersionContentDownloadContentOneOfParent.ts +4 -0
- package/openapi/gen/models/modelVersionContentDownloadContentOneOfParentOneOf.ts +6 -0
- package/openapi/gen/models/modelVersionContentDownloadContentOneOfParentOneOfBaseModelId.ts +2 -0
- package/openapi/gen/models/modelVersionContentDownloadContentOneOfParentOneOfThree.ts +5 -0
- package/openapi/gen/models/modelVersionContentDownloadContentOneOfRuntimeBase.ts +2 -0
- package/openapi/gen/models/modelVersionContentDownloadFilesItem.ts +9 -0
- package/openapi/gen/models/modelVersionContentDownloadFilesItemMediaType.ts +2 -0
- package/openapi/gen/models/modelVersionContentOneOf.ts +10 -0
- package/openapi/gen/models/modelVersionContentOneOfManifestItem.ts +8 -0
- package/openapi/gen/models/modelVersionContentOneOfManifestItemMediaType.ts +2 -0
- package/openapi/gen/models/modelVersionContentOneOfNine.ts +8 -0
- package/openapi/gen/models/modelVersionContentOneOfNineManifestItem.ts +8 -0
- package/openapi/gen/models/modelVersionContentOneOfNineManifestItemMediaType.ts +2 -0
- package/openapi/gen/models/modelVersionContentOneOfNineRuntimeBase.ts +2 -0
- package/openapi/gen/models/modelVersionContentOneOfParent.ts +4 -0
- package/openapi/gen/models/modelVersionContentOneOfParentOneOf.ts +6 -0
- package/openapi/gen/models/modelVersionContentOneOfParentOneOfBaseModelId.ts +2 -0
- package/openapi/gen/models/modelVersionContentOneOfParentOneOfThree.ts +5 -0
- package/openapi/gen/models/modelVersionContentOneOfRuntimeBase.ts +2 -0
- package/openapi/gen/models/modelVersionProducer.ts +5 -0
- package/openapi/gen/models/pipelineGraphSnapshotGraphNodesItemOneOfOnefoursevenSettingsQualityAssuranceOneOfLlmQaModelId.ts +1 -1
- package/openapi/gen/models/pipelineGraphSnapshotGraphNodesItemOneOfThreeoneSettingsAudienceAndPricingOneOfOneoneGenerationModelId.ts +1 -1
- package/openapi/gen/models/pipelineGraphSnapshotGraphNodesItemOneOfThreeoneSettingsQualityAssuranceOneOfFourLlmQaModelId.ts +1 -1
- package/openapi/gen/models/pipelineGraphSnapshotGraphNodesItemOneOfThreeoneSettingsQualityAssuranceOneOfLlmQaModelId.ts +1 -1
- package/openapi/gen/models/prepareTrainingCostEstimateInputsBody.ts +2 -0
- package/openapi/gen/models/quorumNodeSettingsQualityAssuranceOneOfLlmQaModelId.ts +1 -1
- package/openapi/gen/models/replaceTrainingConfigurationBody.ts +5 -0
- package/openapi/gen/models/sftTrainingConfiguration.ts +13 -0
- package/openapi/gen/models/sftTrainingConfigurationInput.ts +13 -0
- package/openapi/gen/models/sftTrainingConfigurationInputRegime.ts +2 -0
- package/openapi/gen/models/sftTrainingConfigurationRegime.ts +2 -0
- package/openapi/gen/models/training.ts +16 -0
- package/openapi/gen/models/trainingArchivedAt.ts +2 -0
- package/openapi/gen/models/trainingConfiguration.ts +4 -0
- package/openapi/gen/models/trainingConfigurationInput.ts +4 -0
- package/openapi/gen/models/trainingCostEstimate.ts +4 -0
- package/openapi/gen/models/trainingCostEstimateInputSet.ts +12 -0
- package/openapi/gen/models/trainingCostEstimateInputSetExports.ts +6 -0
- package/openapi/gen/models/trainingCostEstimateInputSetExportsValidation.ts +2 -0
- package/openapi/gen/models/trainingCostEstimateInputSetId.ts +2 -0
- package/openapi/gen/models/trainingCostEstimateOneOf.ts +16 -0
- package/openapi/gen/models/trainingCostEstimateOneOfInputs.ts +7 -0
- package/openapi/gen/models/trainingCostEstimateOneOfInputsTraining.ts +9 -0
- package/openapi/gen/models/trainingCostEstimateOneOfInputsTrainingFailure.ts +3 -0
- package/openapi/gen/models/trainingCostEstimateOneOfInputsTrainingFailureAnyOf.ts +7 -0
- package/openapi/gen/models/trainingCostEstimateOneOfInputsTrainingFailureAnyOfCode.ts +2 -0
- package/openapi/gen/models/trainingCostEstimateOneOfInputsTrainingReport.ts +3 -0
- package/openapi/gen/models/trainingCostEstimateOneOfInputsTrainingReportAnyOf.ts +9 -0
- package/openapi/gen/models/trainingCostEstimateOneOfInputsTrainingReportAnyOfErrorsItem.ts +5 -0
- package/openapi/gen/models/trainingCostEstimateOneOfInputsTrainingReportAnyOfTokens.ts +10 -0
- package/openapi/gen/models/trainingCostEstimateOneOfInputsTrainingReportAnyOfTokensEstimatorVersion.ts +2 -0
- package/openapi/gen/models/trainingCostEstimateOneOfInputsTrainingReportAnyOfTokensTotal.ts +2 -0
- package/openapi/gen/models/trainingCostEstimateOneOfInputsValidation.ts +3 -0
- package/openapi/gen/models/trainingCostEstimateOneOfInputsValidationAnyOf.ts +9 -0
- package/openapi/gen/models/trainingCostEstimateOneOfInputsValidationAnyOfFailure.ts +3 -0
- package/openapi/gen/models/trainingCostEstimateOneOfInputsValidationAnyOfFailureAnyOf.ts +7 -0
- package/openapi/gen/models/trainingCostEstimateOneOfInputsValidationAnyOfFailureAnyOfCode.ts +2 -0
- package/openapi/gen/models/trainingCostEstimateOneOfInputsValidationAnyOfReport.ts +3 -0
- package/openapi/gen/models/trainingCostEstimateOneOfInputsValidationAnyOfReportAnyOf.ts +9 -0
- package/openapi/gen/models/trainingCostEstimateOneOfInputsValidationAnyOfReportAnyOfErrorsItem.ts +5 -0
- package/openapi/gen/models/trainingCostEstimateOneOfInputsValidationAnyOfReportAnyOfTokens.ts +10 -0
- package/openapi/gen/models/trainingCostEstimateOneOfInputsValidationAnyOfReportAnyOfTokensEstimatorVersion.ts +2 -0
- package/openapi/gen/models/trainingCostEstimateOneOfInputsValidationAnyOfReportAnyOfTokensTotal.ts +2 -0
- package/openapi/gen/models/trainingCostEstimateOneOfIssuesItem.ts +8 -0
- package/openapi/gen/models/trainingCostEstimateOneOfIssuesItemCode.ts +2 -0
- package/openapi/gen/models/trainingCostEstimateOneOfIssuesItemPurpose.ts +2 -0
- package/openapi/gen/models/trainingCostEstimateOneOfTwoseven.ts +23 -0
- package/openapi/gen/models/trainingCostEstimateOneOfTwosevenBudget.ts +9 -0
- package/openapi/gen/models/trainingCostEstimateOneOfTwosevenInputs.ts +7 -0
- package/openapi/gen/models/trainingCostEstimateOneOfTwosevenInputsTraining.ts +9 -0
- package/openapi/gen/models/trainingCostEstimateOneOfTwosevenInputsTrainingFailure.ts +3 -0
- package/openapi/gen/models/trainingCostEstimateOneOfTwosevenInputsTrainingFailureAnyOf.ts +7 -0
- package/openapi/gen/models/trainingCostEstimateOneOfTwosevenInputsTrainingFailureAnyOfCode.ts +2 -0
- package/openapi/gen/models/trainingCostEstimateOneOfTwosevenInputsTrainingReport.ts +3 -0
- package/openapi/gen/models/trainingCostEstimateOneOfTwosevenInputsTrainingReportAnyOf.ts +9 -0
- package/openapi/gen/models/trainingCostEstimateOneOfTwosevenInputsTrainingReportAnyOfErrorsItem.ts +5 -0
- package/openapi/gen/models/trainingCostEstimateOneOfTwosevenInputsTrainingReportAnyOfTokens.ts +10 -0
- package/openapi/gen/models/trainingCostEstimateOneOfTwosevenInputsTrainingReportAnyOfTokensEstimatorVersion.ts +2 -0
- package/openapi/gen/models/trainingCostEstimateOneOfTwosevenInputsTrainingReportAnyOfTokensTotal.ts +2 -0
- package/openapi/gen/models/trainingCostEstimateOneOfTwosevenInputsValidation.ts +3 -0
- package/openapi/gen/models/trainingCostEstimateOneOfTwosevenInputsValidationAnyOf.ts +9 -0
- package/openapi/gen/models/trainingCostEstimateOneOfTwosevenInputsValidationAnyOfFailure.ts +3 -0
- package/openapi/gen/models/trainingCostEstimateOneOfTwosevenInputsValidationAnyOfFailureAnyOf.ts +7 -0
- package/openapi/gen/models/trainingCostEstimateOneOfTwosevenInputsValidationAnyOfFailureAnyOfCode.ts +2 -0
- package/openapi/gen/models/trainingCostEstimateOneOfTwosevenInputsValidationAnyOfReport.ts +3 -0
- package/openapi/gen/models/trainingCostEstimateOneOfTwosevenInputsValidationAnyOfReportAnyOf.ts +9 -0
- package/openapi/gen/models/trainingCostEstimateOneOfTwosevenInputsValidationAnyOfReportAnyOfErrorsItem.ts +5 -0
- package/openapi/gen/models/trainingCostEstimateOneOfTwosevenInputsValidationAnyOfReportAnyOfTokens.ts +10 -0
- package/openapi/gen/models/trainingCostEstimateOneOfTwosevenInputsValidationAnyOfReportAnyOfTokensEstimatorVersion.ts +2 -0
- package/openapi/gen/models/trainingCostEstimateOneOfTwosevenInputsValidationAnyOfReportAnyOfTokensTotal.ts +2 -0
- package/openapi/gen/models/trainingCostEstimateOneOfTwosevenIssuesItem.ts +8 -0
- package/openapi/gen/models/trainingCostEstimateOneOfTwosevenIssuesItemCode.ts +2 -0
- package/openapi/gen/models/trainingCostEstimateOneOfTwosevenIssuesItemPurpose.ts +2 -0
- package/openapi/gen/models/trainingDatasetItemFilter.ts +8 -0
- package/openapi/gen/models/trainingDatasetItemFilterFieldSourcesItem.ts +6 -0
- package/openapi/gen/models/trainingDatasetItemFilterFieldSourcesItemSourcesItem.ts +4 -0
- package/openapi/gen/models/trainingDatasetItemFilterFieldSourcesItemSourcesItemOneOf.ts +5 -0
- package/openapi/gen/models/trainingDatasetItemFilterFieldSourcesItemSourcesItemOneOfTwo.ts +5 -0
- package/openapi/gen/models/trainingDatasetItemFilterFieldValuesItem.ts +12 -0
- package/openapi/gen/models/trainingDatasetItemFilterFieldValuesItemOperator.ts +2 -0
- package/openapi/gen/models/trainingDatasetItemFilterFieldValuesItemSourcesItem.ts +4 -0
- package/openapi/gen/models/trainingDatasetItemFilterFieldValuesItemSourcesItemOneOf.ts +5 -0
- package/openapi/gen/models/trainingDatasetItemFilterFieldValuesItemSourcesItemOneOfTwo.ts +5 -0
- package/openapi/gen/models/trainingDatasetItemFilterFieldValuesItemValue.ts +2 -0
- package/openapi/gen/models/trainingDatasetItemFilterInput.ts +8 -0
- package/openapi/gen/models/trainingDatasetItemFilterInputFieldSourcesItem.ts +6 -0
- package/openapi/gen/models/trainingDatasetItemFilterInputFieldSourcesItemSourcesItem.ts +4 -0
- package/openapi/gen/models/trainingDatasetItemFilterInputFieldSourcesItemSourcesItemOneOf.ts +5 -0
- package/openapi/gen/models/trainingDatasetItemFilterInputFieldSourcesItemSourcesItemOneOfTwo.ts +5 -0
- package/openapi/gen/models/trainingDatasetItemFilterInputFieldValuesItem.ts +12 -0
- package/openapi/gen/models/trainingDatasetItemFilterInputFieldValuesItemOperator.ts +2 -0
- package/openapi/gen/models/trainingDatasetItemFilterInputFieldValuesItemSourcesItem.ts +4 -0
- package/openapi/gen/models/trainingDatasetItemFilterInputFieldValuesItemSourcesItemOneOf.ts +5 -0
- package/openapi/gen/models/trainingDatasetItemFilterInputFieldValuesItemSourcesItemOneOfTwo.ts +5 -0
- package/openapi/gen/models/trainingDatasetItemFilterInputFieldValuesItemValue.ts +2 -0
- package/openapi/gen/models/trainingDatasetSelection.ts +6 -0
- package/openapi/gen/models/trainingDatasetSelectionInput.ts +6 -0
- package/openapi/gen/models/trainingId.ts +2 -0
- package/openapi/gen/models/trainingModelId.ts +3 -0
- package/openapi/gen/models/trainingModelSource.ts +4 -0
- package/openapi/gen/models/trainingModelSourceOneOf.ts +6 -0
- package/openapi/gen/models/trainingModelSourceOneOfBaseModelId.ts +2 -0
- package/openapi/gen/models/trainingModelSourceOneOfThree.ts +5 -0
- package/openapi/gen/models/trainingRun.ts +39 -0
- package/openapi/gen/models/trainingRunBillingStatus.ts +2 -0
- package/openapi/gen/models/trainingRunBlockedReason.ts +2 -0
- package/openapi/gen/models/trainingRunChargedAmount.ts +2 -0
- package/openapi/gen/models/trainingRunError.ts +3 -0
- package/openapi/gen/models/trainingRunErrorAnyOf.ts +7 -0
- package/openapi/gen/models/trainingRunErrorAnyOfCode.ts +2 -0
- package/openapi/gen/models/trainingRunId.ts +2 -0
- package/openapi/gen/models/trainingRunInputs.ts +3 -0
- package/openapi/gen/models/trainingRunInputsAnyOf.ts +7 -0
- package/openapi/gen/models/trainingRunInputsAnyOfTraining.ts +15 -0
- package/openapi/gen/models/trainingRunInputsAnyOfTrainingContract.ts +2 -0
- package/openapi/gen/models/trainingRunInputsAnyOfTrainingItemFilter.ts +9 -0
- package/openapi/gen/models/trainingRunInputsAnyOfTrainingItemFilterFieldSourcesItem.ts +6 -0
- package/openapi/gen/models/trainingRunInputsAnyOfTrainingItemFilterFieldSourcesItemSourcesItem.ts +4 -0
- package/openapi/gen/models/trainingRunInputsAnyOfTrainingItemFilterFieldSourcesItemSourcesItemOneOf.ts +5 -0
- package/openapi/gen/models/trainingRunInputsAnyOfTrainingItemFilterFieldSourcesItemSourcesItemOneOfTwo.ts +5 -0
- package/openapi/gen/models/trainingRunInputsAnyOfTrainingItemFilterFieldValuesItem.ts +12 -0
- package/openapi/gen/models/trainingRunInputsAnyOfTrainingItemFilterFieldValuesItemOperator.ts +2 -0
- package/openapi/gen/models/trainingRunInputsAnyOfTrainingItemFilterFieldValuesItemSourcesItem.ts +4 -0
- package/openapi/gen/models/trainingRunInputsAnyOfTrainingItemFilterFieldValuesItemSourcesItemOneOf.ts +5 -0
- package/openapi/gen/models/trainingRunInputsAnyOfTrainingItemFilterFieldValuesItemSourcesItemOneOfTwo.ts +5 -0
- package/openapi/gen/models/trainingRunInputsAnyOfTrainingItemFilterFieldValuesItemValue.ts +2 -0
- package/openapi/gen/models/trainingRunInputsAnyOfTrainingReport.ts +9 -0
- package/openapi/gen/models/trainingRunInputsAnyOfTrainingReportErrorsItem.ts +5 -0
- package/openapi/gen/models/trainingRunInputsAnyOfTrainingReportTokens.ts +10 -0
- package/openapi/gen/models/trainingRunInputsAnyOfTrainingReportTokensEstimatorVersion.ts +2 -0
- package/openapi/gen/models/trainingRunInputsAnyOfTrainingReportTokensTotal.ts +2 -0
- package/openapi/gen/models/trainingRunInputsAnyOfValidation.ts +3 -0
- package/openapi/gen/models/trainingRunInputsAnyOfValidationAnyOf.ts +15 -0
- package/openapi/gen/models/trainingRunInputsAnyOfValidationAnyOfContract.ts +2 -0
- package/openapi/gen/models/trainingRunInputsAnyOfValidationAnyOfItemFilter.ts +9 -0
- package/openapi/gen/models/trainingRunInputsAnyOfValidationAnyOfItemFilterFieldSourcesItem.ts +6 -0
- package/openapi/gen/models/trainingRunInputsAnyOfValidationAnyOfItemFilterFieldSourcesItemSourcesItem.ts +4 -0
- package/openapi/gen/models/trainingRunInputsAnyOfValidationAnyOfItemFilterFieldSourcesItemSourcesItemOneOf.ts +5 -0
- package/openapi/gen/models/trainingRunInputsAnyOfValidationAnyOfItemFilterFieldSourcesItemSourcesItemOneOfTwo.ts +5 -0
- package/openapi/gen/models/trainingRunInputsAnyOfValidationAnyOfItemFilterFieldValuesItem.ts +12 -0
- package/openapi/gen/models/trainingRunInputsAnyOfValidationAnyOfItemFilterFieldValuesItemOperator.ts +2 -0
- package/openapi/gen/models/trainingRunInputsAnyOfValidationAnyOfItemFilterFieldValuesItemSourcesItem.ts +4 -0
- package/openapi/gen/models/trainingRunInputsAnyOfValidationAnyOfItemFilterFieldValuesItemSourcesItemOneOf.ts +5 -0
- package/openapi/gen/models/trainingRunInputsAnyOfValidationAnyOfItemFilterFieldValuesItemSourcesItemOneOfTwo.ts +5 -0
- package/openapi/gen/models/trainingRunInputsAnyOfValidationAnyOfItemFilterFieldValuesItemValue.ts +2 -0
- package/openapi/gen/models/trainingRunInputsAnyOfValidationAnyOfReport.ts +9 -0
- package/openapi/gen/models/trainingRunInputsAnyOfValidationAnyOfReportErrorsItem.ts +5 -0
- package/openapi/gen/models/trainingRunInputsAnyOfValidationAnyOfReportTokens.ts +10 -0
- package/openapi/gen/models/trainingRunInputsAnyOfValidationAnyOfReportTokensEstimatorVersion.ts +2 -0
- package/openapi/gen/models/trainingRunInputsAnyOfValidationAnyOfReportTokensTotal.ts +2 -0
- package/openapi/gen/models/trainingRunLogs.ts +9 -0
- package/openapi/gen/models/trainingRunLogsEntriesItem.ts +7 -0
- package/openapi/gen/models/trainingRunLogsEntriesItemLevel.ts +2 -0
- package/openapi/gen/models/trainingRunLogsNextCursor.ts +2 -0
- package/openapi/gen/models/trainingRunMessage.ts +2 -0
- package/openapi/gen/models/trainingRunOutputModelVersionRevision.ts +2 -0
- package/openapi/gen/models/trainingRunProgress.ts +3 -0
- package/openapi/gen/models/trainingRunProgressAnyOf.ts +10 -0
- package/openapi/gen/models/trainingRunProgressAnyOfMessage.ts +2 -0
- package/openapi/gen/models/trainingRunProgressAnyOfStep.ts +2 -0
- package/openapi/gen/models/trainingRunProgressAnyOfTotal.ts +2 -0
- package/openapi/gen/models/trainingRunQuote.ts +17 -0
- package/openapi/gen/models/trainingRunQuoteBudget.ts +9 -0
- package/openapi/gen/models/trainingRunQuoteInputs.ts +7 -0
- package/openapi/gen/models/trainingRunQuoteInputsTraining.ts +9 -0
- package/openapi/gen/models/trainingRunQuoteInputsTrainingFailure.ts +3 -0
- package/openapi/gen/models/trainingRunQuoteInputsTrainingFailureAnyOf.ts +7 -0
- package/openapi/gen/models/trainingRunQuoteInputsTrainingFailureAnyOfCode.ts +2 -0
- package/openapi/gen/models/trainingRunQuoteInputsTrainingReport.ts +3 -0
- package/openapi/gen/models/trainingRunQuoteInputsTrainingReportAnyOf.ts +9 -0
- package/openapi/gen/models/trainingRunQuoteInputsTrainingReportAnyOfErrorsItem.ts +5 -0
- package/openapi/gen/models/trainingRunQuoteInputsTrainingReportAnyOfTokens.ts +10 -0
- package/openapi/gen/models/trainingRunQuoteInputsTrainingReportAnyOfTokensEstimatorVersion.ts +2 -0
- package/openapi/gen/models/trainingRunQuoteInputsTrainingReportAnyOfTokensTotal.ts +2 -0
- package/openapi/gen/models/trainingRunQuoteInputsValidation.ts +3 -0
- package/openapi/gen/models/trainingRunQuoteInputsValidationAnyOf.ts +9 -0
- package/openapi/gen/models/trainingRunQuoteInputsValidationAnyOfFailure.ts +3 -0
- package/openapi/gen/models/trainingRunQuoteInputsValidationAnyOfFailureAnyOf.ts +7 -0
- package/openapi/gen/models/trainingRunQuoteInputsValidationAnyOfFailureAnyOfCode.ts +2 -0
- package/openapi/gen/models/trainingRunQuoteInputsValidationAnyOfReport.ts +3 -0
- package/openapi/gen/models/trainingRunQuoteInputsValidationAnyOfReportAnyOf.ts +9 -0
- package/openapi/gen/models/trainingRunQuoteInputsValidationAnyOfReportAnyOfErrorsItem.ts +5 -0
- package/openapi/gen/models/trainingRunQuoteInputsValidationAnyOfReportAnyOfTokens.ts +10 -0
- package/openapi/gen/models/trainingRunQuoteInputsValidationAnyOfReportAnyOfTokensEstimatorVersion.ts +2 -0
- package/openapi/gen/models/trainingRunQuoteInputsValidationAnyOfReportAnyOfTokensTotal.ts +2 -0
- package/openapi/gen/models/trainingRunStatus.ts +2 -0
- package/openapi/gen/models/updateTrainingMetadataBody.ts +5 -0
- package/openapi/gen/models/validatePipelineGraphBodyGraphNodesItemOneOfOnefoursevenSettingsQualityAssuranceOneOfLlmQaModelId.ts +1 -1
- package/openapi/gen/models/validatePipelineGraphBodyGraphNodesItemOneOfThreeoneSettingsAudienceAndPricingOneOfOneoneGenerationModelId.ts +1 -1
- package/openapi/gen/models/validatePipelineGraphBodyGraphNodesItemOneOfThreeoneSettingsQualityAssuranceOneOfFourLlmQaModelId.ts +1 -1
- package/openapi/gen/models/validatePipelineGraphBodyGraphNodesItemOneOfThreeoneSettingsQualityAssuranceOneOfLlmQaModelId.ts +1 -1
- package/package.json +1 -1
- package/skills/catalog.json +19 -7
- package/skills/toloka-build/SKILL.md +3 -3
- package/skills/toloka-build/references/node-semantics.md +2 -1
- package/skills/toloka-build/references/workflow-and-cli.md +19 -2
- package/skills/toloka-report-issue/references/report-template.md +1 -1
- package/src/cli/auth.ts +1 -1
- package/src/cli/bin.ts +1 -1
- package/src/cli/cost.ts +1 -1
- package/src/cli/models.ts +107 -2
- package/src/cli/program.ts +243 -0
- package/src/cli/project-context.ts +9 -10
- package/src/cli/project.ts +2 -1
- package/src/cli/secrets.ts +4 -4
- package/src/cli/trainings.ts +627 -0
- package/src/client.ts +164 -30
- package/src/index.ts +2 -0
- package/src/pipeline-graph-v1.contract.json +16 -6
- package/openapi/gen/models/createDatasetExportBodyOneOf.ts +0 -6
- package/openapi/gen/models/createDatasetExportBodyOneOfFormat.ts +0 -2
- package/openapi/gen/models/createDatasetExportBodyOneOfThree.ts +0 -10
- package/openapi/gen/models/createDatasetExportBodyOneOfThreeContract.ts +0 -2
- package/openapi/gen/models/createDatasetExportBodyOneOfThreeFormat.ts +0 -2
- package/openapi/gen/models/createDatasetExportBodyOneOfThreeItemFilter.ts +0 -9
- package/openapi/gen/models/createDatasetExportBodyOneOfThreeItemFilterFieldSourcesItem.ts +0 -6
- package/openapi/gen/models/createDatasetExportBodyOneOfThreeItemFilterFieldSourcesItemSourcesItem.ts +0 -4
- package/openapi/gen/models/createDatasetExportBodyOneOfThreeItemFilterFieldSourcesItemSourcesItemOneOf.ts +0 -5
- package/openapi/gen/models/createDatasetExportBodyOneOfThreeItemFilterFieldSourcesItemSourcesItemOneOfTwo.ts +0 -5
- package/openapi/gen/models/createDatasetExportBodyOneOfThreeItemFilterFieldValuesItem.ts +0 -12
- package/openapi/gen/models/createDatasetExportBodyOneOfThreeItemFilterFieldValuesItemOperator.ts +0 -2
- package/openapi/gen/models/createDatasetExportBodyOneOfThreeItemFilterFieldValuesItemSourcesItem.ts +0 -4
- package/openapi/gen/models/createDatasetExportBodyOneOfThreeItemFilterFieldValuesItemSourcesItemOneOf.ts +0 -5
- package/openapi/gen/models/createDatasetExportBodyOneOfThreeItemFilterFieldValuesItemSourcesItemOneOfTwo.ts +0 -5
- 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,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,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,4 @@
|
|
|
1
|
+
import type { ModelVersionContentOneOfParentOneOf } from './modelVersionContentOneOfParentOneOf';
|
|
2
|
+
import type { ModelVersionContentOneOfParentOneOfThree } from './modelVersionContentOneOfParentOneOfThree';
|
|
3
|
+
|
|
4
|
+
export type ModelVersionContentOneOfParent = ModelVersionContentOneOfParentOneOf | ModelVersionContentOneOfParentOneOfThree;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
export type PipelineGraphSnapshotGraphNodesItemOneOfOnefoursevenSettingsQualityAssuranceOneOfLlmQaModelId = 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5' | 'gpt-5-mini' | 'claude-sonnet-4-6';
|
|
2
|
+
export type PipelineGraphSnapshotGraphNodesItemOneOfOnefoursevenSettingsQualityAssuranceOneOfLlmQaModelId = 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5' | 'gpt-5-mini' | 'claude-sonnet-4-6';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
export type PipelineGraphSnapshotGraphNodesItemOneOfThreeoneSettingsAudienceAndPricingOneOfOneoneGenerationModelId = 'gpt-5.4' | 'gpt-5.4-mini' | 'claude-sonnet-4-6' | 'gemini-3.1-pro-preview' | 'gemini-3.5-flash' | 'claude-sonnet-5' | 'gpt-5.6-terra' | 'gpt-5.6-luna';
|
|
2
|
+
export type PipelineGraphSnapshotGraphNodesItemOneOfThreeoneSettingsAudienceAndPricingOneOfOneoneGenerationModelId = 'gpt-5.4' | 'gpt-5.4-mini' | 'claude-sonnet-4-6' | 'gemini-3.1-pro-preview' | 'gemini-3.5-flash' | 'gemini-3.7-flash' | 'claude-sonnet-5' | 'claude-opus-5' | 'claude-fable-5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'gpt-5.6-sol';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
export type PipelineGraphSnapshotGraphNodesItemOneOfThreeoneSettingsQualityAssuranceOneOfFourLlmQaModelId = 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5' | 'gpt-5-mini' | 'claude-sonnet-4-6';
|
|
2
|
+
export type PipelineGraphSnapshotGraphNodesItemOneOfThreeoneSettingsQualityAssuranceOneOfFourLlmQaModelId = 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5' | 'gpt-5-mini' | 'claude-sonnet-4-6';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
export type PipelineGraphSnapshotGraphNodesItemOneOfThreeoneSettingsQualityAssuranceOneOfLlmQaModelId = 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5' | 'gpt-5-mini' | 'claude-sonnet-4-6';
|
|
2
|
+
export type PipelineGraphSnapshotGraphNodesItemOneOfThreeoneSettingsQualityAssuranceOneOfLlmQaModelId = 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5' | 'gpt-5-mini' | 'claude-sonnet-4-6';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
export type QuorumNodeSettingsQualityAssuranceOneOfLlmQaModelId = 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5' | 'gpt-5-mini' | 'claude-sonnet-4-6';
|
|
2
|
+
export type QuorumNodeSettingsQualityAssuranceOneOfLlmQaModelId = 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5' | 'gpt-5-mini' | 'claude-sonnet-4-6';
|
|
@@ -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,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,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,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,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,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,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,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,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,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,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,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,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,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
|
+
};
|
package/openapi/gen/models/trainingCostEstimateOneOfTwosevenInputsTrainingReportAnyOfTokens.ts
ADDED
|
@@ -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,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;
|