galileo-generated 0.2.5 → 0.2.7
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/.release-please-manifest.json +1 -1
- package/README.md +13 -1
- package/dist/commonjs/funcs/datasetsUpdateDatasetContentDatasetsDatasetIdContentPatch.d.ts +1 -1
- package/dist/commonjs/funcs/datasetsUpdateDatasetContentDatasetsDatasetIdContentPatch.d.ts.map +1 -1
- package/dist/commonjs/funcs/datasetsUpdateDatasetContentDatasetsDatasetIdContentPatch.js +4 -2
- package/dist/commonjs/funcs/datasetsUpdateDatasetContentDatasetsDatasetIdContentPatch.js.map +1 -1
- package/dist/commonjs/funcs/datasetsUpsertDatasetContentDatasetsDatasetIdContentPut.d.ts +1 -1
- package/dist/commonjs/funcs/datasetsUpsertDatasetContentDatasetsDatasetIdContentPut.d.ts.map +1 -1
- package/dist/commonjs/funcs/datasetsUpsertDatasetContentDatasetsDatasetIdContentPut.js +2 -2
- package/dist/commonjs/funcs/datasetsUpsertDatasetContentDatasetsDatasetIdContentPut.js.map +1 -1
- package/dist/commonjs/funcs/integrationsCreateOrUpdateIntegrationIntegrationsCustomPut.d.ts +0 -3
- package/dist/commonjs/funcs/integrationsCreateOrUpdateIntegrationIntegrationsCustomPut.d.ts.map +1 -1
- package/dist/commonjs/funcs/integrationsCreateOrUpdateIntegrationIntegrationsCustomPut.js +0 -3
- package/dist/commonjs/funcs/integrationsCreateOrUpdateIntegrationIntegrationsCustomPut.js.map +1 -1
- package/dist/commonjs/hooks/error-cleaner.d.ts.map +1 -1
- package/dist/commonjs/hooks/error-cleaner.js +0 -4
- package/dist/commonjs/hooks/error-cleaner.js.map +1 -1
- package/dist/commonjs/index.d.ts +2 -0
- package/dist/commonjs/index.d.ts.map +1 -1
- package/dist/commonjs/index.js +2 -0
- package/dist/commonjs/index.js.map +1 -1
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/lib/galileo-config.d.ts +4 -2
- package/dist/commonjs/lib/galileo-config.d.ts.map +1 -1
- package/dist/commonjs/lib/galileo-config.js +16 -1
- package/dist/commonjs/lib/galileo-config.js.map +1 -1
- package/dist/commonjs/lib/sdk-logger.d.ts +26 -0
- package/dist/commonjs/lib/sdk-logger.d.ts.map +1 -0
- package/dist/commonjs/lib/sdk-logger.js +85 -0
- package/dist/commonjs/lib/sdk-logger.js.map +1 -0
- package/dist/commonjs/models/annotationqueueaction.d.ts +1 -0
- package/dist/commonjs/models/annotationqueueaction.d.ts.map +1 -1
- package/dist/commonjs/models/annotationqueueaction.js +1 -0
- package/dist/commonjs/models/annotationqueueaction.js.map +1 -1
- package/dist/commonjs/models/anthropicintegration.d.ts +5 -0
- package/dist/commonjs/models/anthropicintegration.d.ts.map +1 -1
- package/dist/commonjs/models/anthropicintegration.js +3 -0
- package/dist/commonjs/models/anthropicintegration.js.map +1 -1
- package/dist/commonjs/models/anthropicintegrationcreate.d.ts +6 -0
- package/dist/commonjs/models/anthropicintegrationcreate.d.ts.map +1 -1
- package/dist/commonjs/models/anthropicintegrationcreate.js +3 -0
- package/dist/commonjs/models/anthropicintegrationcreate.js.map +1 -1
- package/dist/commonjs/models/awsbedrockintegration.d.ts +5 -0
- package/dist/commonjs/models/awsbedrockintegration.d.ts.map +1 -1
- package/dist/commonjs/models/awsbedrockintegration.js +3 -0
- package/dist/commonjs/models/awsbedrockintegration.js.map +1 -1
- package/dist/commonjs/models/awssagemakerintegration.d.ts +5 -0
- package/dist/commonjs/models/awssagemakerintegration.d.ts.map +1 -1
- package/dist/commonjs/models/awssagemakerintegration.js +3 -0
- package/dist/commonjs/models/awssagemakerintegration.js.map +1 -1
- package/dist/commonjs/models/awssagemakerintegrationcreate.d.ts +6 -0
- package/dist/commonjs/models/awssagemakerintegrationcreate.d.ts.map +1 -1
- package/dist/commonjs/models/awssagemakerintegrationcreate.js +3 -0
- package/dist/commonjs/models/awssagemakerintegrationcreate.js.map +1 -1
- package/dist/commonjs/models/azureintegration.d.ts +5 -0
- package/dist/commonjs/models/azureintegration.d.ts.map +1 -1
- package/dist/commonjs/models/azureintegration.js +3 -0
- package/dist/commonjs/models/azureintegration.js.map +1 -1
- package/dist/commonjs/models/azureintegrationcreate.d.ts +6 -0
- package/dist/commonjs/models/azureintegrationcreate.d.ts.map +1 -1
- package/dist/commonjs/models/azureintegrationcreate.js +3 -0
- package/dist/commonjs/models/azureintegrationcreate.js.map +1 -1
- package/dist/commonjs/models/baseawsintegrationcreate.d.ts +6 -0
- package/dist/commonjs/models/baseawsintegrationcreate.d.ts.map +1 -1
- package/dist/commonjs/models/baseawsintegrationcreate.js +3 -0
- package/dist/commonjs/models/baseawsintegrationcreate.js.map +1 -1
- package/dist/commonjs/models/basescorer.d.ts +2 -0
- package/dist/commonjs/models/basescorer.d.ts.map +1 -1
- package/dist/commonjs/models/basescorer.js +4 -0
- package/dist/commonjs/models/basescorer.js.map +1 -1
- package/dist/commonjs/models/columncategory.d.ts +1 -0
- package/dist/commonjs/models/columncategory.d.ts.map +1 -1
- package/dist/commonjs/models/columncategory.js +1 -0
- package/dist/commonjs/models/columncategory.js.map +1 -1
- package/dist/commonjs/models/customauthenticationtype.d.ts +22 -1
- package/dist/commonjs/models/customauthenticationtype.d.ts.map +1 -1
- package/dist/commonjs/models/customauthenticationtype.js +12 -1
- package/dist/commonjs/models/customauthenticationtype.js.map +1 -1
- package/dist/commonjs/models/customintegration.d.ts +31 -0
- package/dist/commonjs/models/customintegration.d.ts.map +1 -1
- package/dist/commonjs/models/customintegration.js +7 -0
- package/dist/commonjs/models/customintegration.js.map +1 -1
- package/dist/commonjs/models/customintegrationcreate.d.ts +37 -0
- package/dist/commonjs/models/customintegrationcreate.d.ts.map +1 -1
- package/dist/commonjs/models/customintegrationcreate.js +7 -0
- package/dist/commonjs/models/customintegrationcreate.js.map +1 -1
- package/dist/commonjs/models/customizedagenticsessionsuccessgptscorer.d.ts +2 -0
- package/dist/commonjs/models/customizedagenticsessionsuccessgptscorer.d.ts.map +1 -1
- package/dist/commonjs/models/customizedagenticsessionsuccessgptscorer.js +4 -0
- package/dist/commonjs/models/customizedagenticsessionsuccessgptscorer.js.map +1 -1
- package/dist/commonjs/models/customizedagenticworkflowsuccessgptscorer.d.ts +2 -0
- package/dist/commonjs/models/customizedagenticworkflowsuccessgptscorer.d.ts.map +1 -1
- package/dist/commonjs/models/customizedagenticworkflowsuccessgptscorer.js +4 -0
- package/dist/commonjs/models/customizedagenticworkflowsuccessgptscorer.js.map +1 -1
- package/dist/commonjs/models/customizedchunkattributionutilizationgptscorer.d.ts +2 -0
- package/dist/commonjs/models/customizedchunkattributionutilizationgptscorer.d.ts.map +1 -1
- package/dist/commonjs/models/customizedchunkattributionutilizationgptscorer.js +4 -0
- package/dist/commonjs/models/customizedchunkattributionutilizationgptscorer.js.map +1 -1
- package/dist/commonjs/models/customizedcompletenessgptscorer.d.ts +2 -0
- package/dist/commonjs/models/customizedcompletenessgptscorer.d.ts.map +1 -1
- package/dist/commonjs/models/customizedcompletenessgptscorer.js +4 -0
- package/dist/commonjs/models/customizedcompletenessgptscorer.js.map +1 -1
- package/dist/commonjs/models/customizedfactualitygptscorer.d.ts +2 -0
- package/dist/commonjs/models/customizedfactualitygptscorer.d.ts.map +1 -1
- package/dist/commonjs/models/customizedfactualitygptscorer.js +4 -0
- package/dist/commonjs/models/customizedfactualitygptscorer.js.map +1 -1
- package/dist/commonjs/models/customizedgroundednessgptscorer.d.ts +2 -0
- package/dist/commonjs/models/customizedgroundednessgptscorer.d.ts.map +1 -1
- package/dist/commonjs/models/customizedgroundednessgptscorer.js +4 -0
- package/dist/commonjs/models/customizedgroundednessgptscorer.js.map +1 -1
- package/dist/commonjs/models/customizedgroundtruthadherencegptscorer.d.ts +2 -0
- package/dist/commonjs/models/customizedgroundtruthadherencegptscorer.d.ts.map +1 -1
- package/dist/commonjs/models/customizedgroundtruthadherencegptscorer.js +4 -0
- package/dist/commonjs/models/customizedgroundtruthadherencegptscorer.js.map +1 -1
- package/dist/commonjs/models/customizedinputsexistgptscorer.d.ts +2 -0
- package/dist/commonjs/models/customizedinputsexistgptscorer.d.ts.map +1 -1
- package/dist/commonjs/models/customizedinputsexistgptscorer.js +4 -0
- package/dist/commonjs/models/customizedinputsexistgptscorer.js.map +1 -1
- package/dist/commonjs/models/customizedinputtoxicitygptscorer.d.ts +2 -0
- package/dist/commonjs/models/customizedinputtoxicitygptscorer.d.ts.map +1 -1
- package/dist/commonjs/models/customizedinputtoxicitygptscorer.js +4 -0
- package/dist/commonjs/models/customizedinputtoxicitygptscorer.js.map +1 -1
- package/dist/commonjs/models/customizedinstructionadherencegptscorer.d.ts +2 -0
- package/dist/commonjs/models/customizedinstructionadherencegptscorer.d.ts.map +1 -1
- package/dist/commonjs/models/customizedinstructionadherencegptscorer.js +4 -0
- package/dist/commonjs/models/customizedinstructionadherencegptscorer.js.map +1 -1
- package/dist/commonjs/models/customizedpromptinjectiongptscorer.d.ts +2 -0
- package/dist/commonjs/models/customizedpromptinjectiongptscorer.d.ts.map +1 -1
- package/dist/commonjs/models/customizedpromptinjectiongptscorer.js +4 -0
- package/dist/commonjs/models/customizedpromptinjectiongptscorer.js.map +1 -1
- package/dist/commonjs/models/customizedsexistgptscorer.d.ts +2 -0
- package/dist/commonjs/models/customizedsexistgptscorer.d.ts.map +1 -1
- package/dist/commonjs/models/customizedsexistgptscorer.js +4 -0
- package/dist/commonjs/models/customizedsexistgptscorer.js.map +1 -1
- package/dist/commonjs/models/customizedtoolerrorrategptscorer.d.ts +2 -0
- package/dist/commonjs/models/customizedtoolerrorrategptscorer.d.ts.map +1 -1
- package/dist/commonjs/models/customizedtoolerrorrategptscorer.js +4 -0
- package/dist/commonjs/models/customizedtoolerrorrategptscorer.js.map +1 -1
- package/dist/commonjs/models/customizedtoolselectionqualitygptscorer.d.ts +2 -0
- package/dist/commonjs/models/customizedtoolselectionqualitygptscorer.d.ts.map +1 -1
- package/dist/commonjs/models/customizedtoolselectionqualitygptscorer.js +4 -0
- package/dist/commonjs/models/customizedtoolselectionqualitygptscorer.js.map +1 -1
- package/dist/commonjs/models/customizedtoxicitygptscorer.d.ts +2 -0
- package/dist/commonjs/models/customizedtoxicitygptscorer.d.ts.map +1 -1
- package/dist/commonjs/models/customizedtoxicitygptscorer.js +4 -0
- package/dist/commonjs/models/customizedtoxicitygptscorer.js.map +1 -1
- package/dist/commonjs/models/document.d.ts +5 -5
- package/dist/commonjs/models/document.d.ts.map +1 -1
- package/dist/commonjs/models/document.js +7 -15
- package/dist/commonjs/models/document.js.map +1 -1
- package/dist/commonjs/models/galileocoreschemassharedscorersscorernamescorername.d.ts +3 -0
- package/dist/commonjs/models/galileocoreschemassharedscorersscorernamescorername.d.ts.map +1 -1
- package/dist/commonjs/models/galileocoreschemassharedscorersscorernamescorername.js +3 -0
- package/dist/commonjs/models/galileocoreschemassharedscorersscorernamescorername.js.map +1 -1
- package/dist/commonjs/models/index.d.ts +2 -0
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +2 -0
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/inputmodality.d.ts +20 -0
- package/dist/commonjs/models/inputmodality.d.ts.map +1 -0
- package/dist/commonjs/models/inputmodality.js +54 -0
- package/dist/commonjs/models/inputmodality.js.map +1 -0
- package/dist/commonjs/models/model.d.ts +6 -0
- package/dist/commonjs/models/model.d.ts.map +1 -1
- package/dist/commonjs/models/model.js +5 -0
- package/dist/commonjs/models/model.js.map +1 -1
- package/dist/commonjs/models/multimodalmodelintegrationconfig.d.ts +28 -0
- package/dist/commonjs/models/multimodalmodelintegrationconfig.d.ts.map +1 -0
- package/dist/commonjs/models/multimodalmodelintegrationconfig.js +72 -0
- package/dist/commonjs/models/multimodalmodelintegrationconfig.js.map +1 -0
- package/dist/commonjs/models/operations/updatedatasetcontentdatasetsdatasetidcontentpatch.d.ts +10 -0
- package/dist/commonjs/models/operations/updatedatasetcontentdatasetsdatasetidcontentpatch.d.ts.map +1 -1
- package/dist/commonjs/models/operations/updatedatasetcontentdatasetsdatasetidcontentpatch.js +15 -1
- package/dist/commonjs/models/operations/updatedatasetcontentdatasetsdatasetidcontentpatch.js.map +1 -1
- package/dist/commonjs/models/outputtypeenum.d.ts +1 -0
- package/dist/commonjs/models/outputtypeenum.d.ts.map +1 -1
- package/dist/commonjs/models/outputtypeenum.js +1 -0
- package/dist/commonjs/models/outputtypeenum.js.map +1 -1
- package/dist/commonjs/models/vegasgatewayintegrationcreate.d.ts +6 -0
- package/dist/commonjs/models/vegasgatewayintegrationcreate.d.ts.map +1 -1
- package/dist/commonjs/models/vegasgatewayintegrationcreate.js +3 -0
- package/dist/commonjs/models/vegasgatewayintegrationcreate.js.map +1 -1
- package/dist/commonjs/sdk/datasets.d.ts +2 -2
- package/dist/commonjs/sdk/datasets.d.ts.map +1 -1
- package/dist/commonjs/sdk/datasets.js.map +1 -1
- package/dist/commonjs/sdk/integrations.d.ts +0 -3
- package/dist/commonjs/sdk/integrations.d.ts.map +1 -1
- package/dist/commonjs/sdk/integrations.js +0 -3
- package/dist/commonjs/sdk/integrations.js.map +1 -1
- package/dist/commonjs/tests/lib/sdk-logger.test.d.ts +2 -0
- package/dist/commonjs/tests/lib/sdk-logger.test.d.ts.map +1 -0
- package/dist/commonjs/tests/lib/sdk-logger.test.js +401 -0
- package/dist/commonjs/tests/lib/sdk-logger.test.js.map +1 -0
- package/dist/commonjs/types/sdk-logger.types.d.ts +35 -0
- package/dist/commonjs/types/sdk-logger.types.d.ts.map +1 -0
- package/dist/commonjs/types/sdk-logger.types.js +17 -0
- package/dist/commonjs/types/sdk-logger.types.js.map +1 -0
- package/dist/commonjs/types/smartUnion.js +7 -0
- package/dist/commonjs/types/smartUnion.js.map +1 -1
- package/dist/esm/funcs/datasetsUpdateDatasetContentDatasetsDatasetIdContentPatch.d.ts +1 -1
- package/dist/esm/funcs/datasetsUpdateDatasetContentDatasetsDatasetIdContentPatch.d.ts.map +1 -1
- package/dist/esm/funcs/datasetsUpdateDatasetContentDatasetsDatasetIdContentPatch.js +4 -2
- package/dist/esm/funcs/datasetsUpdateDatasetContentDatasetsDatasetIdContentPatch.js.map +1 -1
- package/dist/esm/funcs/datasetsUpsertDatasetContentDatasetsDatasetIdContentPut.d.ts +1 -1
- package/dist/esm/funcs/datasetsUpsertDatasetContentDatasetsDatasetIdContentPut.d.ts.map +1 -1
- package/dist/esm/funcs/datasetsUpsertDatasetContentDatasetsDatasetIdContentPut.js +2 -2
- package/dist/esm/funcs/datasetsUpsertDatasetContentDatasetsDatasetIdContentPut.js.map +1 -1
- package/dist/esm/funcs/integrationsCreateOrUpdateIntegrationIntegrationsCustomPut.d.ts +0 -3
- package/dist/esm/funcs/integrationsCreateOrUpdateIntegrationIntegrationsCustomPut.d.ts.map +1 -1
- package/dist/esm/funcs/integrationsCreateOrUpdateIntegrationIntegrationsCustomPut.js +0 -3
- package/dist/esm/funcs/integrationsCreateOrUpdateIntegrationIntegrationsCustomPut.js.map +1 -1
- package/dist/esm/hooks/error-cleaner.d.ts.map +1 -1
- package/dist/esm/hooks/error-cleaner.js +0 -4
- package/dist/esm/hooks/error-cleaner.js.map +1 -1
- package/dist/esm/index.d.ts +2 -0
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +2 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/lib/galileo-config.d.ts +4 -2
- package/dist/esm/lib/galileo-config.d.ts.map +1 -1
- package/dist/esm/lib/galileo-config.js +15 -1
- package/dist/esm/lib/galileo-config.js.map +1 -1
- package/dist/esm/lib/sdk-logger.d.ts +26 -0
- package/dist/esm/lib/sdk-logger.d.ts.map +1 -0
- package/dist/esm/lib/sdk-logger.js +78 -0
- package/dist/esm/lib/sdk-logger.js.map +1 -0
- package/dist/esm/models/annotationqueueaction.d.ts +1 -0
- package/dist/esm/models/annotationqueueaction.d.ts.map +1 -1
- package/dist/esm/models/annotationqueueaction.js +1 -0
- package/dist/esm/models/annotationqueueaction.js.map +1 -1
- package/dist/esm/models/anthropicintegration.d.ts +5 -0
- package/dist/esm/models/anthropicintegration.d.ts.map +1 -1
- package/dist/esm/models/anthropicintegration.js +3 -0
- package/dist/esm/models/anthropicintegration.js.map +1 -1
- package/dist/esm/models/anthropicintegrationcreate.d.ts +6 -0
- package/dist/esm/models/anthropicintegrationcreate.d.ts.map +1 -1
- package/dist/esm/models/anthropicintegrationcreate.js +3 -0
- package/dist/esm/models/anthropicintegrationcreate.js.map +1 -1
- package/dist/esm/models/awsbedrockintegration.d.ts +5 -0
- package/dist/esm/models/awsbedrockintegration.d.ts.map +1 -1
- package/dist/esm/models/awsbedrockintegration.js +3 -0
- package/dist/esm/models/awsbedrockintegration.js.map +1 -1
- package/dist/esm/models/awssagemakerintegration.d.ts +5 -0
- package/dist/esm/models/awssagemakerintegration.d.ts.map +1 -1
- package/dist/esm/models/awssagemakerintegration.js +3 -0
- package/dist/esm/models/awssagemakerintegration.js.map +1 -1
- package/dist/esm/models/awssagemakerintegrationcreate.d.ts +6 -0
- package/dist/esm/models/awssagemakerintegrationcreate.d.ts.map +1 -1
- package/dist/esm/models/awssagemakerintegrationcreate.js +3 -0
- package/dist/esm/models/awssagemakerintegrationcreate.js.map +1 -1
- package/dist/esm/models/azureintegration.d.ts +5 -0
- package/dist/esm/models/azureintegration.d.ts.map +1 -1
- package/dist/esm/models/azureintegration.js +3 -0
- package/dist/esm/models/azureintegration.js.map +1 -1
- package/dist/esm/models/azureintegrationcreate.d.ts +6 -0
- package/dist/esm/models/azureintegrationcreate.d.ts.map +1 -1
- package/dist/esm/models/azureintegrationcreate.js +3 -0
- package/dist/esm/models/azureintegrationcreate.js.map +1 -1
- package/dist/esm/models/baseawsintegrationcreate.d.ts +6 -0
- package/dist/esm/models/baseawsintegrationcreate.d.ts.map +1 -1
- package/dist/esm/models/baseawsintegrationcreate.js +3 -0
- package/dist/esm/models/baseawsintegrationcreate.js.map +1 -1
- package/dist/esm/models/basescorer.d.ts +2 -0
- package/dist/esm/models/basescorer.d.ts.map +1 -1
- package/dist/esm/models/basescorer.js +4 -0
- package/dist/esm/models/basescorer.js.map +1 -1
- package/dist/esm/models/columncategory.d.ts +1 -0
- package/dist/esm/models/columncategory.d.ts.map +1 -1
- package/dist/esm/models/columncategory.js +1 -0
- package/dist/esm/models/columncategory.js.map +1 -1
- package/dist/esm/models/customauthenticationtype.d.ts +22 -1
- package/dist/esm/models/customauthenticationtype.d.ts.map +1 -1
- package/dist/esm/models/customauthenticationtype.js +12 -1
- package/dist/esm/models/customauthenticationtype.js.map +1 -1
- package/dist/esm/models/customintegration.d.ts +31 -0
- package/dist/esm/models/customintegration.d.ts.map +1 -1
- package/dist/esm/models/customintegration.js +7 -0
- package/dist/esm/models/customintegration.js.map +1 -1
- package/dist/esm/models/customintegrationcreate.d.ts +37 -0
- package/dist/esm/models/customintegrationcreate.d.ts.map +1 -1
- package/dist/esm/models/customintegrationcreate.js +7 -0
- package/dist/esm/models/customintegrationcreate.js.map +1 -1
- package/dist/esm/models/customizedagenticsessionsuccessgptscorer.d.ts +2 -0
- package/dist/esm/models/customizedagenticsessionsuccessgptscorer.d.ts.map +1 -1
- package/dist/esm/models/customizedagenticsessionsuccessgptscorer.js +4 -0
- package/dist/esm/models/customizedagenticsessionsuccessgptscorer.js.map +1 -1
- package/dist/esm/models/customizedagenticworkflowsuccessgptscorer.d.ts +2 -0
- package/dist/esm/models/customizedagenticworkflowsuccessgptscorer.d.ts.map +1 -1
- package/dist/esm/models/customizedagenticworkflowsuccessgptscorer.js +4 -0
- package/dist/esm/models/customizedagenticworkflowsuccessgptscorer.js.map +1 -1
- package/dist/esm/models/customizedchunkattributionutilizationgptscorer.d.ts +2 -0
- package/dist/esm/models/customizedchunkattributionutilizationgptscorer.d.ts.map +1 -1
- package/dist/esm/models/customizedchunkattributionutilizationgptscorer.js +4 -0
- package/dist/esm/models/customizedchunkattributionutilizationgptscorer.js.map +1 -1
- package/dist/esm/models/customizedcompletenessgptscorer.d.ts +2 -0
- package/dist/esm/models/customizedcompletenessgptscorer.d.ts.map +1 -1
- package/dist/esm/models/customizedcompletenessgptscorer.js +4 -0
- package/dist/esm/models/customizedcompletenessgptscorer.js.map +1 -1
- package/dist/esm/models/customizedfactualitygptscorer.d.ts +2 -0
- package/dist/esm/models/customizedfactualitygptscorer.d.ts.map +1 -1
- package/dist/esm/models/customizedfactualitygptscorer.js +4 -0
- package/dist/esm/models/customizedfactualitygptscorer.js.map +1 -1
- package/dist/esm/models/customizedgroundednessgptscorer.d.ts +2 -0
- package/dist/esm/models/customizedgroundednessgptscorer.d.ts.map +1 -1
- package/dist/esm/models/customizedgroundednessgptscorer.js +4 -0
- package/dist/esm/models/customizedgroundednessgptscorer.js.map +1 -1
- package/dist/esm/models/customizedgroundtruthadherencegptscorer.d.ts +2 -0
- package/dist/esm/models/customizedgroundtruthadherencegptscorer.d.ts.map +1 -1
- package/dist/esm/models/customizedgroundtruthadherencegptscorer.js +4 -0
- package/dist/esm/models/customizedgroundtruthadherencegptscorer.js.map +1 -1
- package/dist/esm/models/customizedinputsexistgptscorer.d.ts +2 -0
- package/dist/esm/models/customizedinputsexistgptscorer.d.ts.map +1 -1
- package/dist/esm/models/customizedinputsexistgptscorer.js +4 -0
- package/dist/esm/models/customizedinputsexistgptscorer.js.map +1 -1
- package/dist/esm/models/customizedinputtoxicitygptscorer.d.ts +2 -0
- package/dist/esm/models/customizedinputtoxicitygptscorer.d.ts.map +1 -1
- package/dist/esm/models/customizedinputtoxicitygptscorer.js +4 -0
- package/dist/esm/models/customizedinputtoxicitygptscorer.js.map +1 -1
- package/dist/esm/models/customizedinstructionadherencegptscorer.d.ts +2 -0
- package/dist/esm/models/customizedinstructionadherencegptscorer.d.ts.map +1 -1
- package/dist/esm/models/customizedinstructionadherencegptscorer.js +4 -0
- package/dist/esm/models/customizedinstructionadherencegptscorer.js.map +1 -1
- package/dist/esm/models/customizedpromptinjectiongptscorer.d.ts +2 -0
- package/dist/esm/models/customizedpromptinjectiongptscorer.d.ts.map +1 -1
- package/dist/esm/models/customizedpromptinjectiongptscorer.js +4 -0
- package/dist/esm/models/customizedpromptinjectiongptscorer.js.map +1 -1
- package/dist/esm/models/customizedsexistgptscorer.d.ts +2 -0
- package/dist/esm/models/customizedsexistgptscorer.d.ts.map +1 -1
- package/dist/esm/models/customizedsexistgptscorer.js +4 -0
- package/dist/esm/models/customizedsexistgptscorer.js.map +1 -1
- package/dist/esm/models/customizedtoolerrorrategptscorer.d.ts +2 -0
- package/dist/esm/models/customizedtoolerrorrategptscorer.d.ts.map +1 -1
- package/dist/esm/models/customizedtoolerrorrategptscorer.js +4 -0
- package/dist/esm/models/customizedtoolerrorrategptscorer.js.map +1 -1
- package/dist/esm/models/customizedtoolselectionqualitygptscorer.d.ts +2 -0
- package/dist/esm/models/customizedtoolselectionqualitygptscorer.d.ts.map +1 -1
- package/dist/esm/models/customizedtoolselectionqualitygptscorer.js +4 -0
- package/dist/esm/models/customizedtoolselectionqualitygptscorer.js.map +1 -1
- package/dist/esm/models/customizedtoxicitygptscorer.d.ts +2 -0
- package/dist/esm/models/customizedtoxicitygptscorer.d.ts.map +1 -1
- package/dist/esm/models/customizedtoxicitygptscorer.js +4 -0
- package/dist/esm/models/customizedtoxicitygptscorer.js.map +1 -1
- package/dist/esm/models/document.d.ts +5 -5
- package/dist/esm/models/document.d.ts.map +1 -1
- package/dist/esm/models/document.js +7 -15
- package/dist/esm/models/document.js.map +1 -1
- package/dist/esm/models/galileocoreschemassharedscorersscorernamescorername.d.ts +3 -0
- package/dist/esm/models/galileocoreschemassharedscorersscorernamescorername.d.ts.map +1 -1
- package/dist/esm/models/galileocoreschemassharedscorersscorernamescorername.js +3 -0
- package/dist/esm/models/galileocoreschemassharedscorersscorernamescorername.js.map +1 -1
- package/dist/esm/models/index.d.ts +2 -0
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +2 -0
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/inputmodality.d.ts +20 -0
- package/dist/esm/models/inputmodality.d.ts.map +1 -0
- package/dist/esm/models/inputmodality.js +18 -0
- package/dist/esm/models/inputmodality.js.map +1 -0
- package/dist/esm/models/model.d.ts +6 -0
- package/dist/esm/models/model.d.ts.map +1 -1
- package/dist/esm/models/model.js +5 -0
- package/dist/esm/models/model.js.map +1 -1
- package/dist/esm/models/multimodalmodelintegrationconfig.d.ts +28 -0
- package/dist/esm/models/multimodalmodelintegrationconfig.d.ts.map +1 -0
- package/dist/esm/models/multimodalmodelintegrationconfig.js +34 -0
- package/dist/esm/models/multimodalmodelintegrationconfig.js.map +1 -0
- package/dist/esm/models/operations/updatedatasetcontentdatasetsdatasetidcontentpatch.d.ts +10 -0
- package/dist/esm/models/operations/updatedatasetcontentdatasetsdatasetidcontentpatch.d.ts.map +1 -1
- package/dist/esm/models/operations/updatedatasetcontentdatasetsdatasetidcontentpatch.js +13 -0
- package/dist/esm/models/operations/updatedatasetcontentdatasetsdatasetidcontentpatch.js.map +1 -1
- package/dist/esm/models/outputtypeenum.d.ts +1 -0
- package/dist/esm/models/outputtypeenum.d.ts.map +1 -1
- package/dist/esm/models/outputtypeenum.js +1 -0
- package/dist/esm/models/outputtypeenum.js.map +1 -1
- package/dist/esm/models/vegasgatewayintegrationcreate.d.ts +6 -0
- package/dist/esm/models/vegasgatewayintegrationcreate.d.ts.map +1 -1
- package/dist/esm/models/vegasgatewayintegrationcreate.js +3 -0
- package/dist/esm/models/vegasgatewayintegrationcreate.js.map +1 -1
- package/dist/esm/sdk/datasets.d.ts +2 -2
- package/dist/esm/sdk/datasets.d.ts.map +1 -1
- package/dist/esm/sdk/datasets.js.map +1 -1
- package/dist/esm/sdk/integrations.d.ts +0 -3
- package/dist/esm/sdk/integrations.d.ts.map +1 -1
- package/dist/esm/sdk/integrations.js +0 -3
- package/dist/esm/sdk/integrations.js.map +1 -1
- package/dist/esm/tests/lib/sdk-logger.test.d.ts +2 -0
- package/dist/esm/tests/lib/sdk-logger.test.d.ts.map +1 -0
- package/dist/esm/tests/lib/sdk-logger.test.js +399 -0
- package/dist/esm/tests/lib/sdk-logger.test.js.map +1 -0
- package/dist/esm/types/sdk-logger.types.d.ts +35 -0
- package/dist/esm/types/sdk-logger.types.d.ts.map +1 -0
- package/dist/esm/types/sdk-logger.types.js +14 -0
- package/dist/esm/types/sdk-logger.types.js.map +1 -0
- package/dist/esm/types/smartUnion.js +7 -0
- package/dist/esm/types/smartUnion.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +9 -8
- package/src/funcs/datasetsUpdateDatasetContentDatasetsDatasetIdContentPatch.ts +17 -6
- package/src/funcs/datasetsUpsertDatasetContentDatasetsDatasetIdContentPut.ts +6 -6
- package/src/funcs/integrationsCreateOrUpdateIntegrationIntegrationsCustomPut.ts +0 -3
- package/src/hooks/error-cleaner.ts +0 -7
- package/src/index.ts +2 -0
- package/src/lib/config.ts +3 -3
- package/src/lib/galileo-config.ts +19 -3
- package/src/lib/sdk-logger.ts +91 -0
- package/src/models/annotationqueueaction.ts +1 -0
- package/src/models/anthropicintegration.ts +12 -0
- package/src/models/anthropicintegrationcreate.ts +17 -0
- package/src/models/awsbedrockintegration.ts +12 -0
- package/src/models/awssagemakerintegration.ts +12 -0
- package/src/models/awssagemakerintegrationcreate.ts +17 -0
- package/src/models/azureintegration.ts +12 -0
- package/src/models/azureintegrationcreate.ts +17 -0
- package/src/models/baseawsintegrationcreate.ts +17 -0
- package/src/models/basescorer.ts +6 -0
- package/src/models/columncategory.ts +1 -0
- package/src/models/customauthenticationtype.ts +22 -1
- package/src/models/customintegration.ts +42 -0
- package/src/models/customintegrationcreate.ts +52 -0
- package/src/models/customizedagenticsessionsuccessgptscorer.ts +6 -0
- package/src/models/customizedagenticworkflowsuccessgptscorer.ts +6 -0
- package/src/models/customizedchunkattributionutilizationgptscorer.ts +6 -0
- package/src/models/customizedcompletenessgptscorer.ts +6 -0
- package/src/models/customizedfactualitygptscorer.ts +6 -0
- package/src/models/customizedgroundednessgptscorer.ts +6 -0
- package/src/models/customizedgroundtruthadherencegptscorer.ts +6 -0
- package/src/models/customizedinputsexistgptscorer.ts +6 -0
- package/src/models/customizedinputtoxicitygptscorer.ts +6 -0
- package/src/models/customizedinstructionadherencegptscorer.ts +6 -0
- package/src/models/customizedpromptinjectiongptscorer.ts +6 -0
- package/src/models/customizedsexistgptscorer.ts +6 -0
- package/src/models/customizedtoolerrorrategptscorer.ts +6 -0
- package/src/models/customizedtoolselectionqualitygptscorer.ts +6 -0
- package/src/models/customizedtoxicitygptscorer.ts +6 -0
- package/src/models/document.ts +15 -29
- package/src/models/galileocoreschemassharedscorersscorernamescorername.ts +3 -0
- package/src/models/index.ts +2 -0
- package/src/models/inputmodality.ts +32 -0
- package/src/models/model.ts +14 -0
- package/src/models/multimodalmodelintegrationconfig.ts +82 -0
- package/src/models/operations/updatedatasetcontentdatasetsdatasetidcontentpatch.ts +38 -0
- package/src/models/outputtypeenum.ts +1 -0
- package/src/models/vegasgatewayintegrationcreate.ts +17 -0
- package/src/sdk/datasets.ts +5 -2
- package/src/sdk/integrations.ts +0 -3
- package/src/tests/lib/sdk-logger.test.ts +518 -0
- package/src/types/sdk-logger.types.ts +43 -0
- package/src/types/smartUnion.ts +8 -0
|
@@ -39,7 +39,7 @@ export function datasetsUpsertDatasetContentDatasetsDatasetIdContentPut(
|
|
|
39
39
|
options?: RequestOptions,
|
|
40
40
|
): APIPromise<
|
|
41
41
|
Result<
|
|
42
|
-
|
|
42
|
+
void,
|
|
43
43
|
| errors.HTTPValidationError
|
|
44
44
|
| GalileoGeneratedError
|
|
45
45
|
| ResponseValidationError
|
|
@@ -67,7 +67,7 @@ async function $do(
|
|
|
67
67
|
): Promise<
|
|
68
68
|
[
|
|
69
69
|
Result<
|
|
70
|
-
|
|
70
|
+
void,
|
|
71
71
|
| errors.HTTPValidationError
|
|
72
72
|
| GalileoGeneratedError
|
|
73
73
|
| ResponseValidationError
|
|
@@ -171,7 +171,7 @@ async function $do(
|
|
|
171
171
|
|
|
172
172
|
const doResult = await client._do(req, {
|
|
173
173
|
context,
|
|
174
|
-
errorCodes: ["422", "4XX", "5XX"],
|
|
174
|
+
errorCodes: ["404", "422", "423", "4XX", "5XX"],
|
|
175
175
|
retryConfig: context.retryConfig,
|
|
176
176
|
retryCodes: context.retryCodes,
|
|
177
177
|
});
|
|
@@ -185,7 +185,7 @@ async function $do(
|
|
|
185
185
|
};
|
|
186
186
|
|
|
187
187
|
const [result] = await M.match<
|
|
188
|
-
|
|
188
|
+
void,
|
|
189
189
|
| errors.HTTPValidationError
|
|
190
190
|
| GalileoGeneratedError
|
|
191
191
|
| ResponseValidationError
|
|
@@ -196,9 +196,9 @@ async function $do(
|
|
|
196
196
|
| UnexpectedClientError
|
|
197
197
|
| SDKValidationError
|
|
198
198
|
>(
|
|
199
|
-
M.
|
|
199
|
+
M.nil(204, z.void()),
|
|
200
200
|
M.jsonErr(422, errors.HTTPValidationError$inboundSchema),
|
|
201
|
-
M.fail("4XX"),
|
|
201
|
+
M.fail([404, 423, "4XX"]),
|
|
202
202
|
M.fail("5XX"),
|
|
203
203
|
)(response, req, { extraFields: responseFields });
|
|
204
204
|
if (!result.ok) {
|
|
@@ -29,9 +29,6 @@ import { Result } from "../types/fp.js";
|
|
|
29
29
|
|
|
30
30
|
/**
|
|
31
31
|
* Create Or Update Integration
|
|
32
|
-
*
|
|
33
|
-
* @remarks
|
|
34
|
-
* Create or update a custom integration for this user.
|
|
35
32
|
*/
|
|
36
33
|
export function integrationsCreateOrUpdateIntegrationIntegrationsCustomPut(
|
|
37
34
|
client: GalileoGeneratedCore,
|
|
@@ -18,13 +18,6 @@ export class ErrorCleanerHook implements AfterErrorHook {
|
|
|
18
18
|
): Promise<{ response: Response | null; error: unknown }> {
|
|
19
19
|
void hookCtx;
|
|
20
20
|
|
|
21
|
-
|
|
22
|
-
console.log("#####################################################");
|
|
23
|
-
console.log("eRROR CLEANER HOOK - ERROR:", error);
|
|
24
|
-
console.log("eRROR CLEANER HOOK - RESPONSE:", response);
|
|
25
|
-
console.log("eRROR CLEANER HOOK - HOOK CTX:", hookCtx);
|
|
26
|
-
|
|
27
|
-
|
|
28
21
|
try{
|
|
29
22
|
if (!response) return { response, error };
|
|
30
23
|
|
package/src/index.ts
CHANGED
|
@@ -4,7 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
export * from "./lib/config.js";
|
|
6
6
|
export * from "./lib/galileo-config.js";
|
|
7
|
+
export * from "./lib/sdk-logger.js";
|
|
7
8
|
export * as files from "./lib/files.js";
|
|
8
9
|
export { HTTPClient } from "./lib/http.js";
|
|
9
10
|
export type { Fetcher, HTTPClientOptions } from "./lib/http.js";
|
|
10
11
|
export * from "./sdk/sdk.js";
|
|
12
|
+
export * from "./models/index.js";
|
package/src/lib/config.ts
CHANGED
|
@@ -61,7 +61,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
61
61
|
export const SDK_METADATA = {
|
|
62
62
|
language: "typescript",
|
|
63
63
|
openapiDocVersion: "0.1.0",
|
|
64
|
-
sdkVersion: "0.
|
|
65
|
-
genVersion: "2.
|
|
66
|
-
userAgent: "speakeasy-sdk/typescript 0.
|
|
64
|
+
sdkVersion: "0.2.5",
|
|
65
|
+
genVersion: "2.808.1",
|
|
66
|
+
userAgent: "speakeasy-sdk/typescript 0.2.5 2.808.1 0.1.0 galileo-generated",
|
|
67
67
|
} as const;
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import { isBrowserLike, isDeno, isNodeLike } from "./runtime.js";
|
|
6
|
+
import { LOG_LEVEL_PRIORITY } from "../types/sdk-logger.types.js";
|
|
7
|
+
import type { LogLevel } from "../types/sdk-logger.types.js";
|
|
6
8
|
|
|
7
9
|
/**
|
|
8
10
|
* Configuration input for the Galileo SDK (URLs, auth, project, and log stream).
|
|
@@ -17,7 +19,7 @@ export type GalileoConfigInput = {
|
|
|
17
19
|
ssoProvider?: string;
|
|
18
20
|
jwtToken?: string;
|
|
19
21
|
refreshToken?: string;
|
|
20
|
-
logLevel?:
|
|
22
|
+
logLevel?: LogLevel | undefined;
|
|
21
23
|
projectName?: string;
|
|
22
24
|
logStreamName?: string;
|
|
23
25
|
};
|
|
@@ -71,6 +73,12 @@ const ENV_GALILEO_PROJECT_NAME = "GALILEO_PROJECT_NAME";
|
|
|
71
73
|
const ENV_GALILEO_LOG_STREAM = "GALILEO_LOG_STREAM";
|
|
72
74
|
/** Log stream identifier; same meaning as GALILEO_LOG_STREAM (fallback if GALILEO_LOG_STREAM is unset). */
|
|
73
75
|
const ENV_GALILEO_LOG_STREAM_NAME = "GALILEO_LOG_STREAM_NAME";
|
|
76
|
+
/** Log level for SDK logging (DEBUG, INFO, WARN, ERROR, etc.). */
|
|
77
|
+
const ENV_GALILEO_LOG_LEVEL = "GALILEO_LOG_LEVEL";
|
|
78
|
+
|
|
79
|
+
export function isValidLogLevel(value: unknown): value is LogLevel {
|
|
80
|
+
return typeof value === "string" && value in LOG_LEVEL_PRIORITY;
|
|
81
|
+
}
|
|
74
82
|
|
|
75
83
|
function readEnvObject(): Record<string, string | undefined> | null {
|
|
76
84
|
if (isDeno()) {
|
|
@@ -160,6 +168,8 @@ function normalizeInput(value: unknown): GalileoConfigInput | null {
|
|
|
160
168
|
typeof obj["projectName"] === "string" ? obj["projectName"] : undefined;
|
|
161
169
|
const logStreamName =
|
|
162
170
|
typeof obj["logStreamName"] === "string" ? obj["logStreamName"] : undefined;
|
|
171
|
+
const rawLogLevel = typeof obj["logLevel"] === "string" ? obj["logLevel"].toLowerCase() : undefined;
|
|
172
|
+
const logLevel = isValidLogLevel(rawLogLevel) ? rawLogLevel : undefined;
|
|
163
173
|
if (!apiKey && !u && !p && !ssoIdToken && !ssoProvider) return null;
|
|
164
174
|
return {
|
|
165
175
|
...(apiKey ? { apiKey } : {}),
|
|
@@ -171,6 +181,7 @@ function normalizeInput(value: unknown): GalileoConfigInput | null {
|
|
|
171
181
|
...(apiUrl ? { apiUrl } : {}),
|
|
172
182
|
...(projectName ? { projectName } : {}),
|
|
173
183
|
...(logStreamName ? { logStreamName } : {}),
|
|
184
|
+
...(logLevel !== undefined && logLevel.length > 0 ? { logLevel } : {}),
|
|
174
185
|
};
|
|
175
186
|
}
|
|
176
187
|
|
|
@@ -193,8 +204,12 @@ function resolveFromEnvironment(): GalileoConfigInput | null {
|
|
|
193
204
|
const ssoProvider = env[ENV_SSO_PROVIDER];
|
|
194
205
|
const projectName = env[ENV_GALILEO_PROJECT] ?? env[ENV_GALILEO_PROJECT_NAME];
|
|
195
206
|
const logStreamName = env[ENV_GALILEO_LOG_STREAM] ?? env[ENV_GALILEO_LOG_STREAM_NAME];
|
|
207
|
+
const rawLogLevel = env[ENV_GALILEO_LOG_LEVEL]?.toLowerCase();
|
|
208
|
+
const logLevel = isValidLogLevel(rawLogLevel)
|
|
209
|
+
? rawLogLevel
|
|
210
|
+
: undefined;
|
|
196
211
|
|
|
197
|
-
if (!apiKey && !username && !password && !ssoIdToken && !ssoProvider)
|
|
212
|
+
if (!apiKey && !username && !password && !ssoIdToken && !ssoProvider && !apiUrl && !consoleUrl && !projectName && !logStreamName && !logLevel)
|
|
198
213
|
return null;
|
|
199
214
|
return {
|
|
200
215
|
...(apiKey ? { apiKey } : {}),
|
|
@@ -206,6 +221,7 @@ function resolveFromEnvironment(): GalileoConfigInput | null {
|
|
|
206
221
|
...(consoleUrl ? { consoleUrl } : {}),
|
|
207
222
|
...(projectName ? { projectName } : {}),
|
|
208
223
|
...(logStreamName ? { logStreamName } : {}),
|
|
224
|
+
...(logLevel !== undefined && logLevel.length > 0 ? { logLevel } : {}),
|
|
209
225
|
};
|
|
210
226
|
}
|
|
211
227
|
return null;
|
|
@@ -283,7 +299,7 @@ export class GalileoConfig {
|
|
|
283
299
|
public readonly ssoProvider: string | undefined;
|
|
284
300
|
public readonly jwtToken: string | undefined;
|
|
285
301
|
public readonly refreshToken: string | undefined;
|
|
286
|
-
public readonly logLevel:
|
|
302
|
+
public readonly logLevel: LogLevel | undefined;
|
|
287
303
|
public readonly projectName: string | undefined;
|
|
288
304
|
public readonly logStreamName: string | undefined;
|
|
289
305
|
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { GalileoConfig, isValidLogLevel } from "./galileo-config.js";
|
|
2
|
+
import type { LogLevel, GalileoSdkLogger } from "../types/sdk-logger.types.js";
|
|
3
|
+
import { LOG_LEVEL_PRIORITY } from "../types/sdk-logger.types.js";
|
|
4
|
+
|
|
5
|
+
class SdkLogger {
|
|
6
|
+
private level: LogLevel;
|
|
7
|
+
private customLogger?: GalileoSdkLogger | undefined;
|
|
8
|
+
|
|
9
|
+
constructor() {
|
|
10
|
+
// Respect GALILEO_LOG_LEVEL from config; fall back to 'silent'
|
|
11
|
+
const envLevel = GalileoConfig.get().logLevel;
|
|
12
|
+
this.level = envLevel && isValidLogLevel(envLevel) ? envLevel : "silent";
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
setLevel(level: LogLevel): void {
|
|
16
|
+
this.level = level;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
setCustomLogger(logger: GalileoSdkLogger | undefined): void {
|
|
20
|
+
this.customLogger = logger;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
private shouldLog(level: LogLevel): boolean {
|
|
24
|
+
return LOG_LEVEL_PRIORITY[this.level] >= LOG_LEVEL_PRIORITY[level];
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
debug(message: string, ...args: unknown[]): void {
|
|
28
|
+
if (!this.shouldLog("debug")) return;
|
|
29
|
+
(this.customLogger?.debug ?? console.debug)(message, ...args);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
info(message: string, ...args: unknown[]): void {
|
|
33
|
+
if (!this.shouldLog("info")) return;
|
|
34
|
+
(this.customLogger?.info ?? console.info)(message, ...args);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
warn(message: string, ...args: unknown[]): void {
|
|
38
|
+
if (!this.shouldLog("warn")) return;
|
|
39
|
+
(this.customLogger?.warn ?? console.warn)(message, ...args);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
error(message: string, ...args: unknown[]): void {
|
|
43
|
+
if (!this.shouldLog("error")) return;
|
|
44
|
+
(this.customLogger?.error ?? console.error)(message, ...args);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
let sdkLogger: SdkLogger | undefined;
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Get the singleton SdkLogger instance, creating it if necessary.
|
|
52
|
+
* @returns The singleton SdkLogger instance.
|
|
53
|
+
*/
|
|
54
|
+
export function getSdkLogger(): GalileoSdkLogger {
|
|
55
|
+
if (!sdkLogger) {
|
|
56
|
+
sdkLogger = new SdkLogger();
|
|
57
|
+
}
|
|
58
|
+
return sdkLogger;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* Enable SDK logging at the specified level.
|
|
63
|
+
* @param level - (Optional) The desired log level. Defaults to 'info'. Pass 'debug' to see detailed messages including retry attempts, task-handler operations, and span conversion information.
|
|
64
|
+
*/
|
|
65
|
+
export function enableLogging(level: LogLevel = "info"): void {
|
|
66
|
+
(getSdkLogger() as SdkLogger).setLevel(level);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* Disable all SDK logging.
|
|
71
|
+
*/
|
|
72
|
+
export function disableLogging(): void {
|
|
73
|
+
(getSdkLogger() as SdkLogger).setLevel("silent");
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* Route all SDK log output through a custom logger.
|
|
78
|
+
* @param logger - (Optional) Custom logger implementing GalileoSdkLogger, or undefined to revert to console output.
|
|
79
|
+
*/
|
|
80
|
+
export function setCustomLogger(logger: GalileoSdkLogger | undefined): void {
|
|
81
|
+
(getSdkLogger() as SdkLogger).setCustomLogger(logger);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* Reset the SdkLogger singleton and create a fresh instance that reads the current GalileoConfig state.
|
|
86
|
+
* @returns The newly created SdkLogger instance.
|
|
87
|
+
*/
|
|
88
|
+
export function resetSdkLogger(): GalileoSdkLogger {
|
|
89
|
+
sdkLogger = new SdkLogger();
|
|
90
|
+
return sdkLogger;
|
|
91
|
+
}
|
|
@@ -12,8 +12,16 @@ import {
|
|
|
12
12
|
AnthropicAuthenticationType$inboundSchema,
|
|
13
13
|
} from "./anthropicauthenticationtype.js";
|
|
14
14
|
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
15
|
+
import {
|
|
16
|
+
MultiModalModelIntegrationConfig,
|
|
17
|
+
MultiModalModelIntegrationConfig$inboundSchema,
|
|
18
|
+
} from "./multimodalmodelintegrationconfig.js";
|
|
15
19
|
|
|
16
20
|
export type AnthropicIntegration = {
|
|
21
|
+
/**
|
|
22
|
+
* Configuration for multi-modal (file upload) capabilities.
|
|
23
|
+
*/
|
|
24
|
+
multiModalConfig?: MultiModalModelIntegrationConfig | null | undefined;
|
|
17
25
|
authenticationType?: AnthropicAuthenticationType | undefined;
|
|
18
26
|
/**
|
|
19
27
|
* Custom base URL for the Anthropic API. Required if `proxy` is True.
|
|
@@ -39,6 +47,9 @@ export const AnthropicIntegration$inboundSchema: z.ZodMiniType<
|
|
|
39
47
|
unknown
|
|
40
48
|
> = z.pipe(
|
|
41
49
|
z.object({
|
|
50
|
+
multi_modal_config: z.optional(
|
|
51
|
+
z.nullable(MultiModalModelIntegrationConfig$inboundSchema),
|
|
52
|
+
),
|
|
42
53
|
authentication_type: types.optional(
|
|
43
54
|
AnthropicAuthenticationType$inboundSchema,
|
|
44
55
|
),
|
|
@@ -54,6 +65,7 @@ export const AnthropicIntegration$inboundSchema: z.ZodMiniType<
|
|
|
54
65
|
}),
|
|
55
66
|
z.transform((v) => {
|
|
56
67
|
return remap$(v, {
|
|
68
|
+
"multi_modal_config": "multiModalConfig",
|
|
57
69
|
"authentication_type": "authenticationType",
|
|
58
70
|
"authentication_scope": "authenticationScope",
|
|
59
71
|
"oauth2_token_url": "oauth2TokenUrl",
|
|
@@ -8,8 +8,17 @@ import {
|
|
|
8
8
|
AnthropicAuthenticationType,
|
|
9
9
|
AnthropicAuthenticationType$outboundSchema,
|
|
10
10
|
} from "./anthropicauthenticationtype.js";
|
|
11
|
+
import {
|
|
12
|
+
MultiModalModelIntegrationConfig,
|
|
13
|
+
MultiModalModelIntegrationConfig$Outbound,
|
|
14
|
+
MultiModalModelIntegrationConfig$outboundSchema,
|
|
15
|
+
} from "./multimodalmodelintegrationconfig.js";
|
|
11
16
|
|
|
12
17
|
export type AnthropicIntegrationCreate = {
|
|
18
|
+
/**
|
|
19
|
+
* Configuration for multi-modal (file upload) capabilities.
|
|
20
|
+
*/
|
|
21
|
+
multiModalConfig?: MultiModalModelIntegrationConfig | null | undefined;
|
|
13
22
|
authenticationType?: AnthropicAuthenticationType | undefined;
|
|
14
23
|
/**
|
|
15
24
|
* Custom base URL for the Anthropic API. Required if `proxy` is True.
|
|
@@ -29,6 +38,10 @@ export type AnthropicIntegrationCreate = {
|
|
|
29
38
|
|
|
30
39
|
/** @internal */
|
|
31
40
|
export type AnthropicIntegrationCreate$Outbound = {
|
|
41
|
+
multi_modal_config?:
|
|
42
|
+
| MultiModalModelIntegrationConfig$Outbound
|
|
43
|
+
| null
|
|
44
|
+
| undefined;
|
|
32
45
|
authentication_type?: string | undefined;
|
|
33
46
|
endpoint?: string | null | undefined;
|
|
34
47
|
authentication_scope?: string | null | undefined;
|
|
@@ -43,6 +56,9 @@ export const AnthropicIntegrationCreate$outboundSchema: z.ZodMiniType<
|
|
|
43
56
|
AnthropicIntegrationCreate
|
|
44
57
|
> = z.pipe(
|
|
45
58
|
z.object({
|
|
59
|
+
multiModalConfig: z.optional(
|
|
60
|
+
z.nullable(MultiModalModelIntegrationConfig$outboundSchema),
|
|
61
|
+
),
|
|
46
62
|
authenticationType: z.optional(AnthropicAuthenticationType$outboundSchema),
|
|
47
63
|
endpoint: z.optional(z.nullable(z.string())),
|
|
48
64
|
authenticationScope: z.optional(z.nullable(z.string())),
|
|
@@ -54,6 +70,7 @@ export const AnthropicIntegrationCreate$outboundSchema: z.ZodMiniType<
|
|
|
54
70
|
}),
|
|
55
71
|
z.transform((v) => {
|
|
56
72
|
return remap$(v, {
|
|
73
|
+
multiModalConfig: "multi_modal_config",
|
|
57
74
|
authenticationType: "authentication_type",
|
|
58
75
|
authenticationScope: "authentication_scope",
|
|
59
76
|
oauth2TokenUrl: "oauth2_token_url",
|
|
@@ -12,8 +12,16 @@ import {
|
|
|
12
12
|
AwsCredentialType$inboundSchema,
|
|
13
13
|
} from "./awscredentialtype.js";
|
|
14
14
|
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
15
|
+
import {
|
|
16
|
+
MultiModalModelIntegrationConfig,
|
|
17
|
+
MultiModalModelIntegrationConfig$inboundSchema,
|
|
18
|
+
} from "./multimodalmodelintegrationconfig.js";
|
|
15
19
|
|
|
16
20
|
export type AwsBedrockIntegration = {
|
|
21
|
+
/**
|
|
22
|
+
* Configuration for multi-modal (file upload) capabilities.
|
|
23
|
+
*/
|
|
24
|
+
multiModalConfig?: MultiModalModelIntegrationConfig | null | undefined;
|
|
17
25
|
credentialType?: AwsCredentialType | undefined;
|
|
18
26
|
region: string;
|
|
19
27
|
/**
|
|
@@ -31,6 +39,9 @@ export const AwsBedrockIntegration$inboundSchema: z.ZodMiniType<
|
|
|
31
39
|
unknown
|
|
32
40
|
> = z.pipe(
|
|
33
41
|
z.object({
|
|
42
|
+
multi_modal_config: z.optional(
|
|
43
|
+
z.nullable(MultiModalModelIntegrationConfig$inboundSchema),
|
|
44
|
+
),
|
|
34
45
|
credential_type: types.optional(AwsCredentialType$inboundSchema),
|
|
35
46
|
region: z._default(types.string(), "us-west-2"),
|
|
36
47
|
inference_profiles: types.optional(z.record(z.string(), types.string())),
|
|
@@ -40,6 +51,7 @@ export const AwsBedrockIntegration$inboundSchema: z.ZodMiniType<
|
|
|
40
51
|
}),
|
|
41
52
|
z.transform((v) => {
|
|
42
53
|
return remap$(v, {
|
|
54
|
+
"multi_modal_config": "multiModalConfig",
|
|
43
55
|
"credential_type": "credentialType",
|
|
44
56
|
"inference_profiles": "inferenceProfiles",
|
|
45
57
|
});
|
|
@@ -13,10 +13,18 @@ import {
|
|
|
13
13
|
} from "./awscredentialtype.js";
|
|
14
14
|
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
15
15
|
import { Model, Model$inboundSchema } from "./model.js";
|
|
16
|
+
import {
|
|
17
|
+
MultiModalModelIntegrationConfig,
|
|
18
|
+
MultiModalModelIntegrationConfig$inboundSchema,
|
|
19
|
+
} from "./multimodalmodelintegrationconfig.js";
|
|
16
20
|
|
|
17
21
|
export type AwsSageMakerIntegration = {
|
|
18
22
|
credentialType?: AwsCredentialType | undefined;
|
|
19
23
|
region: string;
|
|
24
|
+
/**
|
|
25
|
+
* Configuration for multi-modal (file upload) capabilities.
|
|
26
|
+
*/
|
|
27
|
+
multiModalConfig?: MultiModalModelIntegrationConfig | null | undefined;
|
|
20
28
|
models?: Array<Model> | undefined;
|
|
21
29
|
id?: string | null | undefined;
|
|
22
30
|
name: "aws_sagemaker";
|
|
@@ -31,6 +39,9 @@ export const AwsSageMakerIntegration$inboundSchema: z.ZodMiniType<
|
|
|
31
39
|
z.object({
|
|
32
40
|
credential_type: types.optional(AwsCredentialType$inboundSchema),
|
|
33
41
|
region: z._default(types.string(), "us-west-2"),
|
|
42
|
+
multi_modal_config: z.optional(
|
|
43
|
+
z.nullable(MultiModalModelIntegrationConfig$inboundSchema),
|
|
44
|
+
),
|
|
34
45
|
models: types.optional(z.array(Model$inboundSchema)),
|
|
35
46
|
id: z.optional(z.nullable(types.string())),
|
|
36
47
|
name: types.literal("aws_sagemaker"),
|
|
@@ -39,6 +50,7 @@ export const AwsSageMakerIntegration$inboundSchema: z.ZodMiniType<
|
|
|
39
50
|
z.transform((v) => {
|
|
40
51
|
return remap$(v, {
|
|
41
52
|
"credential_type": "credentialType",
|
|
53
|
+
"multi_modal_config": "multiModalConfig",
|
|
42
54
|
});
|
|
43
55
|
}),
|
|
44
56
|
);
|
|
@@ -9,8 +9,17 @@ import {
|
|
|
9
9
|
AwsCredentialType$outboundSchema,
|
|
10
10
|
} from "./awscredentialtype.js";
|
|
11
11
|
import { Model, Model$Outbound, Model$outboundSchema } from "./model.js";
|
|
12
|
+
import {
|
|
13
|
+
MultiModalModelIntegrationConfig,
|
|
14
|
+
MultiModalModelIntegrationConfig$Outbound,
|
|
15
|
+
MultiModalModelIntegrationConfig$outboundSchema,
|
|
16
|
+
} from "./multimodalmodelintegrationconfig.js";
|
|
12
17
|
|
|
13
18
|
export type AwsSageMakerIntegrationCreate = {
|
|
19
|
+
/**
|
|
20
|
+
* Configuration for multi-modal (file upload) capabilities.
|
|
21
|
+
*/
|
|
22
|
+
multiModalConfig?: MultiModalModelIntegrationConfig | null | undefined;
|
|
14
23
|
models?: Array<Model> | undefined;
|
|
15
24
|
credentialType?: AwsCredentialType | undefined;
|
|
16
25
|
region?: string | undefined;
|
|
@@ -23,6 +32,10 @@ export type AwsSageMakerIntegrationCreate = {
|
|
|
23
32
|
|
|
24
33
|
/** @internal */
|
|
25
34
|
export type AwsSageMakerIntegrationCreate$Outbound = {
|
|
35
|
+
multi_modal_config?:
|
|
36
|
+
| MultiModalModelIntegrationConfig$Outbound
|
|
37
|
+
| null
|
|
38
|
+
| undefined;
|
|
26
39
|
models?: Array<Model$Outbound> | undefined;
|
|
27
40
|
credential_type?: string | undefined;
|
|
28
41
|
region: string;
|
|
@@ -36,6 +49,9 @@ export const AwsSageMakerIntegrationCreate$outboundSchema: z.ZodMiniType<
|
|
|
36
49
|
AwsSageMakerIntegrationCreate
|
|
37
50
|
> = z.pipe(
|
|
38
51
|
z.object({
|
|
52
|
+
multiModalConfig: z.optional(
|
|
53
|
+
z.nullable(MultiModalModelIntegrationConfig$outboundSchema),
|
|
54
|
+
),
|
|
39
55
|
models: z.optional(z.array(Model$outboundSchema)),
|
|
40
56
|
credentialType: z.optional(AwsCredentialType$outboundSchema),
|
|
41
57
|
region: z._default(z.string(), "us-west-2"),
|
|
@@ -44,6 +60,7 @@ export const AwsSageMakerIntegrationCreate$outboundSchema: z.ZodMiniType<
|
|
|
44
60
|
}),
|
|
45
61
|
z.transform((v) => {
|
|
46
62
|
return remap$(v, {
|
|
63
|
+
multiModalConfig: "multi_modal_config",
|
|
47
64
|
credentialType: "credential_type",
|
|
48
65
|
inferenceProfiles: "inference_profiles",
|
|
49
66
|
});
|
|
@@ -16,8 +16,16 @@ import {
|
|
|
16
16
|
AzureModelDeployment$inboundSchema,
|
|
17
17
|
} from "./azuremodeldeployment.js";
|
|
18
18
|
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
19
|
+
import {
|
|
20
|
+
MultiModalModelIntegrationConfig,
|
|
21
|
+
MultiModalModelIntegrationConfig$inboundSchema,
|
|
22
|
+
} from "./multimodalmodelintegrationconfig.js";
|
|
19
23
|
|
|
20
24
|
export type AzureIntegration = {
|
|
25
|
+
/**
|
|
26
|
+
* Configuration for multi-modal (file upload) capabilities.
|
|
27
|
+
*/
|
|
28
|
+
multiModalConfig?: MultiModalModelIntegrationConfig | null | undefined;
|
|
21
29
|
proxy: boolean;
|
|
22
30
|
endpoint: string;
|
|
23
31
|
apiVersion: string;
|
|
@@ -49,6 +57,9 @@ export const AzureIntegration$inboundSchema: z.ZodMiniType<
|
|
|
49
57
|
unknown
|
|
50
58
|
> = z.pipe(
|
|
51
59
|
z.object({
|
|
60
|
+
multi_modal_config: z.optional(
|
|
61
|
+
z.nullable(MultiModalModelIntegrationConfig$inboundSchema),
|
|
62
|
+
),
|
|
52
63
|
proxy: z._default(types.boolean(), false),
|
|
53
64
|
endpoint: types.string(),
|
|
54
65
|
api_version: z._default(types.string(), "2025-03-01-preview"),
|
|
@@ -72,6 +83,7 @@ export const AzureIntegration$inboundSchema: z.ZodMiniType<
|
|
|
72
83
|
}),
|
|
73
84
|
z.transform((v) => {
|
|
74
85
|
return remap$(v, {
|
|
86
|
+
"multi_modal_config": "multiModalConfig",
|
|
75
87
|
"api_version": "apiVersion",
|
|
76
88
|
"azure_deployment": "azureDeployment",
|
|
77
89
|
"authentication_type": "authenticationType",
|
|
@@ -13,8 +13,17 @@ import {
|
|
|
13
13
|
AzureModelDeployment$Outbound,
|
|
14
14
|
AzureModelDeployment$outboundSchema,
|
|
15
15
|
} from "./azuremodeldeployment.js";
|
|
16
|
+
import {
|
|
17
|
+
MultiModalModelIntegrationConfig,
|
|
18
|
+
MultiModalModelIntegrationConfig$Outbound,
|
|
19
|
+
MultiModalModelIntegrationConfig$outboundSchema,
|
|
20
|
+
} from "./multimodalmodelintegrationconfig.js";
|
|
16
21
|
|
|
17
22
|
export type AzureIntegrationCreate = {
|
|
23
|
+
/**
|
|
24
|
+
* Configuration for multi-modal (file upload) capabilities.
|
|
25
|
+
*/
|
|
26
|
+
multiModalConfig?: MultiModalModelIntegrationConfig | null | undefined;
|
|
18
27
|
proxy?: boolean | undefined;
|
|
19
28
|
endpoint: string;
|
|
20
29
|
apiVersion?: string | undefined;
|
|
@@ -40,6 +49,10 @@ export type AzureIntegrationCreate = {
|
|
|
40
49
|
|
|
41
50
|
/** @internal */
|
|
42
51
|
export type AzureIntegrationCreate$Outbound = {
|
|
52
|
+
multi_modal_config?:
|
|
53
|
+
| MultiModalModelIntegrationConfig$Outbound
|
|
54
|
+
| null
|
|
55
|
+
| undefined;
|
|
43
56
|
proxy: boolean;
|
|
44
57
|
endpoint: string;
|
|
45
58
|
api_version: string;
|
|
@@ -63,6 +76,9 @@ export const AzureIntegrationCreate$outboundSchema: z.ZodMiniType<
|
|
|
63
76
|
AzureIntegrationCreate
|
|
64
77
|
> = z.pipe(
|
|
65
78
|
z.object({
|
|
79
|
+
multiModalConfig: z.optional(
|
|
80
|
+
z.nullable(MultiModalModelIntegrationConfig$outboundSchema),
|
|
81
|
+
),
|
|
66
82
|
proxy: z._default(z.boolean(), false),
|
|
67
83
|
endpoint: z.string(),
|
|
68
84
|
apiVersion: z._default(z.string(), "2025-03-01-preview"),
|
|
@@ -82,6 +98,7 @@ export const AzureIntegrationCreate$outboundSchema: z.ZodMiniType<
|
|
|
82
98
|
}),
|
|
83
99
|
z.transform((v) => {
|
|
84
100
|
return remap$(v, {
|
|
101
|
+
multiModalConfig: "multi_modal_config",
|
|
85
102
|
apiVersion: "api_version",
|
|
86
103
|
azureDeployment: "azure_deployment",
|
|
87
104
|
authenticationType: "authentication_type",
|
|
@@ -8,8 +8,17 @@ import {
|
|
|
8
8
|
AwsCredentialType,
|
|
9
9
|
AwsCredentialType$outboundSchema,
|
|
10
10
|
} from "./awscredentialtype.js";
|
|
11
|
+
import {
|
|
12
|
+
MultiModalModelIntegrationConfig,
|
|
13
|
+
MultiModalModelIntegrationConfig$Outbound,
|
|
14
|
+
MultiModalModelIntegrationConfig$outboundSchema,
|
|
15
|
+
} from "./multimodalmodelintegrationconfig.js";
|
|
11
16
|
|
|
12
17
|
export type BaseAwsIntegrationCreate = {
|
|
18
|
+
/**
|
|
19
|
+
* Configuration for multi-modal (file upload) capabilities.
|
|
20
|
+
*/
|
|
21
|
+
multiModalConfig?: MultiModalModelIntegrationConfig | null | undefined;
|
|
13
22
|
credentialType?: AwsCredentialType | undefined;
|
|
14
23
|
region?: string | undefined;
|
|
15
24
|
/**
|
|
@@ -21,6 +30,10 @@ export type BaseAwsIntegrationCreate = {
|
|
|
21
30
|
|
|
22
31
|
/** @internal */
|
|
23
32
|
export type BaseAwsIntegrationCreate$Outbound = {
|
|
33
|
+
multi_modal_config?:
|
|
34
|
+
| MultiModalModelIntegrationConfig$Outbound
|
|
35
|
+
| null
|
|
36
|
+
| undefined;
|
|
24
37
|
credential_type?: string | undefined;
|
|
25
38
|
region: string;
|
|
26
39
|
inference_profiles?: { [k: string]: string } | undefined;
|
|
@@ -33,6 +46,9 @@ export const BaseAwsIntegrationCreate$outboundSchema: z.ZodMiniType<
|
|
|
33
46
|
BaseAwsIntegrationCreate
|
|
34
47
|
> = z.pipe(
|
|
35
48
|
z.object({
|
|
49
|
+
multiModalConfig: z.optional(
|
|
50
|
+
z.nullable(MultiModalModelIntegrationConfig$outboundSchema),
|
|
51
|
+
),
|
|
36
52
|
credentialType: z.optional(AwsCredentialType$outboundSchema),
|
|
37
53
|
region: z._default(z.string(), "us-west-2"),
|
|
38
54
|
inferenceProfiles: z.optional(z.record(z.string(), z.string())),
|
|
@@ -40,6 +56,7 @@ export const BaseAwsIntegrationCreate$outboundSchema: z.ZodMiniType<
|
|
|
40
56
|
}),
|
|
41
57
|
z.transform((v) => {
|
|
42
58
|
return remap$(v, {
|
|
59
|
+
multiModalConfig: "multi_modal_config",
|
|
43
60
|
credentialType: "credential_type",
|
|
44
61
|
inferenceProfiles: "inference_profiles",
|
|
45
62
|
});
|
package/src/models/basescorer.ts
CHANGED
|
@@ -114,6 +114,7 @@ export type BaseScorer = {
|
|
|
114
114
|
registeredScorerId?: string | null | undefined;
|
|
115
115
|
generatedScorerId?: string | null | undefined;
|
|
116
116
|
scorerVersionId?: string | null | undefined;
|
|
117
|
+
userCode?: string | null | undefined;
|
|
117
118
|
canCopyToLlm?: boolean | null | undefined;
|
|
118
119
|
scoreableNodeTypes?: Array<NodeType> | null | undefined;
|
|
119
120
|
cotEnabled?: boolean | null | undefined;
|
|
@@ -289,6 +290,7 @@ export const BaseScorer$inboundSchema: z.ZodMiniType<BaseScorer, unknown> = z
|
|
|
289
290
|
registered_scorer_id: z.optional(z.nullable(types.string())),
|
|
290
291
|
generated_scorer_id: z.optional(z.nullable(types.string())),
|
|
291
292
|
scorer_version_id: z.optional(z.nullable(types.string())),
|
|
293
|
+
user_code: z.optional(z.nullable(types.string())),
|
|
292
294
|
can_copy_to_llm: z.optional(z.nullable(types.boolean())),
|
|
293
295
|
scoreable_node_types: z.optional(
|
|
294
296
|
z.nullable(z.array(NodeType$inboundSchema)),
|
|
@@ -337,6 +339,7 @@ export const BaseScorer$inboundSchema: z.ZodMiniType<BaseScorer, unknown> = z
|
|
|
337
339
|
"registered_scorer_id": "registeredScorerId",
|
|
338
340
|
"generated_scorer_id": "generatedScorerId",
|
|
339
341
|
"scorer_version_id": "scorerVersionId",
|
|
342
|
+
"user_code": "userCode",
|
|
340
343
|
"can_copy_to_llm": "canCopyToLlm",
|
|
341
344
|
"scoreable_node_types": "scoreableNodeTypes",
|
|
342
345
|
"cot_enabled": "cotEnabled",
|
|
@@ -378,6 +381,7 @@ export type BaseScorer$Outbound = {
|
|
|
378
381
|
registered_scorer_id?: string | null | undefined;
|
|
379
382
|
generated_scorer_id?: string | null | undefined;
|
|
380
383
|
scorer_version_id?: string | null | undefined;
|
|
384
|
+
user_code?: string | null | undefined;
|
|
381
385
|
can_copy_to_llm?: boolean | null | undefined;
|
|
382
386
|
scoreable_node_types?: Array<string> | null | undefined;
|
|
383
387
|
cot_enabled?: boolean | null | undefined;
|
|
@@ -435,6 +439,7 @@ export const BaseScorer$outboundSchema: z.ZodMiniType<
|
|
|
435
439
|
registeredScorerId: z.optional(z.nullable(z.string())),
|
|
436
440
|
generatedScorerId: z.optional(z.nullable(z.string())),
|
|
437
441
|
scorerVersionId: z.optional(z.nullable(z.string())),
|
|
442
|
+
userCode: z.optional(z.nullable(z.string())),
|
|
438
443
|
canCopyToLlm: z.optional(z.nullable(z.boolean())),
|
|
439
444
|
scoreableNodeTypes: z.optional(
|
|
440
445
|
z.nullable(z.array(NodeType$outboundSchema)),
|
|
@@ -481,6 +486,7 @@ export const BaseScorer$outboundSchema: z.ZodMiniType<
|
|
|
481
486
|
registeredScorerId: "registered_scorer_id",
|
|
482
487
|
generatedScorerId: "generated_scorer_id",
|
|
483
488
|
scorerVersionId: "scorer_version_id",
|
|
489
|
+
userCode: "user_code",
|
|
484
490
|
canCopyToLlm: "can_copy_to_llm",
|
|
485
491
|
scoreableNodeTypes: "scoreable_node_types",
|
|
486
492
|
cotEnabled: "cot_enabled",
|