@mistralai/mistralai 2.4.0 → 2.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +98 -37
- package/esm/funcs/betaAgentsList.d.ts +3 -1
- package/esm/funcs/betaAgentsList.d.ts.map +1 -1
- package/esm/funcs/betaAgentsList.js +3 -1
- package/esm/funcs/betaAgentsList.js.map +1 -1
- package/esm/funcs/betaAgentsListPages.d.ts +21 -0
- package/esm/funcs/betaAgentsListPages.d.ts.map +1 -0
- package/esm/funcs/betaAgentsListPages.js +131 -0
- package/esm/funcs/betaAgentsListPages.js.map +1 -0
- package/esm/funcs/{betaLibrariesDocumentsIngestFromBlobStorage.d.ts → betaConnectorsDeleteAllUserCredentials.d.ts} +4 -4
- package/esm/funcs/betaConnectorsDeleteAllUserCredentials.d.ts.map +1 -0
- package/esm/funcs/{fineTuningJobsStart.js → betaConnectorsDeleteAllUserCredentials.js} +16 -15
- package/esm/funcs/betaConnectorsDeleteAllUserCredentials.js.map +1 -0
- package/esm/funcs/betaConnectorsShare.d.ts +19 -0
- package/esm/funcs/betaConnectorsShare.d.ts.map +1 -0
- package/esm/funcs/{fineTuningJobsGet.js → betaConnectorsShare.js} +16 -12
- package/esm/funcs/betaConnectorsShare.js.map +1 -0
- package/esm/funcs/betaPromptsCreate.d.ts +1 -2
- package/esm/funcs/betaPromptsCreate.d.ts.map +1 -1
- package/esm/funcs/betaPromptsCreate.js +1 -2
- package/esm/funcs/betaPromptsCreate.js.map +1 -1
- package/esm/funcs/betaPromptsCreateVersion.d.ts +2 -1
- package/esm/funcs/betaPromptsCreateVersion.d.ts.map +1 -1
- package/esm/funcs/betaPromptsCreateVersion.js +2 -1
- package/esm/funcs/betaPromptsCreateVersion.js.map +1 -1
- package/esm/funcs/betaPromptsDelete.d.ts +2 -1
- package/esm/funcs/betaPromptsDelete.d.ts.map +1 -1
- package/esm/funcs/betaPromptsDelete.js +2 -1
- package/esm/funcs/betaPromptsDelete.js.map +1 -1
- package/esm/funcs/betaPromptsGet.d.ts +2 -1
- package/esm/funcs/betaPromptsGet.d.ts.map +1 -1
- package/esm/funcs/betaPromptsGet.js +2 -1
- package/esm/funcs/betaPromptsGet.js.map +1 -1
- package/esm/funcs/betaPromptsGetVersion.d.ts +2 -1
- package/esm/funcs/betaPromptsGetVersion.d.ts.map +1 -1
- package/esm/funcs/betaPromptsGetVersion.js +2 -1
- package/esm/funcs/betaPromptsGetVersion.js.map +1 -1
- package/esm/funcs/betaPromptsList.js +1 -3
- package/esm/funcs/betaPromptsList.js.map +1 -1
- package/esm/funcs/betaPromptsListVersions.d.ts +2 -1
- package/esm/funcs/betaPromptsListVersions.d.ts.map +1 -1
- package/esm/funcs/betaPromptsListVersions.js +2 -1
- package/esm/funcs/betaPromptsListVersions.js.map +1 -1
- package/esm/funcs/betaPromptsUpdateMetadata.d.ts +2 -1
- package/esm/funcs/betaPromptsUpdateMetadata.d.ts.map +1 -1
- package/esm/funcs/betaPromptsUpdateMetadata.js +2 -1
- package/esm/funcs/betaPromptsUpdateMetadata.js.map +1 -1
- package/esm/funcs/betaPromptsUpdateVersionMetadata.d.ts +2 -1
- package/esm/funcs/betaPromptsUpdateVersionMetadata.d.ts.map +1 -1
- package/esm/funcs/betaPromptsUpdateVersionMetadata.js +2 -1
- package/esm/funcs/betaPromptsUpdateVersionMetadata.js.map +1 -1
- package/esm/funcs/betaRagSearchIndexesGenerateIndexSummary.d.ts +22 -0
- package/esm/funcs/betaRagSearchIndexesGenerateIndexSummary.d.ts.map +1 -0
- package/esm/funcs/{fineTuningJobsCancel.js → betaRagSearchIndexesGenerateIndexSummary.js} +35 -12
- package/esm/funcs/betaRagSearchIndexesGenerateIndexSummary.js.map +1 -0
- package/esm/funcs/betaRagSearchIndexesGenerateSchemaSummary.d.ts +22 -0
- package/esm/funcs/betaRagSearchIndexesGenerateSchemaSummary.d.ts.map +1 -0
- package/esm/funcs/betaRagSearchIndexesGenerateSchemaSummary.js +114 -0
- package/esm/funcs/betaRagSearchIndexesGenerateSchemaSummary.js.map +1 -0
- package/esm/funcs/{fineTuningJobsList.d.ts → betaRagSearchIndexesGetIndexSummary.d.ts} +5 -4
- package/esm/funcs/betaRagSearchIndexesGetIndexSummary.d.ts.map +1 -0
- package/esm/funcs/{betaLibrariesDocumentsGetSignedUploadUrl.js → betaRagSearchIndexesGetIndexSummary.js} +16 -15
- package/esm/funcs/betaRagSearchIndexesGetIndexSummary.js.map +1 -0
- package/esm/funcs/{betaLibrariesDocumentsGetSignedUploadUrl.d.ts → betaRagSearchIndexesGetSchemaSummary.d.ts} +4 -4
- package/esm/funcs/betaRagSearchIndexesGetSchemaSummary.d.ts.map +1 -0
- package/esm/funcs/{betaLibrariesDocumentsIngestFromBlobStorage.js → betaRagSearchIndexesGetSchemaSummary.js} +22 -16
- package/esm/funcs/betaRagSearchIndexesGetSchemaSummary.js.map +1 -0
- package/esm/funcs/betaRagSearchIndexesSetIndexSummary.d.ts +1 -1
- package/esm/funcs/betaRagSearchIndexesSetIndexSummary.d.ts.map +1 -1
- package/esm/funcs/betaRagSearchIndexesSetIndexSummary.js +8 -4
- package/esm/funcs/betaRagSearchIndexesSetIndexSummary.js.map +1 -1
- package/esm/funcs/betaRagSearchIndexesSetSchemaSummary.d.ts +1 -1
- package/esm/funcs/betaRagSearchIndexesSetSchemaSummary.d.ts.map +1 -1
- package/esm/funcs/betaRagSearchIndexesSetSchemaSummary.js +8 -4
- package/esm/funcs/betaRagSearchIndexesSetSchemaSummary.js.map +1 -1
- package/esm/funcs/betaSkillsCreate.d.ts +1 -2
- package/esm/funcs/betaSkillsCreate.d.ts.map +1 -1
- package/esm/funcs/betaSkillsCreate.js +1 -2
- package/esm/funcs/betaSkillsCreate.js.map +1 -1
- package/esm/funcs/betaSkillsCreateVersion.d.ts +2 -1
- package/esm/funcs/betaSkillsCreateVersion.d.ts.map +1 -1
- package/esm/funcs/betaSkillsCreateVersion.js +2 -1
- package/esm/funcs/betaSkillsCreateVersion.js.map +1 -1
- package/esm/funcs/betaSkillsDelete.d.ts +2 -1
- package/esm/funcs/betaSkillsDelete.d.ts.map +1 -1
- package/esm/funcs/betaSkillsDelete.js +2 -1
- package/esm/funcs/betaSkillsDelete.js.map +1 -1
- package/esm/funcs/betaSkillsGet.d.ts +2 -1
- package/esm/funcs/betaSkillsGet.d.ts.map +1 -1
- package/esm/funcs/betaSkillsGet.js +2 -1
- package/esm/funcs/betaSkillsGet.js.map +1 -1
- package/esm/funcs/betaSkillsGetVersion.d.ts +2 -1
- package/esm/funcs/betaSkillsGetVersion.d.ts.map +1 -1
- package/esm/funcs/betaSkillsGetVersion.js +2 -1
- package/esm/funcs/betaSkillsGetVersion.js.map +1 -1
- package/esm/funcs/betaSkillsList.js +1 -3
- package/esm/funcs/betaSkillsList.js.map +1 -1
- package/esm/funcs/betaSkillsListVersions.d.ts +2 -1
- package/esm/funcs/betaSkillsListVersions.d.ts.map +1 -1
- package/esm/funcs/betaSkillsListVersions.js +2 -1
- package/esm/funcs/betaSkillsListVersions.js.map +1 -1
- package/esm/funcs/betaSkillsUpdateMetadata.d.ts +2 -1
- package/esm/funcs/betaSkillsUpdateMetadata.d.ts.map +1 -1
- package/esm/funcs/betaSkillsUpdateMetadata.js +2 -1
- package/esm/funcs/betaSkillsUpdateMetadata.js.map +1 -1
- package/esm/funcs/betaSkillsUpdateVersionMetadata.d.ts +2 -1
- package/esm/funcs/betaSkillsUpdateVersionMetadata.d.ts.map +1 -1
- package/esm/funcs/betaSkillsUpdateVersionMetadata.js +2 -1
- package/esm/funcs/betaSkillsUpdateVersionMetadata.js.map +1 -1
- package/esm/funcs/{fineTuningJobsCreate.d.ts → betaUsersGetIdentity.d.ts} +3 -6
- package/esm/funcs/betaUsersGetIdentity.d.ts.map +1 -0
- package/esm/funcs/{fineTuningJobsCreate.js → betaUsersGetIdentity.js} +19 -30
- package/esm/funcs/betaUsersGetIdentity.js.map +1 -0
- package/esm/funcs/workflowsRunsListRuns.js +1 -0
- package/esm/funcs/workflowsRunsListRuns.js.map +1 -1
- package/esm/lib/config.d.ts +13 -3
- package/esm/lib/config.d.ts.map +1 -1
- package/esm/lib/config.js +14 -4
- package/esm/lib/config.js.map +1 -1
- package/esm/lib/jsonl.d.ts +10 -0
- package/esm/lib/jsonl.d.ts.map +1 -0
- package/esm/lib/jsonl.js +103 -0
- package/esm/lib/jsonl.js.map +1 -0
- package/esm/models/components/agentlistpage.d.ts +13 -0
- package/esm/models/components/agentlistpage.d.ts.map +1 -0
- package/esm/models/components/agentlistpage.js +23 -0
- package/esm/models/components/agentlistpage.js.map +1 -0
- package/esm/models/components/authenticationconfiguration.d.ts +1 -0
- package/esm/models/components/authenticationconfiguration.d.ts.map +1 -1
- package/esm/models/components/authenticationconfiguration.js +1 -0
- package/esm/models/components/authenticationconfiguration.js.map +1 -1
- package/esm/models/components/connector.d.ts +1 -0
- package/esm/models/components/connector.d.ts.map +1 -1
- package/esm/models/components/connector.js +2 -0
- package/esm/models/components/connector.js.map +1 -1
- package/esm/models/components/credentialscreateorupdate.d.ts +5 -0
- package/esm/models/components/credentialscreateorupdate.d.ts.map +1 -1
- package/esm/models/components/credentialscreateorupdate.js +1 -0
- package/esm/models/components/credentialscreateorupdate.js.map +1 -1
- package/esm/models/components/ftclassifierlossfunction.d.ts +0 -2
- package/esm/models/components/ftclassifierlossfunction.d.ts.map +1 -1
- package/esm/models/components/ftclassifierlossfunction.js +0 -2
- package/esm/models/components/ftclassifierlossfunction.js.map +1 -1
- package/esm/models/components/getsearchindexdetailresponseindex.d.ts +0 -1
- package/esm/models/components/getsearchindexdetailresponseindex.d.ts.map +1 -1
- package/esm/models/components/getsearchindexdetailresponseindex.js +0 -1
- package/esm/models/components/getsearchindexdetailresponseindex.js.map +1 -1
- package/esm/models/components/getsearchindexschemadetailresponseschemamodel.d.ts +0 -1
- package/esm/models/components/getsearchindexschemadetailresponseschemamodel.d.ts.map +1 -1
- package/esm/models/components/getsearchindexschemadetailresponseschemamodel.js +0 -1
- package/esm/models/components/getsearchindexschemadetailresponseschemamodel.js.map +1 -1
- package/esm/models/components/getsummaryresponsesummary.d.ts +13 -0
- package/esm/models/components/getsummaryresponsesummary.d.ts.map +1 -0
- package/esm/models/components/getsummaryresponsesummary.js +17 -0
- package/esm/models/components/getsummaryresponsesummary.js.map +1 -0
- package/esm/models/components/index.d.ts +9 -26
- package/esm/models/components/index.d.ts.map +1 -1
- package/esm/models/components/index.js +9 -26
- package/esm/models/components/index.js.map +1 -1
- package/esm/models/components/locationtype.d.ts +1 -0
- package/esm/models/components/locationtype.d.ts.map +1 -1
- package/esm/models/components/locationtype.js +1 -0
- package/esm/models/components/locationtype.js.map +1 -1
- package/esm/models/components/modelcapabilities.d.ts +1 -0
- package/esm/models/components/modelcapabilities.d.ts.map +1 -1
- package/esm/models/components/modelcapabilities.js +2 -0
- package/esm/models/components/modelcapabilities.js.map +1 -1
- package/esm/models/components/skilldefinition.d.ts +2 -2
- package/esm/models/components/skilldefinition.d.ts.map +1 -1
- package/esm/models/components/skilldefinition.js +2 -2
- package/esm/models/components/skilldefinition.js.map +1 -1
- package/esm/models/components/speechrequest.d.ts +2 -0
- package/esm/models/components/speechrequest.d.ts.map +1 -1
- package/esm/models/components/speechrequest.js +2 -0
- package/esm/models/components/speechrequest.js.map +1 -1
- package/esm/models/components/summarychunk.d.ts +13 -0
- package/esm/models/components/summarychunk.d.ts.map +1 -0
- package/esm/models/components/summarychunk.js +15 -0
- package/esm/models/components/summarychunk.js.map +1 -0
- package/esm/models/components/summaryerror.d.ts +13 -0
- package/esm/models/components/summaryerror.d.ts.map +1 -0
- package/esm/models/components/summaryerror.js +15 -0
- package/esm/models/components/summaryerror.js.map +1 -0
- package/esm/models/components/summarymetadata.d.ts +15 -0
- package/esm/models/components/summarymetadata.d.ts.map +1 -0
- package/esm/models/components/summarymetadata.js +16 -0
- package/esm/models/components/summarymetadata.js.map +1 -0
- package/esm/models/components/summarystatus.d.ts +11 -0
- package/esm/models/components/summarystatus.d.ts.map +1 -0
- package/esm/models/components/summarystatus.js +13 -0
- package/esm/models/components/summarystatus.js.map +1 -0
- package/esm/models/components/summarystatusdollardefs.d.ts +11 -0
- package/esm/models/components/summarystatusdollardefs.d.ts.map +1 -0
- package/esm/models/components/summarystatusdollardefs.js +13 -0
- package/esm/models/components/summarystatusdollardefs.js.map +1 -0
- package/esm/models/components/updatesummaryrequestsummary.d.ts +24 -0
- package/esm/models/components/updatesummaryrequestsummary.d.ts.map +1 -0
- package/esm/models/components/updatesummaryrequestsummary.js +21 -0
- package/esm/models/components/updatesummaryrequestsummary.js.map +1 -0
- package/esm/models/components/useridentity.d.ts +13 -0
- package/esm/models/components/useridentity.d.ts.map +1 -0
- package/esm/models/components/useridentity.js +24 -0
- package/esm/models/components/useridentity.js.map +1 -0
- package/esm/models/operations/agentsapiv1agentslistpages.d.ts +51 -0
- package/esm/models/operations/agentsapiv1agentslistpages.d.ts.map +1 -0
- package/esm/models/operations/agentsapiv1agentslistpages.js +41 -0
- package/esm/models/operations/agentsapiv1agentslistpages.js.map +1 -0
- package/esm/models/operations/connectordeleteallusercredentialsv1.d.ts +12 -0
- package/esm/models/operations/connectordeleteallusercredentialsv1.d.ts.map +1 -0
- package/esm/models/operations/connectordeleteallusercredentialsv1.js +18 -0
- package/esm/models/operations/connectordeleteallusercredentialsv1.js.map +1 -0
- package/esm/models/operations/connectorsharev1.d.ts +12 -0
- package/esm/models/operations/connectorsharev1.d.ts.map +1 -0
- package/esm/models/operations/connectorsharev1.js +18 -0
- package/esm/models/operations/connectorsharev1.js.map +1 -0
- package/esm/models/operations/generateindexsummaryv1ragindexesindexindexidsummaryfieldlanguagepost.d.ts +39 -0
- package/esm/models/operations/generateindexsummaryv1ragindexesindexindexidsummaryfieldlanguagepost.d.ts.map +1 -0
- package/esm/models/operations/generateindexsummaryv1ragindexesindexindexidsummaryfieldlanguagepost.js +46 -0
- package/esm/models/operations/generateindexsummaryv1ragindexesindexindexidsummaryfieldlanguagepost.js.map +1 -0
- package/esm/models/operations/generateschemasummarypostv1ragindexesindexindexidschemasschemaschemaidsummaryfieldlanguagepost.d.ts +41 -0
- package/esm/models/operations/generateschemasummarypostv1ragindexesindexindexidschemasschemaschemaidsummaryfieldlanguagepost.d.ts.map +1 -0
- package/esm/models/operations/generateschemasummarypostv1ragindexesindexindexidschemasschemaschemaidsummaryfieldlanguagepost.js +48 -0
- package/esm/models/operations/generateschemasummarypostv1ragindexesindexindexidschemasschemaschemaidsummaryfieldlanguagepost.js.map +1 -0
- package/esm/models/operations/getindexsummaryv1ragindexesindexindexidsummaryfieldlanguageget.d.ts +29 -0
- package/esm/models/operations/getindexsummaryv1ragindexesindexindexidsummaryfieldlanguageget.d.ts.map +1 -0
- package/esm/models/operations/getindexsummaryv1ragindexesindexindexidsummaryfieldlanguageget.js +33 -0
- package/esm/models/operations/getindexsummaryv1ragindexesindexindexidsummaryfieldlanguageget.js.map +1 -0
- package/esm/models/operations/getschemasummaryv1ragindexesindexindexidschemasschemaschemaidsummaryfieldlanguageget.d.ts +31 -0
- package/esm/models/operations/getschemasummaryv1ragindexesindexindexidschemasschemaschemaidsummaryfieldlanguageget.d.ts.map +1 -0
- package/esm/models/operations/getschemasummaryv1ragindexesindexindexidschemasschemaschemaidsummaryfieldlanguageget.js +35 -0
- package/esm/models/operations/getschemasummaryv1ragindexesindexindexidschemasschemaschemaidsummaryfieldlanguageget.js.map +1 -0
- package/esm/models/operations/index.d.ts +10 -11
- package/esm/models/operations/index.d.ts.map +1 -1
- package/esm/models/operations/index.js +10 -11
- package/esm/models/operations/index.js.map +1 -1
- package/esm/models/operations/listrunsv1workflowsrunsget.d.ts +5 -0
- package/esm/models/operations/listrunsv1workflowsrunsget.d.ts.map +1 -1
- package/esm/models/operations/listrunsv1workflowsrunsget.js +2 -0
- package/esm/models/operations/listrunsv1workflowsrunsget.js.map +1 -1
- package/esm/models/operations/promptscreateversion.d.ts +0 -6
- package/esm/models/operations/promptscreateversion.d.ts.map +1 -1
- package/esm/models/operations/promptscreateversion.js +0 -10
- package/esm/models/operations/promptscreateversion.js.map +1 -1
- package/esm/models/operations/promptsdelete.d.ts +0 -7
- package/esm/models/operations/promptsdelete.d.ts.map +1 -1
- package/esm/models/operations/promptsdelete.js +0 -11
- package/esm/models/operations/promptsdelete.js.map +1 -1
- package/esm/models/operations/promptsget.d.ts +0 -7
- package/esm/models/operations/promptsget.d.ts.map +1 -1
- package/esm/models/operations/promptsget.js +0 -11
- package/esm/models/operations/promptsget.js.map +1 -1
- package/esm/models/operations/promptsgetversion.d.ts +0 -7
- package/esm/models/operations/promptsgetversion.d.ts.map +1 -1
- package/esm/models/operations/promptsgetversion.js +0 -11
- package/esm/models/operations/promptsgetversion.js.map +1 -1
- package/esm/models/operations/promptslist.d.ts +1 -5
- package/esm/models/operations/promptslist.d.ts.map +1 -1
- package/esm/models/operations/promptslist.js +1 -13
- package/esm/models/operations/promptslist.js.map +1 -1
- package/esm/models/operations/promptslistversions.d.ts +0 -7
- package/esm/models/operations/promptslistversions.d.ts.map +1 -1
- package/esm/models/operations/promptslistversions.js +0 -11
- package/esm/models/operations/promptslistversions.js.map +1 -1
- package/esm/models/operations/promptsupdate.d.ts +0 -6
- package/esm/models/operations/promptsupdate.d.ts.map +1 -1
- package/esm/models/operations/promptsupdate.js +0 -10
- package/esm/models/operations/promptsupdate.js.map +1 -1
- package/esm/models/operations/promptsupdateversionmetadata.d.ts +0 -6
- package/esm/models/operations/promptsupdateversionmetadata.d.ts.map +1 -1
- package/esm/models/operations/promptsupdateversionmetadata.js +0 -10
- package/esm/models/operations/promptsupdateversionmetadata.js.map +1 -1
- package/esm/models/operations/setindexsummaryv1ragindexesindexindexidsummaryfieldlanguageput.d.ts +32 -0
- package/esm/models/operations/setindexsummaryv1ragindexesindexindexidsummaryfieldlanguageput.d.ts.map +1 -0
- package/esm/models/operations/setindexsummaryv1ragindexesindexindexidsummaryfieldlanguageput.js +36 -0
- package/esm/models/operations/setindexsummaryv1ragindexesindexindexidsummaryfieldlanguageput.js.map +1 -0
- package/esm/models/operations/setschemasummaryv1ragindexesindexindexidschemasschemaschemaidsummaryfieldlanguageput.d.ts +34 -0
- package/esm/models/operations/setschemasummaryv1ragindexesindexindexidschemasschemaschemaidsummaryfieldlanguageput.d.ts.map +1 -0
- package/esm/models/operations/setschemasummaryv1ragindexesindexindexidschemasschemaschemaidsummaryfieldlanguageput.js +38 -0
- package/esm/models/operations/setschemasummaryv1ragindexesindexindexidschemasschemaschemaidsummaryfieldlanguageput.js.map +1 -0
- package/esm/models/operations/skillscreateversion.d.ts +0 -6
- package/esm/models/operations/skillscreateversion.d.ts.map +1 -1
- package/esm/models/operations/skillscreateversion.js +0 -10
- package/esm/models/operations/skillscreateversion.js.map +1 -1
- package/esm/models/operations/skillsdelete.d.ts +0 -7
- package/esm/models/operations/skillsdelete.d.ts.map +1 -1
- package/esm/models/operations/skillsdelete.js +0 -11
- package/esm/models/operations/skillsdelete.js.map +1 -1
- package/esm/models/operations/skillsget.d.ts +0 -7
- package/esm/models/operations/skillsget.d.ts.map +1 -1
- package/esm/models/operations/skillsget.js +0 -11
- package/esm/models/operations/skillsget.js.map +1 -1
- package/esm/models/operations/skillsgetversion.d.ts +0 -7
- package/esm/models/operations/skillsgetversion.d.ts.map +1 -1
- package/esm/models/operations/skillsgetversion.js +0 -11
- package/esm/models/operations/skillsgetversion.js.map +1 -1
- package/esm/models/operations/skillslist.d.ts +1 -5
- package/esm/models/operations/skillslist.d.ts.map +1 -1
- package/esm/models/operations/skillslist.js +1 -13
- package/esm/models/operations/skillslist.js.map +1 -1
- package/esm/models/operations/skillslistversions.d.ts +0 -7
- package/esm/models/operations/skillslistversions.d.ts.map +1 -1
- package/esm/models/operations/skillslistversions.js +0 -11
- package/esm/models/operations/skillslistversions.js.map +1 -1
- package/esm/models/operations/skillsupdate.d.ts +0 -6
- package/esm/models/operations/skillsupdate.d.ts.map +1 -1
- package/esm/models/operations/skillsupdate.js +0 -10
- package/esm/models/operations/skillsupdate.js.map +1 -1
- package/esm/models/operations/skillsupdateversionmetadata.d.ts +0 -6
- package/esm/models/operations/skillsupdateversionmetadata.d.ts.map +1 -1
- package/esm/models/operations/skillsupdateversionmetadata.js +0 -10
- package/esm/models/operations/skillsupdateversionmetadata.js.map +1 -1
- package/esm/models/operations/usersapigetidentity.d.ts +12 -0
- package/esm/models/operations/usersapigetidentity.d.ts.map +1 -0
- package/esm/models/operations/usersapigetidentity.js +18 -0
- package/esm/models/operations/usersapigetidentity.js.map +1 -0
- package/esm/sdk/batch.d.ts +2 -2
- package/esm/sdk/batch.d.ts.map +1 -1
- package/esm/sdk/batch.js +2 -2
- package/esm/sdk/batch.js.map +1 -1
- package/esm/sdk/beta.d.ts +3 -0
- package/esm/sdk/beta.d.ts.map +1 -1
- package/esm/sdk/beta.js +5 -0
- package/esm/sdk/beta.js.map +1 -1
- package/esm/sdk/betaagents.d.ts +13 -1
- package/esm/sdk/betaagents.d.ts.map +1 -1
- package/esm/sdk/betaagents.js +14 -1
- package/esm/sdk/betaagents.js.map +1 -1
- package/esm/sdk/connectors.d.ts +14 -0
- package/esm/sdk/connectors.d.ts.map +1 -1
- package/esm/sdk/connectors.js +20 -0
- package/esm/sdk/connectors.js.map +1 -1
- package/esm/sdk/documents.d.ts +0 -14
- package/esm/sdk/documents.d.ts.map +1 -1
- package/esm/sdk/documents.js +0 -20
- package/esm/sdk/documents.js.map +1 -1
- package/esm/sdk/{batchjobs.d.ts → jobs.d.ts} +2 -2
- package/esm/sdk/jobs.d.ts.map +1 -0
- package/esm/sdk/{batchjobs.js → jobs.js} +3 -3
- package/esm/sdk/jobs.js.map +1 -0
- package/esm/sdk/prompts.d.ts +8 -8
- package/esm/sdk/prompts.d.ts.map +1 -1
- package/esm/sdk/prompts.js.map +1 -1
- package/esm/sdk/sdk.d.ts +0 -3
- package/esm/sdk/sdk.d.ts.map +1 -1
- package/esm/sdk/sdk.js +0 -5
- package/esm/sdk/sdk.js.map +1 -1
- package/esm/sdk/searchindexes.d.ts +40 -5
- package/esm/sdk/searchindexes.d.ts.map +1 -1
- package/esm/sdk/searchindexes.js +50 -4
- package/esm/sdk/searchindexes.js.map +1 -1
- package/esm/sdk/skills.d.ts +8 -8
- package/esm/sdk/skills.d.ts.map +1 -1
- package/esm/sdk/skills.js.map +1 -1
- package/esm/sdk/users.d.ts +10 -0
- package/esm/sdk/users.d.ts.map +1 -0
- package/esm/sdk/users.js +16 -0
- package/esm/sdk/users.js.map +1 -0
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/betaAgentsList.ts +3 -1
- package/src/funcs/betaAgentsListPages.ts +265 -0
- package/src/funcs/{betaLibrariesDocumentsIngestFromBlobStorage.ts → betaConnectorsDeleteAllUserCredentials.ts} +21 -23
- package/src/funcs/{fineTuningJobsStart.ts → betaConnectorsShare.ts} +26 -22
- package/src/funcs/betaPromptsCreate.ts +4 -6
- package/src/funcs/betaPromptsCreateVersion.ts +5 -5
- package/src/funcs/betaPromptsDelete.ts +5 -5
- package/src/funcs/betaPromptsGet.ts +5 -5
- package/src/funcs/betaPromptsGetVersion.ts +5 -5
- package/src/funcs/betaPromptsList.ts +0 -3
- package/src/funcs/betaPromptsListVersions.ts +5 -5
- package/src/funcs/betaPromptsUpdateMetadata.ts +5 -5
- package/src/funcs/betaPromptsUpdateVersionMetadata.ts +5 -8
- package/src/funcs/{fineTuningJobsCancel.ts → betaRagSearchIndexesGenerateIndexSummary.ts} +61 -22
- package/src/funcs/betaRagSearchIndexesGenerateSchemaSummary.ts +219 -0
- package/src/funcs/{betaLibrariesDocumentsGetSignedUploadUrl.ts → betaRagSearchIndexesGetIndexSummary.ts} +25 -22
- package/src/funcs/{fineTuningJobsGet.ts → betaRagSearchIndexesGetSchemaSummary.ts} +41 -20
- package/src/funcs/betaRagSearchIndexesSetIndexSummary.ts +12 -8
- package/src/funcs/betaRagSearchIndexesSetSchemaSummary.ts +10 -6
- package/src/funcs/betaSkillsCreate.ts +4 -6
- package/src/funcs/betaSkillsCreateVersion.ts +5 -5
- package/src/funcs/betaSkillsDelete.ts +5 -5
- package/src/funcs/betaSkillsGet.ts +5 -5
- package/src/funcs/betaSkillsGetVersion.ts +5 -5
- package/src/funcs/betaSkillsList.ts +0 -3
- package/src/funcs/betaSkillsListVersions.ts +5 -5
- package/src/funcs/betaSkillsUpdateMetadata.ts +5 -5
- package/src/funcs/betaSkillsUpdateVersionMetadata.ts +5 -8
- package/src/funcs/{fineTuningJobsCreate.ts → betaUsersGetIdentity.ts} +24 -41
- package/src/funcs/workflowsRunsListRuns.ts +1 -0
- package/src/lib/config.ts +14 -4
- package/src/lib/jsonl.ts +128 -0
- package/src/models/components/agentlistpage.ts +39 -0
- package/src/models/components/authenticationconfiguration.ts +2 -0
- package/src/models/components/connector.ts +3 -0
- package/src/models/components/credentialscreateorupdate.ts +6 -0
- package/src/models/components/ftclassifierlossfunction.ts +0 -5
- package/src/models/components/getsearchindexdetailresponseindex.ts +0 -2
- package/src/models/components/getsearchindexschemadetailresponseschemamodel.ts +0 -2
- package/src/models/components/getsummaryresponsesummary.ts +36 -0
- package/src/models/components/index.ts +9 -26
- package/src/models/components/locationtype.ts +1 -0
- package/src/models/components/modelcapabilities.ts +3 -0
- package/src/models/components/skilldefinition.ts +4 -4
- package/src/models/components/speechrequest.ts +4 -0
- package/src/models/components/summarychunk.ts +32 -0
- package/src/models/components/summaryerror.ts +32 -0
- package/src/models/components/summarymetadata.ts +40 -0
- package/src/models/components/summarystatus.ts +19 -0
- package/src/models/components/summarystatusdollardefs.ts +21 -0
- package/src/models/components/updatesummaryrequestsummary.ts +53 -0
- package/src/models/components/useridentity.ts +41 -0
- package/src/models/operations/agentsapiv1agentslistpages.ts +105 -0
- package/src/models/operations/connectordeleteallusercredentialsv1.ts +40 -0
- package/src/models/operations/connectorsharev1.ts +36 -0
- package/src/models/operations/generateindexsummaryv1ragindexesindexindexidsummaryfieldlanguagepost.ts +113 -0
- package/src/models/operations/generateschemasummarypostv1ragindexesindexindexidschemasschemaschemaidsummaryfieldlanguagepost.ts +117 -0
- package/src/models/operations/getindexsummaryv1ragindexesindexindexidsummaryfieldlanguageget.ts +74 -0
- package/src/models/operations/getschemasummaryv1ragindexesindexindexidschemasschemaschemaidsummaryfieldlanguageget.ts +78 -0
- package/src/models/operations/index.ts +10 -11
- package/src/models/operations/listrunsv1workflowsrunsget.ts +7 -0
- package/src/models/operations/promptscreateversion.ts +0 -27
- package/src/models/operations/promptsdelete.ts +0 -28
- package/src/models/operations/promptsget.ts +0 -26
- package/src/models/operations/promptsgetversion.ts +0 -28
- package/src/models/operations/promptslist.ts +2 -29
- package/src/models/operations/promptslistversions.ts +0 -28
- package/src/models/operations/promptsupdate.ts +0 -25
- package/src/models/operations/promptsupdateversionmetadata.ts +0 -28
- package/src/models/operations/setindexsummaryv1ragindexesindexindexidsummaryfieldlanguageput.ts +81 -0
- package/src/models/operations/setschemasummaryv1ragindexesindexindexidschemasschemaschemaidsummaryfieldlanguageput.ts +85 -0
- package/src/models/operations/skillscreateversion.ts +0 -27
- package/src/models/operations/skillsdelete.ts +0 -28
- package/src/models/operations/skillsget.ts +0 -26
- package/src/models/operations/skillsgetversion.ts +0 -28
- package/src/models/operations/skillslist.ts +2 -29
- package/src/models/operations/skillslistversions.ts +0 -28
- package/src/models/operations/skillsupdate.ts +0 -25
- package/src/models/operations/skillsupdateversionmetadata.ts +0 -28
- package/src/models/operations/usersapigetidentity.ts +38 -0
- package/src/sdk/batch.ts +4 -4
- package/src/sdk/beta.ts +6 -0
- package/src/sdk/betaagents.ts +27 -1
- package/src/sdk/connectors.ts +36 -0
- package/src/sdk/documents.ts +0 -36
- package/src/sdk/{batchjobs.ts → jobs.ts} +2 -2
- package/src/sdk/prompts.ts +8 -8
- package/src/sdk/sdk.ts +0 -6
- package/src/sdk/searchindexes.ts +99 -8
- package/src/sdk/skills.ts +8 -8
- package/src/sdk/users.ts +26 -0
- package/esm/funcs/betaLibrariesDocumentsGetSignedUploadUrl.d.ts.map +0 -1
- package/esm/funcs/betaLibrariesDocumentsGetSignedUploadUrl.js.map +0 -1
- package/esm/funcs/betaLibrariesDocumentsIngestFromBlobStorage.d.ts.map +0 -1
- package/esm/funcs/betaLibrariesDocumentsIngestFromBlobStorage.js.map +0 -1
- package/esm/funcs/fineTuningJobsCancel.d.ts +0 -17
- package/esm/funcs/fineTuningJobsCancel.d.ts.map +0 -1
- package/esm/funcs/fineTuningJobsCancel.js.map +0 -1
- package/esm/funcs/fineTuningJobsCreate.d.ts.map +0 -1
- package/esm/funcs/fineTuningJobsCreate.js.map +0 -1
- package/esm/funcs/fineTuningJobsGet.d.ts +0 -17
- package/esm/funcs/fineTuningJobsGet.d.ts.map +0 -1
- package/esm/funcs/fineTuningJobsGet.js.map +0 -1
- package/esm/funcs/fineTuningJobsList.d.ts.map +0 -1
- package/esm/funcs/fineTuningJobsList.js +0 -94
- package/esm/funcs/fineTuningJobsList.js.map +0 -1
- package/esm/funcs/fineTuningJobsStart.d.ts +0 -17
- package/esm/funcs/fineTuningJobsStart.d.ts.map +0 -1
- package/esm/funcs/fineTuningJobsStart.js.map +0 -1
- package/esm/models/components/checkpoint.d.ts +0 -22
- package/esm/models/components/checkpoint.d.ts.map +0 -1
- package/esm/models/components/checkpoint.js +0 -24
- package/esm/models/components/checkpoint.js.map +0 -1
- package/esm/models/components/classifierfinetuningjob.d.ts +0 -90
- package/esm/models/components/classifierfinetuningjob.d.ts.map +0 -1
- package/esm/models/components/classifierfinetuningjob.js +0 -68
- package/esm/models/components/classifierfinetuningjob.js.map +0 -1
- package/esm/models/components/classifierfinetuningjobdetails.d.ts +0 -99
- package/esm/models/components/classifierfinetuningjobdetails.d.ts.map +0 -1
- package/esm/models/components/classifierfinetuningjobdetails.js +0 -75
- package/esm/models/components/classifierfinetuningjobdetails.js.map +0 -1
- package/esm/models/components/classifiertarget.d.ts +0 -19
- package/esm/models/components/classifiertarget.d.ts.map +0 -1
- package/esm/models/components/classifiertarget.js +0 -22
- package/esm/models/components/classifiertarget.js.map +0 -1
- package/esm/models/components/classifiertrainingparameters.d.ts +0 -39
- package/esm/models/components/classifiertrainingparameters.d.ts.map +0 -1
- package/esm/models/components/classifiertrainingparameters.js +0 -48
- package/esm/models/components/classifiertrainingparameters.js.map +0 -1
- package/esm/models/components/completionfinetuningjob.d.ts +0 -96
- package/esm/models/components/completionfinetuningjob.d.ts.map +0 -1
- package/esm/models/components/completionfinetuningjob.js +0 -75
- package/esm/models/components/completionfinetuningjob.js.map +0 -1
- package/esm/models/components/completionfinetuningjobdetails.d.ts +0 -103
- package/esm/models/components/completionfinetuningjobdetails.d.ts.map +0 -1
- package/esm/models/components/completionfinetuningjobdetails.js +0 -79
- package/esm/models/components/completionfinetuningjobdetails.js.map +0 -1
- package/esm/models/components/completiontrainingparameters.d.ts +0 -41
- package/esm/models/components/completiontrainingparameters.d.ts.map +0 -1
- package/esm/models/components/completiontrainingparameters.js +0 -52
- package/esm/models/components/completiontrainingparameters.js.map +0 -1
- package/esm/models/components/connecterror.d.ts +0 -54
- package/esm/models/components/connecterror.d.ts.map +0 -1
- package/esm/models/components/connecterror.js +0 -43
- package/esm/models/components/connecterror.js.map +0 -1
- package/esm/models/components/createfinetuningjobrequest.d.ts +0 -69
- package/esm/models/components/createfinetuningjobrequest.d.ts.map +0 -1
- package/esm/models/components/createfinetuningjobrequest.js +0 -63
- package/esm/models/components/createfinetuningjobrequest.js.map +0 -1
- package/esm/models/components/creategithubrepositoryrequest.d.ts +0 -22
- package/esm/models/components/creategithubrepositoryrequest.d.ts.map +0 -1
- package/esm/models/components/creategithubrepositoryrequest.js +0 -18
- package/esm/models/components/creategithubrepositoryrequest.js.map +0 -1
- package/esm/models/components/event.d.ts +0 -20
- package/esm/models/components/event.d.ts.map +0 -1
- package/esm/models/components/event.js +0 -21
- package/esm/models/components/event.js.map +0 -1
- package/esm/models/components/finetuneablemodeltype.d.ts +0 -10
- package/esm/models/components/finetuneablemodeltype.d.ts.map +0 -1
- package/esm/models/components/finetuneablemodeltype.js +0 -12
- package/esm/models/components/finetuneablemodeltype.js.map +0 -1
- package/esm/models/components/githubrepository.d.ts +0 -15
- package/esm/models/components/githubrepository.d.ts.map +0 -1
- package/esm/models/components/githubrepository.js +0 -24
- package/esm/models/components/githubrepository.js.map +0 -1
- package/esm/models/components/ingestfromblobstoragerequest.d.ts +0 -23
- package/esm/models/components/ingestfromblobstoragerequest.d.ts.map +0 -1
- package/esm/models/components/ingestfromblobstoragerequest.js +0 -19
- package/esm/models/components/ingestfromblobstoragerequest.js.map +0 -1
- package/esm/models/components/jobmetadata.d.ts +0 -34
- package/esm/models/components/jobmetadata.d.ts.map +0 -1
- package/esm/models/components/jobmetadata.js +0 -31
- package/esm/models/components/jobmetadata.js.map +0 -1
- package/esm/models/components/legacyjobmetadata.d.ts +0 -45
- package/esm/models/components/legacyjobmetadata.d.ts.map +0 -1
- package/esm/models/components/legacyjobmetadata.js +0 -36
- package/esm/models/components/legacyjobmetadata.js.map +0 -1
- package/esm/models/components/listfinetuningjobsresponse.d.ts +0 -19
- package/esm/models/components/listfinetuningjobsresponse.d.ts.map +0 -1
- package/esm/models/components/listfinetuningjobsresponse.js +0 -30
- package/esm/models/components/listfinetuningjobsresponse.js.map +0 -1
- package/esm/models/components/metric.d.ts +0 -15
- package/esm/models/components/metric.d.ts.map +0 -1
- package/esm/models/components/metric.js +0 -23
- package/esm/models/components/metric.js.map +0 -1
- package/esm/models/components/protobufany.d.ts +0 -18
- package/esm/models/components/protobufany.d.ts.map +0 -1
- package/esm/models/components/protobufany.js +0 -18
- package/esm/models/components/protobufany.js.map +0 -1
- package/esm/models/components/requestuploadurlresponse.d.ts +0 -13
- package/esm/models/components/requestuploadurlresponse.d.ts.map +0 -1
- package/esm/models/components/requestuploadurlresponse.js +0 -19
- package/esm/models/components/requestuploadurlresponse.js.map +0 -1
- package/esm/models/components/trainingfile.d.ts +0 -14
- package/esm/models/components/trainingfile.d.ts.map +0 -1
- package/esm/models/components/trainingfile.js +0 -19
- package/esm/models/components/trainingfile.js.map +0 -1
- package/esm/models/components/updateindexsummaryrequestsummary.d.ts +0 -12
- package/esm/models/components/updateindexsummaryrequestsummary.d.ts.map +0 -1
- package/esm/models/components/updateindexsummaryrequestsummary.js +0 -13
- package/esm/models/components/updateindexsummaryrequestsummary.js.map +0 -1
- package/esm/models/components/updateschemasummaryrequestsummary.d.ts +0 -12
- package/esm/models/components/updateschemasummaryrequestsummary.d.ts.map +0 -1
- package/esm/models/components/updateschemasummaryrequestsummary.js +0 -13
- package/esm/models/components/updateschemasummaryrequestsummary.js.map +0 -1
- package/esm/models/components/wandbintegration.d.ts +0 -29
- package/esm/models/components/wandbintegration.d.ts.map +0 -1
- package/esm/models/components/wandbintegration.js +0 -23
- package/esm/models/components/wandbintegration.js.map +0 -1
- package/esm/models/components/wandbintegrationresult.d.ts +0 -20
- package/esm/models/components/wandbintegrationresult.d.ts.map +0 -1
- package/esm/models/components/wandbintegrationresult.js +0 -23
- package/esm/models/components/wandbintegrationresult.js.map +0 -1
- package/esm/models/operations/jobsapiroutesfinetuningcancelfinetuningjob.d.ts +0 -26
- package/esm/models/operations/jobsapiroutesfinetuningcancelfinetuningjob.d.ts.map +0 -1
- package/esm/models/operations/jobsapiroutesfinetuningcancelfinetuningjob.js +0 -29
- package/esm/models/operations/jobsapiroutesfinetuningcancelfinetuningjob.js.map +0 -1
- package/esm/models/operations/jobsapiroutesfinetuningcreatefinetuningjob.d.ts +0 -17
- package/esm/models/operations/jobsapiroutesfinetuningcreatefinetuningjob.d.ts.map +0 -1
- package/esm/models/operations/jobsapiroutesfinetuningcreatefinetuningjob.js +0 -28
- package/esm/models/operations/jobsapiroutesfinetuningcreatefinetuningjob.js.map +0 -1
- package/esm/models/operations/jobsapiroutesfinetuninggetfinetuningjob.d.ts +0 -26
- package/esm/models/operations/jobsapiroutesfinetuninggetfinetuningjob.d.ts.map +0 -1
- package/esm/models/operations/jobsapiroutesfinetuninggetfinetuningjob.js +0 -29
- package/esm/models/operations/jobsapiroutesfinetuninggetfinetuningjob.js.map +0 -1
- package/esm/models/operations/jobsapiroutesfinetuninggetfinetuningjobs.d.ts +0 -79
- package/esm/models/operations/jobsapiroutesfinetuninggetfinetuningjobs.d.ts.map +0 -1
- package/esm/models/operations/jobsapiroutesfinetuninggetfinetuningjobs.js +0 -51
- package/esm/models/operations/jobsapiroutesfinetuninggetfinetuningjobs.js.map +0 -1
- package/esm/models/operations/jobsapiroutesfinetuningstartfinetuningjob.d.ts +0 -23
- package/esm/models/operations/jobsapiroutesfinetuningstartfinetuningjob.d.ts.map +0 -1
- package/esm/models/operations/jobsapiroutesfinetuningstartfinetuningjob.js +0 -29
- package/esm/models/operations/jobsapiroutesfinetuningstartfinetuningjob.js.map +0 -1
- package/esm/models/operations/librariesdocumentsgetsigneduploadurlv1.d.ts +0 -14
- package/esm/models/operations/librariesdocumentsgetsigneduploadurlv1.d.ts.map +0 -1
- package/esm/models/operations/librariesdocumentsgetsigneduploadurlv1.js +0 -19
- package/esm/models/operations/librariesdocumentsgetsigneduploadurlv1.js.map +0 -1
- package/esm/models/operations/librariesdocumentsingestfromblobstoragev1.d.ts +0 -15
- package/esm/models/operations/librariesdocumentsingestfromblobstoragev1.d.ts.map +0 -1
- package/esm/models/operations/librariesdocumentsingestfromblobstoragev1.js +0 -21
- package/esm/models/operations/librariesdocumentsingestfromblobstoragev1.js.map +0 -1
- package/esm/models/operations/promptscreate.d.ts +0 -9
- package/esm/models/operations/promptscreate.d.ts.map +0 -1
- package/esm/models/operations/promptscreate.js +0 -16
- package/esm/models/operations/promptscreate.js.map +0 -1
- package/esm/models/operations/setindexsummaryv1ragindexesindexindexidsummaryfieldput.d.ts +0 -15
- package/esm/models/operations/setindexsummaryv1ragindexesindexindexidsummaryfieldput.d.ts.map +0 -1
- package/esm/models/operations/setindexsummaryv1ragindexesindexindexidsummaryfieldput.js +0 -22
- package/esm/models/operations/setindexsummaryv1ragindexesindexindexidsummaryfieldput.js.map +0 -1
- package/esm/models/operations/setschemasummaryv1ragindexesindexindexidschemasschemaschemaidsummaryfieldput.d.ts +0 -17
- package/esm/models/operations/setschemasummaryv1ragindexesindexindexidschemasschemaschemaidsummaryfieldput.d.ts.map +0 -1
- package/esm/models/operations/setschemasummaryv1ragindexesindexindexidschemasschemaschemaidsummaryfieldput.js +0 -24
- package/esm/models/operations/setschemasummaryv1ragindexesindexindexidschemasschemaschemaidsummaryfieldput.js.map +0 -1
- package/esm/models/operations/skillscreate.d.ts +0 -9
- package/esm/models/operations/skillscreate.d.ts.map +0 -1
- package/esm/models/operations/skillscreate.js +0 -16
- package/esm/models/operations/skillscreate.js.map +0 -1
- package/esm/sdk/batchjobs.d.ts.map +0 -1
- package/esm/sdk/batchjobs.js.map +0 -1
- package/esm/sdk/finetuning.d.ts +0 -7
- package/esm/sdk/finetuning.d.ts.map +0 -1
- package/esm/sdk/finetuning.js +0 -13
- package/esm/sdk/finetuning.js.map +0 -1
- package/esm/sdk/finetuningjobs.d.ts +0 -41
- package/esm/sdk/finetuningjobs.d.ts.map +0 -1
- package/esm/sdk/finetuningjobs.js +0 -59
- package/esm/sdk/finetuningjobs.js.map +0 -1
- package/src/funcs/fineTuningJobsList.ts +0 -183
- package/src/models/components/checkpoint.ts +0 -49
- package/src/models/components/classifierfinetuningjob.ts +0 -168
- package/src/models/components/classifierfinetuningjobdetails.ts +0 -189
- package/src/models/components/classifiertarget.ts +0 -49
- package/src/models/components/classifiertrainingparameters.ts +0 -101
- package/src/models/components/completionfinetuningjob.ts +0 -192
- package/src/models/components/completionfinetuningjobdetails.ts +0 -212
- package/src/models/components/completiontrainingparameters.ts +0 -107
- package/src/models/components/connecterror.ts +0 -79
- package/src/models/components/createfinetuningjobrequest.ts +0 -198
- package/src/models/components/creategithubrepositoryrequest.ts +0 -48
- package/src/models/components/event.ts +0 -43
- package/src/models/components/finetuneablemodeltype.ts +0 -18
- package/src/models/components/githubrepository.ts +0 -46
- package/src/models/components/ingestfromblobstoragerequest.ts +0 -50
- package/src/models/components/jobmetadata.ts +0 -69
- package/src/models/components/legacyjobmetadata.ts +0 -88
- package/src/models/components/listfinetuningjobsresponse.ts +0 -80
- package/src/models/components/metric.ts +0 -42
- package/src/models/components/protobufany.ts +0 -38
- package/src/models/components/requestuploadurlresponse.ts +0 -39
- package/src/models/components/trainingfile.ts +0 -35
- package/src/models/components/updateindexsummaryrequestsummary.ts +0 -33
- package/src/models/components/updateschemasummaryrequestsummary.ts +0 -33
- package/src/models/components/wandbintegration.ts +0 -58
- package/src/models/components/wandbintegrationresult.ts +0 -50
- package/src/models/operations/jobsapiroutesfinetuningcancelfinetuningjob.ts +0 -81
- package/src/models/operations/jobsapiroutesfinetuningcreatefinetuningjob.ts +0 -71
- package/src/models/operations/jobsapiroutesfinetuninggetfinetuningjob.ts +0 -81
- package/src/models/operations/jobsapiroutesfinetuninggetfinetuningjobs.ts +0 -132
- package/src/models/operations/jobsapiroutesfinetuningstartfinetuningjob.ts +0 -78
- package/src/models/operations/librariesdocumentsgetsigneduploadurlv1.ts +0 -43
- package/src/models/operations/librariesdocumentsingestfromblobstoragev1.ts +0 -47
- package/src/models/operations/promptscreate.ts +0 -32
- package/src/models/operations/setindexsummaryv1ragindexesindexindexidsummaryfieldput.ts +0 -47
- package/src/models/operations/setschemasummaryv1ragindexesindexindexidschemasschemaschemaidsummaryfieldput.ts +0 -55
- package/src/models/operations/skillscreate.ts +0 -32
- package/src/sdk/finetuning.ts +0 -14
- package/src/sdk/finetuningjobs.ts +0 -103
|
@@ -1,198 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
* @generated-id: 13621d169943
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
import * as z from "zod/v4";
|
|
7
|
-
import { remap as remap$ } from "../../lib/primitives.js";
|
|
8
|
-
import { smartUnion } from "../../types/smartUnion.js";
|
|
9
|
-
import {
|
|
10
|
-
ClassifierTarget,
|
|
11
|
-
ClassifierTarget$Outbound,
|
|
12
|
-
ClassifierTarget$outboundSchema,
|
|
13
|
-
} from "./classifiertarget.js";
|
|
14
|
-
import {
|
|
15
|
-
ClassifierTrainingParameters,
|
|
16
|
-
ClassifierTrainingParameters$Outbound,
|
|
17
|
-
ClassifierTrainingParameters$outboundSchema,
|
|
18
|
-
} from "./classifiertrainingparameters.js";
|
|
19
|
-
import {
|
|
20
|
-
CompletionTrainingParameters,
|
|
21
|
-
CompletionTrainingParameters$Outbound,
|
|
22
|
-
CompletionTrainingParameters$outboundSchema,
|
|
23
|
-
} from "./completiontrainingparameters.js";
|
|
24
|
-
import {
|
|
25
|
-
CreateGithubRepositoryRequest,
|
|
26
|
-
CreateGithubRepositoryRequest$Outbound,
|
|
27
|
-
CreateGithubRepositoryRequest$outboundSchema,
|
|
28
|
-
} from "./creategithubrepositoryrequest.js";
|
|
29
|
-
import {
|
|
30
|
-
FineTuneableModelType,
|
|
31
|
-
FineTuneableModelType$outboundSchema,
|
|
32
|
-
} from "./finetuneablemodeltype.js";
|
|
33
|
-
import {
|
|
34
|
-
TrainingFile,
|
|
35
|
-
TrainingFile$Outbound,
|
|
36
|
-
TrainingFile$outboundSchema,
|
|
37
|
-
} from "./trainingfile.js";
|
|
38
|
-
import {
|
|
39
|
-
WandbIntegration,
|
|
40
|
-
WandbIntegration$Outbound,
|
|
41
|
-
WandbIntegration$outboundSchema,
|
|
42
|
-
} from "./wandbintegration.js";
|
|
43
|
-
|
|
44
|
-
export type CreateFineTuningJobRequestIntegration = WandbIntegration;
|
|
45
|
-
|
|
46
|
-
export type Hyperparameters =
|
|
47
|
-
| CompletionTrainingParameters
|
|
48
|
-
| ClassifierTrainingParameters;
|
|
49
|
-
|
|
50
|
-
export type CreateFineTuningJobRequestRepository =
|
|
51
|
-
CreateGithubRepositoryRequest;
|
|
52
|
-
|
|
53
|
-
export type CreateFineTuningJobRequest = {
|
|
54
|
-
model: string;
|
|
55
|
-
trainingFiles?: Array<TrainingFile> | undefined;
|
|
56
|
-
/**
|
|
57
|
-
* A list containing the IDs of uploaded files that contain validation data. If you provide these files, the data is used to generate validation metrics periodically during fine-tuning. These metrics can be viewed in `checkpoints` when getting the status of a running fine-tuning job. The same data should not be present in both train and validation files.
|
|
58
|
-
*/
|
|
59
|
-
validationFiles?: Array<string> | null | undefined;
|
|
60
|
-
/**
|
|
61
|
-
* A string that will be added to your fine-tuning model name. For example, a suffix of "my-great-model" would produce a model name like `ft:open-mistral-7b:my-great-model:xxx...`
|
|
62
|
-
*/
|
|
63
|
-
suffix?: string | null | undefined;
|
|
64
|
-
/**
|
|
65
|
-
* A list of integrations to enable for your fine-tuning job.
|
|
66
|
-
*/
|
|
67
|
-
integrations?: Array<WandbIntegration> | null | undefined;
|
|
68
|
-
/**
|
|
69
|
-
* This field will be required in a future release.
|
|
70
|
-
*/
|
|
71
|
-
autoStart?: boolean | undefined;
|
|
72
|
-
invalidSampleSkipPercentage?: number | undefined;
|
|
73
|
-
jobType?: FineTuneableModelType | null | undefined;
|
|
74
|
-
hyperparameters: CompletionTrainingParameters | ClassifierTrainingParameters;
|
|
75
|
-
repositories?: Array<CreateGithubRepositoryRequest> | null | undefined;
|
|
76
|
-
classifierTargets?: Array<ClassifierTarget> | null | undefined;
|
|
77
|
-
};
|
|
78
|
-
|
|
79
|
-
/** @internal */
|
|
80
|
-
export type CreateFineTuningJobRequestIntegration$Outbound =
|
|
81
|
-
WandbIntegration$Outbound;
|
|
82
|
-
|
|
83
|
-
/** @internal */
|
|
84
|
-
export const CreateFineTuningJobRequestIntegration$outboundSchema: z.ZodType<
|
|
85
|
-
CreateFineTuningJobRequestIntegration$Outbound,
|
|
86
|
-
CreateFineTuningJobRequestIntegration
|
|
87
|
-
> = WandbIntegration$outboundSchema;
|
|
88
|
-
|
|
89
|
-
export function createFineTuningJobRequestIntegrationToJSON(
|
|
90
|
-
createFineTuningJobRequestIntegration: CreateFineTuningJobRequestIntegration,
|
|
91
|
-
): string {
|
|
92
|
-
return JSON.stringify(
|
|
93
|
-
CreateFineTuningJobRequestIntegration$outboundSchema.parse(
|
|
94
|
-
createFineTuningJobRequestIntegration,
|
|
95
|
-
),
|
|
96
|
-
);
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
/** @internal */
|
|
100
|
-
export type Hyperparameters$Outbound =
|
|
101
|
-
| CompletionTrainingParameters$Outbound
|
|
102
|
-
| ClassifierTrainingParameters$Outbound;
|
|
103
|
-
|
|
104
|
-
/** @internal */
|
|
105
|
-
export const Hyperparameters$outboundSchema: z.ZodType<
|
|
106
|
-
Hyperparameters$Outbound,
|
|
107
|
-
Hyperparameters
|
|
108
|
-
> = smartUnion([
|
|
109
|
-
CompletionTrainingParameters$outboundSchema,
|
|
110
|
-
ClassifierTrainingParameters$outboundSchema,
|
|
111
|
-
]);
|
|
112
|
-
|
|
113
|
-
export function hyperparametersToJSON(
|
|
114
|
-
hyperparameters: Hyperparameters,
|
|
115
|
-
): string {
|
|
116
|
-
return JSON.stringify(Hyperparameters$outboundSchema.parse(hyperparameters));
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
/** @internal */
|
|
120
|
-
export type CreateFineTuningJobRequestRepository$Outbound =
|
|
121
|
-
CreateGithubRepositoryRequest$Outbound;
|
|
122
|
-
|
|
123
|
-
/** @internal */
|
|
124
|
-
export const CreateFineTuningJobRequestRepository$outboundSchema: z.ZodType<
|
|
125
|
-
CreateFineTuningJobRequestRepository$Outbound,
|
|
126
|
-
CreateFineTuningJobRequestRepository
|
|
127
|
-
> = CreateGithubRepositoryRequest$outboundSchema;
|
|
128
|
-
|
|
129
|
-
export function createFineTuningJobRequestRepositoryToJSON(
|
|
130
|
-
createFineTuningJobRequestRepository: CreateFineTuningJobRequestRepository,
|
|
131
|
-
): string {
|
|
132
|
-
return JSON.stringify(
|
|
133
|
-
CreateFineTuningJobRequestRepository$outboundSchema.parse(
|
|
134
|
-
createFineTuningJobRequestRepository,
|
|
135
|
-
),
|
|
136
|
-
);
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
/** @internal */
|
|
140
|
-
export type CreateFineTuningJobRequest$Outbound = {
|
|
141
|
-
model: string;
|
|
142
|
-
training_files?: Array<TrainingFile$Outbound> | undefined;
|
|
143
|
-
validation_files?: Array<string> | null | undefined;
|
|
144
|
-
suffix?: string | null | undefined;
|
|
145
|
-
integrations?: Array<WandbIntegration$Outbound> | null | undefined;
|
|
146
|
-
auto_start?: boolean | undefined;
|
|
147
|
-
invalid_sample_skip_percentage: number;
|
|
148
|
-
job_type?: string | null | undefined;
|
|
149
|
-
hyperparameters:
|
|
150
|
-
| CompletionTrainingParameters$Outbound
|
|
151
|
-
| ClassifierTrainingParameters$Outbound;
|
|
152
|
-
repositories?:
|
|
153
|
-
| Array<CreateGithubRepositoryRequest$Outbound>
|
|
154
|
-
| null
|
|
155
|
-
| undefined;
|
|
156
|
-
classifier_targets?: Array<ClassifierTarget$Outbound> | null | undefined;
|
|
157
|
-
};
|
|
158
|
-
|
|
159
|
-
/** @internal */
|
|
160
|
-
export const CreateFineTuningJobRequest$outboundSchema: z.ZodType<
|
|
161
|
-
CreateFineTuningJobRequest$Outbound,
|
|
162
|
-
CreateFineTuningJobRequest
|
|
163
|
-
> = z.object({
|
|
164
|
-
model: z.string(),
|
|
165
|
-
trainingFiles: z.array(TrainingFile$outboundSchema).optional(),
|
|
166
|
-
validationFiles: z.nullable(z.array(z.string())).optional(),
|
|
167
|
-
suffix: z.nullable(z.string()).optional(),
|
|
168
|
-
integrations: z.nullable(z.array(WandbIntegration$outboundSchema)).optional(),
|
|
169
|
-
autoStart: z.boolean().optional(),
|
|
170
|
-
invalidSampleSkipPercentage: z.number().default(0),
|
|
171
|
-
jobType: z.nullable(FineTuneableModelType$outboundSchema).optional(),
|
|
172
|
-
hyperparameters: smartUnion([
|
|
173
|
-
CompletionTrainingParameters$outboundSchema,
|
|
174
|
-
ClassifierTrainingParameters$outboundSchema,
|
|
175
|
-
]),
|
|
176
|
-
repositories: z.nullable(
|
|
177
|
-
z.array(CreateGithubRepositoryRequest$outboundSchema),
|
|
178
|
-
).optional(),
|
|
179
|
-
classifierTargets: z.nullable(z.array(ClassifierTarget$outboundSchema))
|
|
180
|
-
.optional(),
|
|
181
|
-
}).transform((v) => {
|
|
182
|
-
return remap$(v, {
|
|
183
|
-
trainingFiles: "training_files",
|
|
184
|
-
validationFiles: "validation_files",
|
|
185
|
-
autoStart: "auto_start",
|
|
186
|
-
invalidSampleSkipPercentage: "invalid_sample_skip_percentage",
|
|
187
|
-
jobType: "job_type",
|
|
188
|
-
classifierTargets: "classifier_targets",
|
|
189
|
-
});
|
|
190
|
-
});
|
|
191
|
-
|
|
192
|
-
export function createFineTuningJobRequestToJSON(
|
|
193
|
-
createFineTuningJobRequest: CreateFineTuningJobRequest,
|
|
194
|
-
): string {
|
|
195
|
-
return JSON.stringify(
|
|
196
|
-
CreateFineTuningJobRequest$outboundSchema.parse(createFineTuningJobRequest),
|
|
197
|
-
);
|
|
198
|
-
}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
* @generated-id: 9fa02c40eb9c
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
import * as z from "zod/v4";
|
|
7
|
-
|
|
8
|
-
export type CreateGithubRepositoryRequest = {
|
|
9
|
-
type: "github";
|
|
10
|
-
name: string;
|
|
11
|
-
owner: string;
|
|
12
|
-
ref?: string | null | undefined;
|
|
13
|
-
weight?: number | undefined;
|
|
14
|
-
token: string;
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
/** @internal */
|
|
18
|
-
export type CreateGithubRepositoryRequest$Outbound = {
|
|
19
|
-
type: "github";
|
|
20
|
-
name: string;
|
|
21
|
-
owner: string;
|
|
22
|
-
ref?: string | null | undefined;
|
|
23
|
-
weight: number;
|
|
24
|
-
token: string;
|
|
25
|
-
};
|
|
26
|
-
|
|
27
|
-
/** @internal */
|
|
28
|
-
export const CreateGithubRepositoryRequest$outboundSchema: z.ZodType<
|
|
29
|
-
CreateGithubRepositoryRequest$Outbound,
|
|
30
|
-
CreateGithubRepositoryRequest
|
|
31
|
-
> = z.object({
|
|
32
|
-
type: z.literal("github"),
|
|
33
|
-
name: z.string(),
|
|
34
|
-
owner: z.string(),
|
|
35
|
-
ref: z.nullable(z.string()).optional(),
|
|
36
|
-
weight: z.number().default(1),
|
|
37
|
-
token: z.string(),
|
|
38
|
-
});
|
|
39
|
-
|
|
40
|
-
export function createGithubRepositoryRequestToJSON(
|
|
41
|
-
createGithubRepositoryRequest: CreateGithubRepositoryRequest,
|
|
42
|
-
): string {
|
|
43
|
-
return JSON.stringify(
|
|
44
|
-
CreateGithubRepositoryRequest$outboundSchema.parse(
|
|
45
|
-
createGithubRepositoryRequest,
|
|
46
|
-
),
|
|
47
|
-
);
|
|
48
|
-
}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
* @generated-id: a27c655f037c
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
import * as z from "zod/v4";
|
|
7
|
-
import { remap as remap$ } from "../../lib/primitives.js";
|
|
8
|
-
import { safeParse } from "../../lib/schemas.js";
|
|
9
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
|
-
|
|
12
|
-
export type Event = {
|
|
13
|
-
/**
|
|
14
|
-
* The name of the event.
|
|
15
|
-
*/
|
|
16
|
-
name: string;
|
|
17
|
-
data?: { [k: string]: any } | null | undefined;
|
|
18
|
-
/**
|
|
19
|
-
* The UNIX timestamp (in seconds) of the event.
|
|
20
|
-
*/
|
|
21
|
-
createdAt: number;
|
|
22
|
-
};
|
|
23
|
-
|
|
24
|
-
/** @internal */
|
|
25
|
-
export const Event$inboundSchema: z.ZodType<Event, unknown> = z.object({
|
|
26
|
-
name: z.string(),
|
|
27
|
-
data: z.nullable(z.record(z.string(), z.any())).optional(),
|
|
28
|
-
created_at: z.int(),
|
|
29
|
-
}).transform((v) => {
|
|
30
|
-
return remap$(v, {
|
|
31
|
-
"created_at": "createdAt",
|
|
32
|
-
});
|
|
33
|
-
});
|
|
34
|
-
|
|
35
|
-
export function eventFromJSON(
|
|
36
|
-
jsonString: string,
|
|
37
|
-
): SafeParseResult<Event, SDKValidationError> {
|
|
38
|
-
return safeParse(
|
|
39
|
-
jsonString,
|
|
40
|
-
(x) => Event$inboundSchema.parse(JSON.parse(x)),
|
|
41
|
-
`Failed to parse 'Event' from JSON`,
|
|
42
|
-
);
|
|
43
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
* @generated-id: d69fad3e5a03
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
import * as z from "zod/v4";
|
|
7
|
-
import { ClosedEnum } from "../../types/enums.js";
|
|
8
|
-
|
|
9
|
-
export const FineTuneableModelType = {
|
|
10
|
-
Completion: "completion",
|
|
11
|
-
Classifier: "classifier",
|
|
12
|
-
} as const;
|
|
13
|
-
export type FineTuneableModelType = ClosedEnum<typeof FineTuneableModelType>;
|
|
14
|
-
|
|
15
|
-
/** @internal */
|
|
16
|
-
export const FineTuneableModelType$outboundSchema: z.ZodEnum<
|
|
17
|
-
typeof FineTuneableModelType
|
|
18
|
-
> = z.enum(FineTuneableModelType);
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
* @generated-id: d83dd8b9a5ac
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
import * as z from "zod/v4";
|
|
7
|
-
import { remap as remap$ } from "../../lib/primitives.js";
|
|
8
|
-
import { safeParse } from "../../lib/schemas.js";
|
|
9
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
|
-
|
|
12
|
-
export type GithubRepository = {
|
|
13
|
-
type: "github";
|
|
14
|
-
name: string;
|
|
15
|
-
owner: string;
|
|
16
|
-
ref?: string | null | undefined;
|
|
17
|
-
weight: number;
|
|
18
|
-
commitId: string;
|
|
19
|
-
};
|
|
20
|
-
|
|
21
|
-
/** @internal */
|
|
22
|
-
export const GithubRepository$inboundSchema: z.ZodType<
|
|
23
|
-
GithubRepository,
|
|
24
|
-
unknown
|
|
25
|
-
> = z.object({
|
|
26
|
-
type: z.literal("github"),
|
|
27
|
-
name: z.string(),
|
|
28
|
-
owner: z.string(),
|
|
29
|
-
ref: z.nullable(z.string()).optional(),
|
|
30
|
-
weight: z.number().default(1),
|
|
31
|
-
commit_id: z.string(),
|
|
32
|
-
}).transform((v) => {
|
|
33
|
-
return remap$(v, {
|
|
34
|
-
"commit_id": "commitId",
|
|
35
|
-
});
|
|
36
|
-
});
|
|
37
|
-
|
|
38
|
-
export function githubRepositoryFromJSON(
|
|
39
|
-
jsonString: string,
|
|
40
|
-
): SafeParseResult<GithubRepository, SDKValidationError> {
|
|
41
|
-
return safeParse(
|
|
42
|
-
jsonString,
|
|
43
|
-
(x) => GithubRepository$inboundSchema.parse(JSON.parse(x)),
|
|
44
|
-
`Failed to parse 'GithubRepository' from JSON`,
|
|
45
|
-
);
|
|
46
|
-
}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
* @generated-id: f6e54b9b1f8a
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
import * as z from "zod/v4";
|
|
7
|
-
import { remap as remap$ } from "../../lib/primitives.js";
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* Request body for ingesting a document from blob storage.
|
|
11
|
-
*/
|
|
12
|
-
export type IngestFromBlobStorageRequest = {
|
|
13
|
-
/**
|
|
14
|
-
* Name of the file to be ingested.
|
|
15
|
-
*/
|
|
16
|
-
filename: string;
|
|
17
|
-
/**
|
|
18
|
-
* Signed URL for ingesting a document from blob storage. You can get one via the /libraries/{library_id}/documents/signed-upload-url endpoint.
|
|
19
|
-
*/
|
|
20
|
-
signedUrl: string;
|
|
21
|
-
};
|
|
22
|
-
|
|
23
|
-
/** @internal */
|
|
24
|
-
export type IngestFromBlobStorageRequest$Outbound = {
|
|
25
|
-
filename: string;
|
|
26
|
-
signed_url: string;
|
|
27
|
-
};
|
|
28
|
-
|
|
29
|
-
/** @internal */
|
|
30
|
-
export const IngestFromBlobStorageRequest$outboundSchema: z.ZodType<
|
|
31
|
-
IngestFromBlobStorageRequest$Outbound,
|
|
32
|
-
IngestFromBlobStorageRequest
|
|
33
|
-
> = z.object({
|
|
34
|
-
filename: z.string(),
|
|
35
|
-
signedUrl: z.string(),
|
|
36
|
-
}).transform((v) => {
|
|
37
|
-
return remap$(v, {
|
|
38
|
-
signedUrl: "signed_url",
|
|
39
|
-
});
|
|
40
|
-
});
|
|
41
|
-
|
|
42
|
-
export function ingestFromBlobStorageRequestToJSON(
|
|
43
|
-
ingestFromBlobStorageRequest: IngestFromBlobStorageRequest,
|
|
44
|
-
): string {
|
|
45
|
-
return JSON.stringify(
|
|
46
|
-
IngestFromBlobStorageRequest$outboundSchema.parse(
|
|
47
|
-
ingestFromBlobStorageRequest,
|
|
48
|
-
),
|
|
49
|
-
);
|
|
50
|
-
}
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
* @generated-id: 879060fa3ae2
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
import * as z from "zod/v4";
|
|
7
|
-
import { remap as remap$ } from "../../lib/primitives.js";
|
|
8
|
-
import { safeParse } from "../../lib/schemas.js";
|
|
9
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
|
-
|
|
12
|
-
export type JobMetadata = {
|
|
13
|
-
/**
|
|
14
|
-
* The approximated time (in seconds) for the fine-tuning process to complete.
|
|
15
|
-
*/
|
|
16
|
-
expectedDurationSeconds?: number | null | undefined;
|
|
17
|
-
/**
|
|
18
|
-
* The cost of the fine-tuning job.
|
|
19
|
-
*/
|
|
20
|
-
cost?: number | null | undefined;
|
|
21
|
-
/**
|
|
22
|
-
* The currency used for the fine-tuning job cost.
|
|
23
|
-
*/
|
|
24
|
-
costCurrency?: string | null | undefined;
|
|
25
|
-
/**
|
|
26
|
-
* The number of tokens consumed by one training step.
|
|
27
|
-
*/
|
|
28
|
-
trainTokensPerStep?: number | null | undefined;
|
|
29
|
-
/**
|
|
30
|
-
* The total number of tokens used during the fine-tuning process.
|
|
31
|
-
*/
|
|
32
|
-
trainTokens?: number | null | undefined;
|
|
33
|
-
/**
|
|
34
|
-
* The total number of tokens in the training dataset.
|
|
35
|
-
*/
|
|
36
|
-
dataTokens?: number | null | undefined;
|
|
37
|
-
estimatedStartTime?: number | null | undefined;
|
|
38
|
-
};
|
|
39
|
-
|
|
40
|
-
/** @internal */
|
|
41
|
-
export const JobMetadata$inboundSchema: z.ZodType<JobMetadata, unknown> = z
|
|
42
|
-
.object({
|
|
43
|
-
expected_duration_seconds: z.nullable(z.int()).optional(),
|
|
44
|
-
cost: z.nullable(z.number()).optional(),
|
|
45
|
-
cost_currency: z.nullable(z.string()).optional(),
|
|
46
|
-
train_tokens_per_step: z.nullable(z.int()).optional(),
|
|
47
|
-
train_tokens: z.nullable(z.int()).optional(),
|
|
48
|
-
data_tokens: z.nullable(z.int()).optional(),
|
|
49
|
-
estimated_start_time: z.nullable(z.int()).optional(),
|
|
50
|
-
}).transform((v) => {
|
|
51
|
-
return remap$(v, {
|
|
52
|
-
"expected_duration_seconds": "expectedDurationSeconds",
|
|
53
|
-
"cost_currency": "costCurrency",
|
|
54
|
-
"train_tokens_per_step": "trainTokensPerStep",
|
|
55
|
-
"train_tokens": "trainTokens",
|
|
56
|
-
"data_tokens": "dataTokens",
|
|
57
|
-
"estimated_start_time": "estimatedStartTime",
|
|
58
|
-
});
|
|
59
|
-
});
|
|
60
|
-
|
|
61
|
-
export function jobMetadataFromJSON(
|
|
62
|
-
jsonString: string,
|
|
63
|
-
): SafeParseResult<JobMetadata, SDKValidationError> {
|
|
64
|
-
return safeParse(
|
|
65
|
-
jsonString,
|
|
66
|
-
(x) => JobMetadata$inboundSchema.parse(JSON.parse(x)),
|
|
67
|
-
`Failed to parse 'JobMetadata' from JSON`,
|
|
68
|
-
);
|
|
69
|
-
}
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
* @generated-id: 5f002d72d43c
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
import * as z from "zod/v4";
|
|
7
|
-
import { remap as remap$ } from "../../lib/primitives.js";
|
|
8
|
-
import { safeParse } from "../../lib/schemas.js";
|
|
9
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
|
-
|
|
12
|
-
export type LegacyJobMetadata = {
|
|
13
|
-
/**
|
|
14
|
-
* The approximated time (in seconds) for the fine-tuning process to complete.
|
|
15
|
-
*/
|
|
16
|
-
expectedDurationSeconds?: number | null | undefined;
|
|
17
|
-
/**
|
|
18
|
-
* The cost of the fine-tuning job.
|
|
19
|
-
*/
|
|
20
|
-
cost?: number | null | undefined;
|
|
21
|
-
/**
|
|
22
|
-
* The currency used for the fine-tuning job cost.
|
|
23
|
-
*/
|
|
24
|
-
costCurrency?: string | null | undefined;
|
|
25
|
-
/**
|
|
26
|
-
* The number of tokens consumed by one training step.
|
|
27
|
-
*/
|
|
28
|
-
trainTokensPerStep?: number | null | undefined;
|
|
29
|
-
/**
|
|
30
|
-
* The total number of tokens used during the fine-tuning process.
|
|
31
|
-
*/
|
|
32
|
-
trainTokens?: number | null | undefined;
|
|
33
|
-
/**
|
|
34
|
-
* The total number of tokens in the training dataset.
|
|
35
|
-
*/
|
|
36
|
-
dataTokens?: number | null | undefined;
|
|
37
|
-
estimatedStartTime?: number | null | undefined;
|
|
38
|
-
deprecated: boolean;
|
|
39
|
-
details: string;
|
|
40
|
-
/**
|
|
41
|
-
* The number of complete passes through the entire training dataset.
|
|
42
|
-
*/
|
|
43
|
-
epochs?: number | null | undefined;
|
|
44
|
-
/**
|
|
45
|
-
* The number of training steps to perform. A training step refers to a single update of the model weights during the fine-tuning process. This update is typically calculated using a batch of samples from the training dataset.
|
|
46
|
-
*/
|
|
47
|
-
trainingSteps?: number | null | undefined;
|
|
48
|
-
object: "job.metadata";
|
|
49
|
-
};
|
|
50
|
-
|
|
51
|
-
/** @internal */
|
|
52
|
-
export const LegacyJobMetadata$inboundSchema: z.ZodType<
|
|
53
|
-
LegacyJobMetadata,
|
|
54
|
-
unknown
|
|
55
|
-
> = z.object({
|
|
56
|
-
expected_duration_seconds: z.nullable(z.int()).optional(),
|
|
57
|
-
cost: z.nullable(z.number()).optional(),
|
|
58
|
-
cost_currency: z.nullable(z.string()).optional(),
|
|
59
|
-
train_tokens_per_step: z.nullable(z.int()).optional(),
|
|
60
|
-
train_tokens: z.nullable(z.int()).optional(),
|
|
61
|
-
data_tokens: z.nullable(z.int()).optional(),
|
|
62
|
-
estimated_start_time: z.nullable(z.int()).optional(),
|
|
63
|
-
deprecated: z.boolean().default(true),
|
|
64
|
-
details: z.string(),
|
|
65
|
-
epochs: z.nullable(z.number()).optional(),
|
|
66
|
-
training_steps: z.nullable(z.int()).optional(),
|
|
67
|
-
object: z.literal("job.metadata").default("job.metadata"),
|
|
68
|
-
}).transform((v) => {
|
|
69
|
-
return remap$(v, {
|
|
70
|
-
"expected_duration_seconds": "expectedDurationSeconds",
|
|
71
|
-
"cost_currency": "costCurrency",
|
|
72
|
-
"train_tokens_per_step": "trainTokensPerStep",
|
|
73
|
-
"train_tokens": "trainTokens",
|
|
74
|
-
"data_tokens": "dataTokens",
|
|
75
|
-
"estimated_start_time": "estimatedStartTime",
|
|
76
|
-
"training_steps": "trainingSteps",
|
|
77
|
-
});
|
|
78
|
-
});
|
|
79
|
-
|
|
80
|
-
export function legacyJobMetadataFromJSON(
|
|
81
|
-
jsonString: string,
|
|
82
|
-
): SafeParseResult<LegacyJobMetadata, SDKValidationError> {
|
|
83
|
-
return safeParse(
|
|
84
|
-
jsonString,
|
|
85
|
-
(x) => LegacyJobMetadata$inboundSchema.parse(JSON.parse(x)),
|
|
86
|
-
`Failed to parse 'LegacyJobMetadata' from JSON`,
|
|
87
|
-
);
|
|
88
|
-
}
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
* @generated-id: 1c08a382c048
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
import * as z from "zod/v4";
|
|
7
|
-
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
-
import * as discriminatedUnionTypes from "../../types/discriminatedUnion.js";
|
|
9
|
-
import { discriminatedUnion } from "../../types/discriminatedUnion.js";
|
|
10
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
11
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
12
|
-
import {
|
|
13
|
-
ClassifierFineTuningJob,
|
|
14
|
-
ClassifierFineTuningJob$inboundSchema,
|
|
15
|
-
} from "./classifierfinetuningjob.js";
|
|
16
|
-
import {
|
|
17
|
-
CompletionFineTuningJob,
|
|
18
|
-
CompletionFineTuningJob$inboundSchema,
|
|
19
|
-
} from "./completionfinetuningjob.js";
|
|
20
|
-
|
|
21
|
-
export type ListFineTuningJobsResponseData =
|
|
22
|
-
| ClassifierFineTuningJob
|
|
23
|
-
| CompletionFineTuningJob
|
|
24
|
-
| discriminatedUnionTypes.Unknown<"jobType">;
|
|
25
|
-
|
|
26
|
-
export type ListFineTuningJobsResponse = {
|
|
27
|
-
data?:
|
|
28
|
-
| Array<
|
|
29
|
-
| ClassifierFineTuningJob
|
|
30
|
-
| CompletionFineTuningJob
|
|
31
|
-
| discriminatedUnionTypes.Unknown<"jobType">
|
|
32
|
-
>
|
|
33
|
-
| undefined;
|
|
34
|
-
object: "list";
|
|
35
|
-
total: number;
|
|
36
|
-
};
|
|
37
|
-
|
|
38
|
-
/** @internal */
|
|
39
|
-
export const ListFineTuningJobsResponseData$inboundSchema: z.ZodType<
|
|
40
|
-
ListFineTuningJobsResponseData,
|
|
41
|
-
unknown
|
|
42
|
-
> = discriminatedUnion("job_type", {
|
|
43
|
-
classifier: ClassifierFineTuningJob$inboundSchema,
|
|
44
|
-
completion: CompletionFineTuningJob$inboundSchema,
|
|
45
|
-
}, { outputPropertyName: "jobType" });
|
|
46
|
-
|
|
47
|
-
export function listFineTuningJobsResponseDataFromJSON(
|
|
48
|
-
jsonString: string,
|
|
49
|
-
): SafeParseResult<ListFineTuningJobsResponseData, SDKValidationError> {
|
|
50
|
-
return safeParse(
|
|
51
|
-
jsonString,
|
|
52
|
-
(x) => ListFineTuningJobsResponseData$inboundSchema.parse(JSON.parse(x)),
|
|
53
|
-
`Failed to parse 'ListFineTuningJobsResponseData' from JSON`,
|
|
54
|
-
);
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
/** @internal */
|
|
58
|
-
export const ListFineTuningJobsResponse$inboundSchema: z.ZodType<
|
|
59
|
-
ListFineTuningJobsResponse,
|
|
60
|
-
unknown
|
|
61
|
-
> = z.object({
|
|
62
|
-
data: z.array(
|
|
63
|
-
discriminatedUnion("job_type", {
|
|
64
|
-
classifier: ClassifierFineTuningJob$inboundSchema,
|
|
65
|
-
completion: CompletionFineTuningJob$inboundSchema,
|
|
66
|
-
}, { outputPropertyName: "jobType" }),
|
|
67
|
-
).optional(),
|
|
68
|
-
object: z.literal("list").default("list"),
|
|
69
|
-
total: z.int(),
|
|
70
|
-
});
|
|
71
|
-
|
|
72
|
-
export function listFineTuningJobsResponseFromJSON(
|
|
73
|
-
jsonString: string,
|
|
74
|
-
): SafeParseResult<ListFineTuningJobsResponse, SDKValidationError> {
|
|
75
|
-
return safeParse(
|
|
76
|
-
jsonString,
|
|
77
|
-
(x) => ListFineTuningJobsResponse$inboundSchema.parse(JSON.parse(x)),
|
|
78
|
-
`Failed to parse 'ListFineTuningJobsResponse' from JSON`,
|
|
79
|
-
);
|
|
80
|
-
}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
* @generated-id: b01bcea443f7
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
import * as z from "zod/v4";
|
|
7
|
-
import { remap as remap$ } from "../../lib/primitives.js";
|
|
8
|
-
import { safeParse } from "../../lib/schemas.js";
|
|
9
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* Metrics at the step number during the fine-tuning job. Use these metrics to assess if the training is going smoothly (loss should decrease, token accuracy should increase).
|
|
14
|
-
*/
|
|
15
|
-
export type Metric = {
|
|
16
|
-
trainLoss?: number | null | undefined;
|
|
17
|
-
validLoss?: number | null | undefined;
|
|
18
|
-
validMeanTokenAccuracy?: number | null | undefined;
|
|
19
|
-
};
|
|
20
|
-
|
|
21
|
-
/** @internal */
|
|
22
|
-
export const Metric$inboundSchema: z.ZodType<Metric, unknown> = z.object({
|
|
23
|
-
train_loss: z.nullable(z.number()).optional(),
|
|
24
|
-
valid_loss: z.nullable(z.number()).optional(),
|
|
25
|
-
valid_mean_token_accuracy: z.nullable(z.number()).optional(),
|
|
26
|
-
}).transform((v) => {
|
|
27
|
-
return remap$(v, {
|
|
28
|
-
"train_loss": "trainLoss",
|
|
29
|
-
"valid_loss": "validLoss",
|
|
30
|
-
"valid_mean_token_accuracy": "validMeanTokenAccuracy",
|
|
31
|
-
});
|
|
32
|
-
});
|
|
33
|
-
|
|
34
|
-
export function metricFromJSON(
|
|
35
|
-
jsonString: string,
|
|
36
|
-
): SafeParseResult<Metric, SDKValidationError> {
|
|
37
|
-
return safeParse(
|
|
38
|
-
jsonString,
|
|
39
|
-
(x) => Metric$inboundSchema.parse(JSON.parse(x)),
|
|
40
|
-
`Failed to parse 'Metric' from JSON`,
|
|
41
|
-
);
|
|
42
|
-
}
|