@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,38 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
* @generated-id: fb33fbe77a4b
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
import * as z from "zod/v4";
|
|
7
|
-
import * as b64$ from "../../lib/base64.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
|
-
* Additional structured error detail.
|
|
14
|
-
*/
|
|
15
|
-
export type ProtobufAny = {
|
|
16
|
-
type?: string | undefined;
|
|
17
|
-
value?: Uint8Array | string | undefined;
|
|
18
|
-
debug?: { [k: string]: any } | undefined;
|
|
19
|
-
[additionalProperties: string]: unknown;
|
|
20
|
-
};
|
|
21
|
-
|
|
22
|
-
/** @internal */
|
|
23
|
-
export const ProtobufAny$inboundSchema: z.ZodType<ProtobufAny, unknown> = z
|
|
24
|
-
.object({
|
|
25
|
-
type: z.string().optional(),
|
|
26
|
-
value: b64$.zodInbound.optional(),
|
|
27
|
-
debug: z.record(z.string(), z.any()).optional(),
|
|
28
|
-
}).catchall(z.any());
|
|
29
|
-
|
|
30
|
-
export function protobufAnyFromJSON(
|
|
31
|
-
jsonString: string,
|
|
32
|
-
): SafeParseResult<ProtobufAny, SDKValidationError> {
|
|
33
|
-
return safeParse(
|
|
34
|
-
jsonString,
|
|
35
|
-
(x) => ProtobufAny$inboundSchema.parse(JSON.parse(x)),
|
|
36
|
-
`Failed to parse 'ProtobufAny' from JSON`,
|
|
37
|
-
);
|
|
38
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
* @generated-id: 27330130c02e
|
|
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 RequestUploadUrlResponse = {
|
|
13
|
-
/**
|
|
14
|
-
* Temporary signed URL for uploading a document to blob storage.
|
|
15
|
-
*/
|
|
16
|
-
signedUrl: string;
|
|
17
|
-
};
|
|
18
|
-
|
|
19
|
-
/** @internal */
|
|
20
|
-
export const RequestUploadUrlResponse$inboundSchema: z.ZodType<
|
|
21
|
-
RequestUploadUrlResponse,
|
|
22
|
-
unknown
|
|
23
|
-
> = z.object({
|
|
24
|
-
signed_url: z.string(),
|
|
25
|
-
}).transform((v) => {
|
|
26
|
-
return remap$(v, {
|
|
27
|
-
"signed_url": "signedUrl",
|
|
28
|
-
});
|
|
29
|
-
});
|
|
30
|
-
|
|
31
|
-
export function requestUploadUrlResponseFromJSON(
|
|
32
|
-
jsonString: string,
|
|
33
|
-
): SafeParseResult<RequestUploadUrlResponse, SDKValidationError> {
|
|
34
|
-
return safeParse(
|
|
35
|
-
jsonString,
|
|
36
|
-
(x) => RequestUploadUrlResponse$inboundSchema.parse(JSON.parse(x)),
|
|
37
|
-
`Failed to parse 'RequestUploadUrlResponse' from JSON`,
|
|
38
|
-
);
|
|
39
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
* @generated-id: eae3a2cf29a5
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
import * as z from "zod/v4";
|
|
7
|
-
import { remap as remap$ } from "../../lib/primitives.js";
|
|
8
|
-
|
|
9
|
-
export type TrainingFile = {
|
|
10
|
-
fileId: string;
|
|
11
|
-
weight?: number | undefined;
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
/** @internal */
|
|
15
|
-
export type TrainingFile$Outbound = {
|
|
16
|
-
file_id: string;
|
|
17
|
-
weight: number;
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
/** @internal */
|
|
21
|
-
export const TrainingFile$outboundSchema: z.ZodType<
|
|
22
|
-
TrainingFile$Outbound,
|
|
23
|
-
TrainingFile
|
|
24
|
-
> = z.object({
|
|
25
|
-
fileId: z.string(),
|
|
26
|
-
weight: z.number().default(1),
|
|
27
|
-
}).transform((v) => {
|
|
28
|
-
return remap$(v, {
|
|
29
|
-
fileId: "file_id",
|
|
30
|
-
});
|
|
31
|
-
});
|
|
32
|
-
|
|
33
|
-
export function trainingFileToJSON(trainingFile: TrainingFile): string {
|
|
34
|
-
return JSON.stringify(TrainingFile$outboundSchema.parse(trainingFile));
|
|
35
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
* @generated-id: 140c43dcd1a0
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
import * as z from "zod/v4";
|
|
7
|
-
|
|
8
|
-
export type UpdateIndexSummaryRequestSummary = {
|
|
9
|
-
summary: string;
|
|
10
|
-
};
|
|
11
|
-
|
|
12
|
-
/** @internal */
|
|
13
|
-
export type UpdateIndexSummaryRequestSummary$Outbound = {
|
|
14
|
-
summary: string;
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
/** @internal */
|
|
18
|
-
export const UpdateIndexSummaryRequestSummary$outboundSchema: z.ZodType<
|
|
19
|
-
UpdateIndexSummaryRequestSummary$Outbound,
|
|
20
|
-
UpdateIndexSummaryRequestSummary
|
|
21
|
-
> = z.object({
|
|
22
|
-
summary: z.string(),
|
|
23
|
-
});
|
|
24
|
-
|
|
25
|
-
export function updateIndexSummaryRequestSummaryToJSON(
|
|
26
|
-
updateIndexSummaryRequestSummary: UpdateIndexSummaryRequestSummary,
|
|
27
|
-
): string {
|
|
28
|
-
return JSON.stringify(
|
|
29
|
-
UpdateIndexSummaryRequestSummary$outboundSchema.parse(
|
|
30
|
-
updateIndexSummaryRequestSummary,
|
|
31
|
-
),
|
|
32
|
-
);
|
|
33
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
* @generated-id: f0f5e9064139
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
import * as z from "zod/v4";
|
|
7
|
-
|
|
8
|
-
export type UpdateSchemaSummaryRequestSummary = {
|
|
9
|
-
summary: string;
|
|
10
|
-
};
|
|
11
|
-
|
|
12
|
-
/** @internal */
|
|
13
|
-
export type UpdateSchemaSummaryRequestSummary$Outbound = {
|
|
14
|
-
summary: string;
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
/** @internal */
|
|
18
|
-
export const UpdateSchemaSummaryRequestSummary$outboundSchema: z.ZodType<
|
|
19
|
-
UpdateSchemaSummaryRequestSummary$Outbound,
|
|
20
|
-
UpdateSchemaSummaryRequestSummary
|
|
21
|
-
> = z.object({
|
|
22
|
-
summary: z.string(),
|
|
23
|
-
});
|
|
24
|
-
|
|
25
|
-
export function updateSchemaSummaryRequestSummaryToJSON(
|
|
26
|
-
updateSchemaSummaryRequestSummary: UpdateSchemaSummaryRequestSummary,
|
|
27
|
-
): string {
|
|
28
|
-
return JSON.stringify(
|
|
29
|
-
UpdateSchemaSummaryRequestSummary$outboundSchema.parse(
|
|
30
|
-
updateSchemaSummaryRequestSummary,
|
|
31
|
-
),
|
|
32
|
-
);
|
|
33
|
-
}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
* @generated-id: bfe22ff4db83
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
import * as z from "zod/v4";
|
|
7
|
-
import { remap as remap$ } from "../../lib/primitives.js";
|
|
8
|
-
|
|
9
|
-
export type WandbIntegration = {
|
|
10
|
-
type: "wandb";
|
|
11
|
-
/**
|
|
12
|
-
* The name of the project that the new run will be created under.
|
|
13
|
-
*/
|
|
14
|
-
project: string;
|
|
15
|
-
/**
|
|
16
|
-
* A display name to set for the run. If not set, will use the job ID as the name.
|
|
17
|
-
*/
|
|
18
|
-
name?: string | null | undefined;
|
|
19
|
-
/**
|
|
20
|
-
* The WandB API key to use for authentication.
|
|
21
|
-
*/
|
|
22
|
-
apiKey: string;
|
|
23
|
-
runName?: string | null | undefined;
|
|
24
|
-
};
|
|
25
|
-
|
|
26
|
-
/** @internal */
|
|
27
|
-
export type WandbIntegration$Outbound = {
|
|
28
|
-
type: "wandb";
|
|
29
|
-
project: string;
|
|
30
|
-
name?: string | null | undefined;
|
|
31
|
-
api_key: string;
|
|
32
|
-
run_name?: string | null | undefined;
|
|
33
|
-
};
|
|
34
|
-
|
|
35
|
-
/** @internal */
|
|
36
|
-
export const WandbIntegration$outboundSchema: z.ZodType<
|
|
37
|
-
WandbIntegration$Outbound,
|
|
38
|
-
WandbIntegration
|
|
39
|
-
> = z.object({
|
|
40
|
-
type: z.literal("wandb"),
|
|
41
|
-
project: z.string(),
|
|
42
|
-
name: z.nullable(z.string()).optional(),
|
|
43
|
-
apiKey: z.string(),
|
|
44
|
-
runName: z.nullable(z.string()).optional(),
|
|
45
|
-
}).transform((v) => {
|
|
46
|
-
return remap$(v, {
|
|
47
|
-
apiKey: "api_key",
|
|
48
|
-
runName: "run_name",
|
|
49
|
-
});
|
|
50
|
-
});
|
|
51
|
-
|
|
52
|
-
export function wandbIntegrationToJSON(
|
|
53
|
-
wandbIntegration: WandbIntegration,
|
|
54
|
-
): string {
|
|
55
|
-
return JSON.stringify(
|
|
56
|
-
WandbIntegration$outboundSchema.parse(wandbIntegration),
|
|
57
|
-
);
|
|
58
|
-
}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
* @generated-id: e117392f3711
|
|
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 WandbIntegrationResult = {
|
|
13
|
-
type: "wandb";
|
|
14
|
-
/**
|
|
15
|
-
* The name of the project that the new run will be created under.
|
|
16
|
-
*/
|
|
17
|
-
project: string;
|
|
18
|
-
/**
|
|
19
|
-
* A display name to set for the run. If not set, will use the job ID as the name.
|
|
20
|
-
*/
|
|
21
|
-
name?: string | null | undefined;
|
|
22
|
-
runName?: string | null | undefined;
|
|
23
|
-
url?: string | null | undefined;
|
|
24
|
-
};
|
|
25
|
-
|
|
26
|
-
/** @internal */
|
|
27
|
-
export const WandbIntegrationResult$inboundSchema: z.ZodType<
|
|
28
|
-
WandbIntegrationResult,
|
|
29
|
-
unknown
|
|
30
|
-
> = z.object({
|
|
31
|
-
type: z.literal("wandb"),
|
|
32
|
-
project: z.string(),
|
|
33
|
-
name: z.nullable(z.string()).optional(),
|
|
34
|
-
run_name: z.nullable(z.string()).optional(),
|
|
35
|
-
url: z.nullable(z.string()).optional(),
|
|
36
|
-
}).transform((v) => {
|
|
37
|
-
return remap$(v, {
|
|
38
|
-
"run_name": "runName",
|
|
39
|
-
});
|
|
40
|
-
});
|
|
41
|
-
|
|
42
|
-
export function wandbIntegrationResultFromJSON(
|
|
43
|
-
jsonString: string,
|
|
44
|
-
): SafeParseResult<WandbIntegrationResult, SDKValidationError> {
|
|
45
|
-
return safeParse(
|
|
46
|
-
jsonString,
|
|
47
|
-
(x) => WandbIntegrationResult$inboundSchema.parse(JSON.parse(x)),
|
|
48
|
-
`Failed to parse 'WandbIntegrationResult' from JSON`,
|
|
49
|
-
);
|
|
50
|
-
}
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
* @generated-id: 252d6c0d8fdf
|
|
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 * as discriminatedUnionTypes from "../../types/discriminatedUnion.js";
|
|
10
|
-
import { discriminatedUnion } from "../../types/discriminatedUnion.js";
|
|
11
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
12
|
-
import * as components from "../components/index.js";
|
|
13
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
14
|
-
|
|
15
|
-
export type JobsApiRoutesFineTuningCancelFineTuningJobRequest = {
|
|
16
|
-
/**
|
|
17
|
-
* The ID of the job to cancel.
|
|
18
|
-
*/
|
|
19
|
-
jobId: string;
|
|
20
|
-
};
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* OK
|
|
24
|
-
*/
|
|
25
|
-
export type JobsApiRoutesFineTuningCancelFineTuningJobResponse =
|
|
26
|
-
| components.ClassifierFineTuningJobDetails
|
|
27
|
-
| components.CompletionFineTuningJobDetails
|
|
28
|
-
| discriminatedUnionTypes.Unknown<"jobType">;
|
|
29
|
-
|
|
30
|
-
/** @internal */
|
|
31
|
-
export type JobsApiRoutesFineTuningCancelFineTuningJobRequest$Outbound = {
|
|
32
|
-
job_id: string;
|
|
33
|
-
};
|
|
34
|
-
|
|
35
|
-
/** @internal */
|
|
36
|
-
export const JobsApiRoutesFineTuningCancelFineTuningJobRequest$outboundSchema:
|
|
37
|
-
z.ZodType<
|
|
38
|
-
JobsApiRoutesFineTuningCancelFineTuningJobRequest$Outbound,
|
|
39
|
-
JobsApiRoutesFineTuningCancelFineTuningJobRequest
|
|
40
|
-
> = z.object({
|
|
41
|
-
jobId: z.string(),
|
|
42
|
-
}).transform((v) => {
|
|
43
|
-
return remap$(v, {
|
|
44
|
-
jobId: "job_id",
|
|
45
|
-
});
|
|
46
|
-
});
|
|
47
|
-
|
|
48
|
-
export function jobsApiRoutesFineTuningCancelFineTuningJobRequestToJSON(
|
|
49
|
-
jobsApiRoutesFineTuningCancelFineTuningJobRequest:
|
|
50
|
-
JobsApiRoutesFineTuningCancelFineTuningJobRequest,
|
|
51
|
-
): string {
|
|
52
|
-
return JSON.stringify(
|
|
53
|
-
JobsApiRoutesFineTuningCancelFineTuningJobRequest$outboundSchema.parse(
|
|
54
|
-
jobsApiRoutesFineTuningCancelFineTuningJobRequest,
|
|
55
|
-
),
|
|
56
|
-
);
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
/** @internal */
|
|
60
|
-
export const JobsApiRoutesFineTuningCancelFineTuningJobResponse$inboundSchema:
|
|
61
|
-
z.ZodType<JobsApiRoutesFineTuningCancelFineTuningJobResponse, unknown> =
|
|
62
|
-
discriminatedUnion("job_type", {
|
|
63
|
-
classifier: components.ClassifierFineTuningJobDetails$inboundSchema,
|
|
64
|
-
completion: components.CompletionFineTuningJobDetails$inboundSchema,
|
|
65
|
-
}, { outputPropertyName: "jobType" });
|
|
66
|
-
|
|
67
|
-
export function jobsApiRoutesFineTuningCancelFineTuningJobResponseFromJSON(
|
|
68
|
-
jsonString: string,
|
|
69
|
-
): SafeParseResult<
|
|
70
|
-
JobsApiRoutesFineTuningCancelFineTuningJobResponse,
|
|
71
|
-
SDKValidationError
|
|
72
|
-
> {
|
|
73
|
-
return safeParse(
|
|
74
|
-
jsonString,
|
|
75
|
-
(x) =>
|
|
76
|
-
JobsApiRoutesFineTuningCancelFineTuningJobResponse$inboundSchema.parse(
|
|
77
|
-
JSON.parse(x),
|
|
78
|
-
),
|
|
79
|
-
`Failed to parse 'JobsApiRoutesFineTuningCancelFineTuningJobResponse' from JSON`,
|
|
80
|
-
);
|
|
81
|
-
}
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
* @generated-id: e1eea242b18a
|
|
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 { smartUnion } from "../../types/smartUnion.js";
|
|
12
|
-
import * as components from "../components/index.js";
|
|
13
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
14
|
-
|
|
15
|
-
export type ResponseT =
|
|
16
|
-
| components.ClassifierFineTuningJob
|
|
17
|
-
| components.CompletionFineTuningJob
|
|
18
|
-
| discriminatedUnionTypes.Unknown<"jobType">;
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
* OK
|
|
22
|
-
*/
|
|
23
|
-
export type JobsApiRoutesFineTuningCreateFineTuningJobResponse =
|
|
24
|
-
| components.LegacyJobMetadata
|
|
25
|
-
| components.ClassifierFineTuningJob
|
|
26
|
-
| components.CompletionFineTuningJob
|
|
27
|
-
| discriminatedUnionTypes.Unknown<"jobType">;
|
|
28
|
-
|
|
29
|
-
/** @internal */
|
|
30
|
-
export const ResponseT$inboundSchema: z.ZodType<ResponseT, unknown> =
|
|
31
|
-
discriminatedUnion("job_type", {
|
|
32
|
-
classifier: components.ClassifierFineTuningJob$inboundSchema,
|
|
33
|
-
completion: components.CompletionFineTuningJob$inboundSchema,
|
|
34
|
-
}, { outputPropertyName: "jobType" });
|
|
35
|
-
|
|
36
|
-
export function responseFromJSON(
|
|
37
|
-
jsonString: string,
|
|
38
|
-
): SafeParseResult<ResponseT, SDKValidationError> {
|
|
39
|
-
return safeParse(
|
|
40
|
-
jsonString,
|
|
41
|
-
(x) => ResponseT$inboundSchema.parse(JSON.parse(x)),
|
|
42
|
-
`Failed to parse 'ResponseT' from JSON`,
|
|
43
|
-
);
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
/** @internal */
|
|
47
|
-
export const JobsApiRoutesFineTuningCreateFineTuningJobResponse$inboundSchema:
|
|
48
|
-
z.ZodType<JobsApiRoutesFineTuningCreateFineTuningJobResponse, unknown> =
|
|
49
|
-
smartUnion([
|
|
50
|
-
components.LegacyJobMetadata$inboundSchema,
|
|
51
|
-
discriminatedUnion("job_type", {
|
|
52
|
-
classifier: components.ClassifierFineTuningJob$inboundSchema,
|
|
53
|
-
completion: components.CompletionFineTuningJob$inboundSchema,
|
|
54
|
-
}, { outputPropertyName: "jobType" }),
|
|
55
|
-
]);
|
|
56
|
-
|
|
57
|
-
export function jobsApiRoutesFineTuningCreateFineTuningJobResponseFromJSON(
|
|
58
|
-
jsonString: string,
|
|
59
|
-
): SafeParseResult<
|
|
60
|
-
JobsApiRoutesFineTuningCreateFineTuningJobResponse,
|
|
61
|
-
SDKValidationError
|
|
62
|
-
> {
|
|
63
|
-
return safeParse(
|
|
64
|
-
jsonString,
|
|
65
|
-
(x) =>
|
|
66
|
-
JobsApiRoutesFineTuningCreateFineTuningJobResponse$inboundSchema.parse(
|
|
67
|
-
JSON.parse(x),
|
|
68
|
-
),
|
|
69
|
-
`Failed to parse 'JobsApiRoutesFineTuningCreateFineTuningJobResponse' from JSON`,
|
|
70
|
-
);
|
|
71
|
-
}
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
* @generated-id: fccc29306bf7
|
|
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 * as discriminatedUnionTypes from "../../types/discriminatedUnion.js";
|
|
10
|
-
import { discriminatedUnion } from "../../types/discriminatedUnion.js";
|
|
11
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
12
|
-
import * as components from "../components/index.js";
|
|
13
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
14
|
-
|
|
15
|
-
export type JobsApiRoutesFineTuningGetFineTuningJobRequest = {
|
|
16
|
-
/**
|
|
17
|
-
* The ID of the job to analyse.
|
|
18
|
-
*/
|
|
19
|
-
jobId: string;
|
|
20
|
-
};
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* OK
|
|
24
|
-
*/
|
|
25
|
-
export type JobsApiRoutesFineTuningGetFineTuningJobResponse =
|
|
26
|
-
| components.ClassifierFineTuningJobDetails
|
|
27
|
-
| components.CompletionFineTuningJobDetails
|
|
28
|
-
| discriminatedUnionTypes.Unknown<"jobType">;
|
|
29
|
-
|
|
30
|
-
/** @internal */
|
|
31
|
-
export type JobsApiRoutesFineTuningGetFineTuningJobRequest$Outbound = {
|
|
32
|
-
job_id: string;
|
|
33
|
-
};
|
|
34
|
-
|
|
35
|
-
/** @internal */
|
|
36
|
-
export const JobsApiRoutesFineTuningGetFineTuningJobRequest$outboundSchema:
|
|
37
|
-
z.ZodType<
|
|
38
|
-
JobsApiRoutesFineTuningGetFineTuningJobRequest$Outbound,
|
|
39
|
-
JobsApiRoutesFineTuningGetFineTuningJobRequest
|
|
40
|
-
> = z.object({
|
|
41
|
-
jobId: z.string(),
|
|
42
|
-
}).transform((v) => {
|
|
43
|
-
return remap$(v, {
|
|
44
|
-
jobId: "job_id",
|
|
45
|
-
});
|
|
46
|
-
});
|
|
47
|
-
|
|
48
|
-
export function jobsApiRoutesFineTuningGetFineTuningJobRequestToJSON(
|
|
49
|
-
jobsApiRoutesFineTuningGetFineTuningJobRequest:
|
|
50
|
-
JobsApiRoutesFineTuningGetFineTuningJobRequest,
|
|
51
|
-
): string {
|
|
52
|
-
return JSON.stringify(
|
|
53
|
-
JobsApiRoutesFineTuningGetFineTuningJobRequest$outboundSchema.parse(
|
|
54
|
-
jobsApiRoutesFineTuningGetFineTuningJobRequest,
|
|
55
|
-
),
|
|
56
|
-
);
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
/** @internal */
|
|
60
|
-
export const JobsApiRoutesFineTuningGetFineTuningJobResponse$inboundSchema:
|
|
61
|
-
z.ZodType<JobsApiRoutesFineTuningGetFineTuningJobResponse, unknown> =
|
|
62
|
-
discriminatedUnion("job_type", {
|
|
63
|
-
classifier: components.ClassifierFineTuningJobDetails$inboundSchema,
|
|
64
|
-
completion: components.CompletionFineTuningJobDetails$inboundSchema,
|
|
65
|
-
}, { outputPropertyName: "jobType" });
|
|
66
|
-
|
|
67
|
-
export function jobsApiRoutesFineTuningGetFineTuningJobResponseFromJSON(
|
|
68
|
-
jsonString: string,
|
|
69
|
-
): SafeParseResult<
|
|
70
|
-
JobsApiRoutesFineTuningGetFineTuningJobResponse,
|
|
71
|
-
SDKValidationError
|
|
72
|
-
> {
|
|
73
|
-
return safeParse(
|
|
74
|
-
jsonString,
|
|
75
|
-
(x) =>
|
|
76
|
-
JobsApiRoutesFineTuningGetFineTuningJobResponse$inboundSchema.parse(
|
|
77
|
-
JSON.parse(x),
|
|
78
|
-
),
|
|
79
|
-
`Failed to parse 'JobsApiRoutesFineTuningGetFineTuningJobResponse' from JSON`,
|
|
80
|
-
);
|
|
81
|
-
}
|
|
@@ -1,132 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
* @generated-id: 06439aebd08c
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
import * as z from "zod/v4";
|
|
7
|
-
import { remap as remap$ } from "../../lib/primitives.js";
|
|
8
|
-
import { ClosedEnum } from "../../types/enums.js";
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* The current job state to filter on. When set, the other results are not displayed.
|
|
12
|
-
*/
|
|
13
|
-
export const JobsApiRoutesFineTuningGetFineTuningJobsStatus = {
|
|
14
|
-
Queued: "QUEUED",
|
|
15
|
-
Started: "STARTED",
|
|
16
|
-
Validating: "VALIDATING",
|
|
17
|
-
Validated: "VALIDATED",
|
|
18
|
-
Running: "RUNNING",
|
|
19
|
-
FailedValidation: "FAILED_VALIDATION",
|
|
20
|
-
Failed: "FAILED",
|
|
21
|
-
Success: "SUCCESS",
|
|
22
|
-
Cancelled: "CANCELLED",
|
|
23
|
-
CancellationRequested: "CANCELLATION_REQUESTED",
|
|
24
|
-
} as const;
|
|
25
|
-
/**
|
|
26
|
-
* The current job state to filter on. When set, the other results are not displayed.
|
|
27
|
-
*/
|
|
28
|
-
export type JobsApiRoutesFineTuningGetFineTuningJobsStatus = ClosedEnum<
|
|
29
|
-
typeof JobsApiRoutesFineTuningGetFineTuningJobsStatus
|
|
30
|
-
>;
|
|
31
|
-
|
|
32
|
-
export type JobsApiRoutesFineTuningGetFineTuningJobsRequest = {
|
|
33
|
-
/**
|
|
34
|
-
* The page number of the results to be returned.
|
|
35
|
-
*/
|
|
36
|
-
page?: number | undefined;
|
|
37
|
-
/**
|
|
38
|
-
* The number of items to return per page.
|
|
39
|
-
*/
|
|
40
|
-
pageSize?: number | undefined;
|
|
41
|
-
/**
|
|
42
|
-
* The model name used for fine-tuning to filter on. When set, the other results are not displayed.
|
|
43
|
-
*/
|
|
44
|
-
model?: string | null | undefined;
|
|
45
|
-
/**
|
|
46
|
-
* The date/time to filter on. When set, the results for previous creation times are not displayed.
|
|
47
|
-
*/
|
|
48
|
-
createdAfter?: Date | null | undefined;
|
|
49
|
-
createdBefore?: Date | null | undefined;
|
|
50
|
-
/**
|
|
51
|
-
* When set, only return results for jobs created by the API caller. Other results are not displayed.
|
|
52
|
-
*/
|
|
53
|
-
createdByMe?: boolean | undefined;
|
|
54
|
-
/**
|
|
55
|
-
* The current job state to filter on. When set, the other results are not displayed.
|
|
56
|
-
*/
|
|
57
|
-
status?: JobsApiRoutesFineTuningGetFineTuningJobsStatus | null | undefined;
|
|
58
|
-
/**
|
|
59
|
-
* The Weights and Biases project to filter on. When set, the other results are not displayed.
|
|
60
|
-
*/
|
|
61
|
-
wandbProject?: string | null | undefined;
|
|
62
|
-
/**
|
|
63
|
-
* The Weight and Biases run name to filter on. When set, the other results are not displayed.
|
|
64
|
-
*/
|
|
65
|
-
wandbName?: string | null | undefined;
|
|
66
|
-
/**
|
|
67
|
-
* The model suffix to filter on. When set, the other results are not displayed.
|
|
68
|
-
*/
|
|
69
|
-
suffix?: string | null | undefined;
|
|
70
|
-
};
|
|
71
|
-
|
|
72
|
-
/** @internal */
|
|
73
|
-
export const JobsApiRoutesFineTuningGetFineTuningJobsStatus$outboundSchema:
|
|
74
|
-
z.ZodEnum<typeof JobsApiRoutesFineTuningGetFineTuningJobsStatus> = z.enum(
|
|
75
|
-
JobsApiRoutesFineTuningGetFineTuningJobsStatus,
|
|
76
|
-
);
|
|
77
|
-
|
|
78
|
-
/** @internal */
|
|
79
|
-
export type JobsApiRoutesFineTuningGetFineTuningJobsRequest$Outbound = {
|
|
80
|
-
page: number;
|
|
81
|
-
page_size: number;
|
|
82
|
-
model?: string | null | undefined;
|
|
83
|
-
created_after?: string | null | undefined;
|
|
84
|
-
created_before?: string | null | undefined;
|
|
85
|
-
created_by_me: boolean;
|
|
86
|
-
status?: string | null | undefined;
|
|
87
|
-
wandb_project?: string | null | undefined;
|
|
88
|
-
wandb_name?: string | null | undefined;
|
|
89
|
-
suffix?: string | null | undefined;
|
|
90
|
-
};
|
|
91
|
-
|
|
92
|
-
/** @internal */
|
|
93
|
-
export const JobsApiRoutesFineTuningGetFineTuningJobsRequest$outboundSchema:
|
|
94
|
-
z.ZodType<
|
|
95
|
-
JobsApiRoutesFineTuningGetFineTuningJobsRequest$Outbound,
|
|
96
|
-
JobsApiRoutesFineTuningGetFineTuningJobsRequest
|
|
97
|
-
> = z.object({
|
|
98
|
-
page: z.int().default(0),
|
|
99
|
-
pageSize: z.int().default(100),
|
|
100
|
-
model: z.nullable(z.string()).optional(),
|
|
101
|
-
createdAfter: z.nullable(z.date().transform(v => v.toISOString()))
|
|
102
|
-
.optional(),
|
|
103
|
-
createdBefore: z.nullable(z.date().transform(v => v.toISOString()))
|
|
104
|
-
.optional(),
|
|
105
|
-
createdByMe: z.boolean().default(false),
|
|
106
|
-
status: z.nullable(
|
|
107
|
-
JobsApiRoutesFineTuningGetFineTuningJobsStatus$outboundSchema,
|
|
108
|
-
).optional(),
|
|
109
|
-
wandbProject: z.nullable(z.string()).optional(),
|
|
110
|
-
wandbName: z.nullable(z.string()).optional(),
|
|
111
|
-
suffix: z.nullable(z.string()).optional(),
|
|
112
|
-
}).transform((v) => {
|
|
113
|
-
return remap$(v, {
|
|
114
|
-
pageSize: "page_size",
|
|
115
|
-
createdAfter: "created_after",
|
|
116
|
-
createdBefore: "created_before",
|
|
117
|
-
createdByMe: "created_by_me",
|
|
118
|
-
wandbProject: "wandb_project",
|
|
119
|
-
wandbName: "wandb_name",
|
|
120
|
-
});
|
|
121
|
-
});
|
|
122
|
-
|
|
123
|
-
export function jobsApiRoutesFineTuningGetFineTuningJobsRequestToJSON(
|
|
124
|
-
jobsApiRoutesFineTuningGetFineTuningJobsRequest:
|
|
125
|
-
JobsApiRoutesFineTuningGetFineTuningJobsRequest,
|
|
126
|
-
): string {
|
|
127
|
-
return JSON.stringify(
|
|
128
|
-
JobsApiRoutesFineTuningGetFineTuningJobsRequest$outboundSchema.parse(
|
|
129
|
-
jobsApiRoutesFineTuningGetFineTuningJobsRequest,
|
|
130
|
-
),
|
|
131
|
-
);
|
|
132
|
-
}
|