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.
Files changed (451) hide show
  1. package/.release-please-manifest.json +1 -1
  2. package/README.md +13 -1
  3. package/dist/commonjs/funcs/datasetsUpdateDatasetContentDatasetsDatasetIdContentPatch.d.ts +1 -1
  4. package/dist/commonjs/funcs/datasetsUpdateDatasetContentDatasetsDatasetIdContentPatch.d.ts.map +1 -1
  5. package/dist/commonjs/funcs/datasetsUpdateDatasetContentDatasetsDatasetIdContentPatch.js +4 -2
  6. package/dist/commonjs/funcs/datasetsUpdateDatasetContentDatasetsDatasetIdContentPatch.js.map +1 -1
  7. package/dist/commonjs/funcs/datasetsUpsertDatasetContentDatasetsDatasetIdContentPut.d.ts +1 -1
  8. package/dist/commonjs/funcs/datasetsUpsertDatasetContentDatasetsDatasetIdContentPut.d.ts.map +1 -1
  9. package/dist/commonjs/funcs/datasetsUpsertDatasetContentDatasetsDatasetIdContentPut.js +2 -2
  10. package/dist/commonjs/funcs/datasetsUpsertDatasetContentDatasetsDatasetIdContentPut.js.map +1 -1
  11. package/dist/commonjs/funcs/integrationsCreateOrUpdateIntegrationIntegrationsCustomPut.d.ts +0 -3
  12. package/dist/commonjs/funcs/integrationsCreateOrUpdateIntegrationIntegrationsCustomPut.d.ts.map +1 -1
  13. package/dist/commonjs/funcs/integrationsCreateOrUpdateIntegrationIntegrationsCustomPut.js +0 -3
  14. package/dist/commonjs/funcs/integrationsCreateOrUpdateIntegrationIntegrationsCustomPut.js.map +1 -1
  15. package/dist/commonjs/hooks/error-cleaner.d.ts.map +1 -1
  16. package/dist/commonjs/hooks/error-cleaner.js +0 -4
  17. package/dist/commonjs/hooks/error-cleaner.js.map +1 -1
  18. package/dist/commonjs/index.d.ts +2 -0
  19. package/dist/commonjs/index.d.ts.map +1 -1
  20. package/dist/commonjs/index.js +2 -0
  21. package/dist/commonjs/index.js.map +1 -1
  22. package/dist/commonjs/lib/config.d.ts +3 -3
  23. package/dist/commonjs/lib/config.js +3 -3
  24. package/dist/commonjs/lib/galileo-config.d.ts +4 -2
  25. package/dist/commonjs/lib/galileo-config.d.ts.map +1 -1
  26. package/dist/commonjs/lib/galileo-config.js +16 -1
  27. package/dist/commonjs/lib/galileo-config.js.map +1 -1
  28. package/dist/commonjs/lib/sdk-logger.d.ts +26 -0
  29. package/dist/commonjs/lib/sdk-logger.d.ts.map +1 -0
  30. package/dist/commonjs/lib/sdk-logger.js +85 -0
  31. package/dist/commonjs/lib/sdk-logger.js.map +1 -0
  32. package/dist/commonjs/models/annotationqueueaction.d.ts +1 -0
  33. package/dist/commonjs/models/annotationqueueaction.d.ts.map +1 -1
  34. package/dist/commonjs/models/annotationqueueaction.js +1 -0
  35. package/dist/commonjs/models/annotationqueueaction.js.map +1 -1
  36. package/dist/commonjs/models/anthropicintegration.d.ts +5 -0
  37. package/dist/commonjs/models/anthropicintegration.d.ts.map +1 -1
  38. package/dist/commonjs/models/anthropicintegration.js +3 -0
  39. package/dist/commonjs/models/anthropicintegration.js.map +1 -1
  40. package/dist/commonjs/models/anthropicintegrationcreate.d.ts +6 -0
  41. package/dist/commonjs/models/anthropicintegrationcreate.d.ts.map +1 -1
  42. package/dist/commonjs/models/anthropicintegrationcreate.js +3 -0
  43. package/dist/commonjs/models/anthropicintegrationcreate.js.map +1 -1
  44. package/dist/commonjs/models/awsbedrockintegration.d.ts +5 -0
  45. package/dist/commonjs/models/awsbedrockintegration.d.ts.map +1 -1
  46. package/dist/commonjs/models/awsbedrockintegration.js +3 -0
  47. package/dist/commonjs/models/awsbedrockintegration.js.map +1 -1
  48. package/dist/commonjs/models/awssagemakerintegration.d.ts +5 -0
  49. package/dist/commonjs/models/awssagemakerintegration.d.ts.map +1 -1
  50. package/dist/commonjs/models/awssagemakerintegration.js +3 -0
  51. package/dist/commonjs/models/awssagemakerintegration.js.map +1 -1
  52. package/dist/commonjs/models/awssagemakerintegrationcreate.d.ts +6 -0
  53. package/dist/commonjs/models/awssagemakerintegrationcreate.d.ts.map +1 -1
  54. package/dist/commonjs/models/awssagemakerintegrationcreate.js +3 -0
  55. package/dist/commonjs/models/awssagemakerintegrationcreate.js.map +1 -1
  56. package/dist/commonjs/models/azureintegration.d.ts +5 -0
  57. package/dist/commonjs/models/azureintegration.d.ts.map +1 -1
  58. package/dist/commonjs/models/azureintegration.js +3 -0
  59. package/dist/commonjs/models/azureintegration.js.map +1 -1
  60. package/dist/commonjs/models/azureintegrationcreate.d.ts +6 -0
  61. package/dist/commonjs/models/azureintegrationcreate.d.ts.map +1 -1
  62. package/dist/commonjs/models/azureintegrationcreate.js +3 -0
  63. package/dist/commonjs/models/azureintegrationcreate.js.map +1 -1
  64. package/dist/commonjs/models/baseawsintegrationcreate.d.ts +6 -0
  65. package/dist/commonjs/models/baseawsintegrationcreate.d.ts.map +1 -1
  66. package/dist/commonjs/models/baseawsintegrationcreate.js +3 -0
  67. package/dist/commonjs/models/baseawsintegrationcreate.js.map +1 -1
  68. package/dist/commonjs/models/basescorer.d.ts +2 -0
  69. package/dist/commonjs/models/basescorer.d.ts.map +1 -1
  70. package/dist/commonjs/models/basescorer.js +4 -0
  71. package/dist/commonjs/models/basescorer.js.map +1 -1
  72. package/dist/commonjs/models/columncategory.d.ts +1 -0
  73. package/dist/commonjs/models/columncategory.d.ts.map +1 -1
  74. package/dist/commonjs/models/columncategory.js +1 -0
  75. package/dist/commonjs/models/columncategory.js.map +1 -1
  76. package/dist/commonjs/models/customauthenticationtype.d.ts +22 -1
  77. package/dist/commonjs/models/customauthenticationtype.d.ts.map +1 -1
  78. package/dist/commonjs/models/customauthenticationtype.js +12 -1
  79. package/dist/commonjs/models/customauthenticationtype.js.map +1 -1
  80. package/dist/commonjs/models/customintegration.d.ts +31 -0
  81. package/dist/commonjs/models/customintegration.d.ts.map +1 -1
  82. package/dist/commonjs/models/customintegration.js +7 -0
  83. package/dist/commonjs/models/customintegration.js.map +1 -1
  84. package/dist/commonjs/models/customintegrationcreate.d.ts +37 -0
  85. package/dist/commonjs/models/customintegrationcreate.d.ts.map +1 -1
  86. package/dist/commonjs/models/customintegrationcreate.js +7 -0
  87. package/dist/commonjs/models/customintegrationcreate.js.map +1 -1
  88. package/dist/commonjs/models/customizedagenticsessionsuccessgptscorer.d.ts +2 -0
  89. package/dist/commonjs/models/customizedagenticsessionsuccessgptscorer.d.ts.map +1 -1
  90. package/dist/commonjs/models/customizedagenticsessionsuccessgptscorer.js +4 -0
  91. package/dist/commonjs/models/customizedagenticsessionsuccessgptscorer.js.map +1 -1
  92. package/dist/commonjs/models/customizedagenticworkflowsuccessgptscorer.d.ts +2 -0
  93. package/dist/commonjs/models/customizedagenticworkflowsuccessgptscorer.d.ts.map +1 -1
  94. package/dist/commonjs/models/customizedagenticworkflowsuccessgptscorer.js +4 -0
  95. package/dist/commonjs/models/customizedagenticworkflowsuccessgptscorer.js.map +1 -1
  96. package/dist/commonjs/models/customizedchunkattributionutilizationgptscorer.d.ts +2 -0
  97. package/dist/commonjs/models/customizedchunkattributionutilizationgptscorer.d.ts.map +1 -1
  98. package/dist/commonjs/models/customizedchunkattributionutilizationgptscorer.js +4 -0
  99. package/dist/commonjs/models/customizedchunkattributionutilizationgptscorer.js.map +1 -1
  100. package/dist/commonjs/models/customizedcompletenessgptscorer.d.ts +2 -0
  101. package/dist/commonjs/models/customizedcompletenessgptscorer.d.ts.map +1 -1
  102. package/dist/commonjs/models/customizedcompletenessgptscorer.js +4 -0
  103. package/dist/commonjs/models/customizedcompletenessgptscorer.js.map +1 -1
  104. package/dist/commonjs/models/customizedfactualitygptscorer.d.ts +2 -0
  105. package/dist/commonjs/models/customizedfactualitygptscorer.d.ts.map +1 -1
  106. package/dist/commonjs/models/customizedfactualitygptscorer.js +4 -0
  107. package/dist/commonjs/models/customizedfactualitygptscorer.js.map +1 -1
  108. package/dist/commonjs/models/customizedgroundednessgptscorer.d.ts +2 -0
  109. package/dist/commonjs/models/customizedgroundednessgptscorer.d.ts.map +1 -1
  110. package/dist/commonjs/models/customizedgroundednessgptscorer.js +4 -0
  111. package/dist/commonjs/models/customizedgroundednessgptscorer.js.map +1 -1
  112. package/dist/commonjs/models/customizedgroundtruthadherencegptscorer.d.ts +2 -0
  113. package/dist/commonjs/models/customizedgroundtruthadherencegptscorer.d.ts.map +1 -1
  114. package/dist/commonjs/models/customizedgroundtruthadherencegptscorer.js +4 -0
  115. package/dist/commonjs/models/customizedgroundtruthadherencegptscorer.js.map +1 -1
  116. package/dist/commonjs/models/customizedinputsexistgptscorer.d.ts +2 -0
  117. package/dist/commonjs/models/customizedinputsexistgptscorer.d.ts.map +1 -1
  118. package/dist/commonjs/models/customizedinputsexistgptscorer.js +4 -0
  119. package/dist/commonjs/models/customizedinputsexistgptscorer.js.map +1 -1
  120. package/dist/commonjs/models/customizedinputtoxicitygptscorer.d.ts +2 -0
  121. package/dist/commonjs/models/customizedinputtoxicitygptscorer.d.ts.map +1 -1
  122. package/dist/commonjs/models/customizedinputtoxicitygptscorer.js +4 -0
  123. package/dist/commonjs/models/customizedinputtoxicitygptscorer.js.map +1 -1
  124. package/dist/commonjs/models/customizedinstructionadherencegptscorer.d.ts +2 -0
  125. package/dist/commonjs/models/customizedinstructionadherencegptscorer.d.ts.map +1 -1
  126. package/dist/commonjs/models/customizedinstructionadherencegptscorer.js +4 -0
  127. package/dist/commonjs/models/customizedinstructionadherencegptscorer.js.map +1 -1
  128. package/dist/commonjs/models/customizedpromptinjectiongptscorer.d.ts +2 -0
  129. package/dist/commonjs/models/customizedpromptinjectiongptscorer.d.ts.map +1 -1
  130. package/dist/commonjs/models/customizedpromptinjectiongptscorer.js +4 -0
  131. package/dist/commonjs/models/customizedpromptinjectiongptscorer.js.map +1 -1
  132. package/dist/commonjs/models/customizedsexistgptscorer.d.ts +2 -0
  133. package/dist/commonjs/models/customizedsexistgptscorer.d.ts.map +1 -1
  134. package/dist/commonjs/models/customizedsexistgptscorer.js +4 -0
  135. package/dist/commonjs/models/customizedsexistgptscorer.js.map +1 -1
  136. package/dist/commonjs/models/customizedtoolerrorrategptscorer.d.ts +2 -0
  137. package/dist/commonjs/models/customizedtoolerrorrategptscorer.d.ts.map +1 -1
  138. package/dist/commonjs/models/customizedtoolerrorrategptscorer.js +4 -0
  139. package/dist/commonjs/models/customizedtoolerrorrategptscorer.js.map +1 -1
  140. package/dist/commonjs/models/customizedtoolselectionqualitygptscorer.d.ts +2 -0
  141. package/dist/commonjs/models/customizedtoolselectionqualitygptscorer.d.ts.map +1 -1
  142. package/dist/commonjs/models/customizedtoolselectionqualitygptscorer.js +4 -0
  143. package/dist/commonjs/models/customizedtoolselectionqualitygptscorer.js.map +1 -1
  144. package/dist/commonjs/models/customizedtoxicitygptscorer.d.ts +2 -0
  145. package/dist/commonjs/models/customizedtoxicitygptscorer.d.ts.map +1 -1
  146. package/dist/commonjs/models/customizedtoxicitygptscorer.js +4 -0
  147. package/dist/commonjs/models/customizedtoxicitygptscorer.js.map +1 -1
  148. package/dist/commonjs/models/document.d.ts +5 -5
  149. package/dist/commonjs/models/document.d.ts.map +1 -1
  150. package/dist/commonjs/models/document.js +7 -15
  151. package/dist/commonjs/models/document.js.map +1 -1
  152. package/dist/commonjs/models/galileocoreschemassharedscorersscorernamescorername.d.ts +3 -0
  153. package/dist/commonjs/models/galileocoreschemassharedscorersscorernamescorername.d.ts.map +1 -1
  154. package/dist/commonjs/models/galileocoreschemassharedscorersscorernamescorername.js +3 -0
  155. package/dist/commonjs/models/galileocoreschemassharedscorersscorernamescorername.js.map +1 -1
  156. package/dist/commonjs/models/index.d.ts +2 -0
  157. package/dist/commonjs/models/index.d.ts.map +1 -1
  158. package/dist/commonjs/models/index.js +2 -0
  159. package/dist/commonjs/models/index.js.map +1 -1
  160. package/dist/commonjs/models/inputmodality.d.ts +20 -0
  161. package/dist/commonjs/models/inputmodality.d.ts.map +1 -0
  162. package/dist/commonjs/models/inputmodality.js +54 -0
  163. package/dist/commonjs/models/inputmodality.js.map +1 -0
  164. package/dist/commonjs/models/model.d.ts +6 -0
  165. package/dist/commonjs/models/model.d.ts.map +1 -1
  166. package/dist/commonjs/models/model.js +5 -0
  167. package/dist/commonjs/models/model.js.map +1 -1
  168. package/dist/commonjs/models/multimodalmodelintegrationconfig.d.ts +28 -0
  169. package/dist/commonjs/models/multimodalmodelintegrationconfig.d.ts.map +1 -0
  170. package/dist/commonjs/models/multimodalmodelintegrationconfig.js +72 -0
  171. package/dist/commonjs/models/multimodalmodelintegrationconfig.js.map +1 -0
  172. package/dist/commonjs/models/operations/updatedatasetcontentdatasetsdatasetidcontentpatch.d.ts +10 -0
  173. package/dist/commonjs/models/operations/updatedatasetcontentdatasetsdatasetidcontentpatch.d.ts.map +1 -1
  174. package/dist/commonjs/models/operations/updatedatasetcontentdatasetsdatasetidcontentpatch.js +15 -1
  175. package/dist/commonjs/models/operations/updatedatasetcontentdatasetsdatasetidcontentpatch.js.map +1 -1
  176. package/dist/commonjs/models/outputtypeenum.d.ts +1 -0
  177. package/dist/commonjs/models/outputtypeenum.d.ts.map +1 -1
  178. package/dist/commonjs/models/outputtypeenum.js +1 -0
  179. package/dist/commonjs/models/outputtypeenum.js.map +1 -1
  180. package/dist/commonjs/models/vegasgatewayintegrationcreate.d.ts +6 -0
  181. package/dist/commonjs/models/vegasgatewayintegrationcreate.d.ts.map +1 -1
  182. package/dist/commonjs/models/vegasgatewayintegrationcreate.js +3 -0
  183. package/dist/commonjs/models/vegasgatewayintegrationcreate.js.map +1 -1
  184. package/dist/commonjs/sdk/datasets.d.ts +2 -2
  185. package/dist/commonjs/sdk/datasets.d.ts.map +1 -1
  186. package/dist/commonjs/sdk/datasets.js.map +1 -1
  187. package/dist/commonjs/sdk/integrations.d.ts +0 -3
  188. package/dist/commonjs/sdk/integrations.d.ts.map +1 -1
  189. package/dist/commonjs/sdk/integrations.js +0 -3
  190. package/dist/commonjs/sdk/integrations.js.map +1 -1
  191. package/dist/commonjs/tests/lib/sdk-logger.test.d.ts +2 -0
  192. package/dist/commonjs/tests/lib/sdk-logger.test.d.ts.map +1 -0
  193. package/dist/commonjs/tests/lib/sdk-logger.test.js +401 -0
  194. package/dist/commonjs/tests/lib/sdk-logger.test.js.map +1 -0
  195. package/dist/commonjs/types/sdk-logger.types.d.ts +35 -0
  196. package/dist/commonjs/types/sdk-logger.types.d.ts.map +1 -0
  197. package/dist/commonjs/types/sdk-logger.types.js +17 -0
  198. package/dist/commonjs/types/sdk-logger.types.js.map +1 -0
  199. package/dist/commonjs/types/smartUnion.js +7 -0
  200. package/dist/commonjs/types/smartUnion.js.map +1 -1
  201. package/dist/esm/funcs/datasetsUpdateDatasetContentDatasetsDatasetIdContentPatch.d.ts +1 -1
  202. package/dist/esm/funcs/datasetsUpdateDatasetContentDatasetsDatasetIdContentPatch.d.ts.map +1 -1
  203. package/dist/esm/funcs/datasetsUpdateDatasetContentDatasetsDatasetIdContentPatch.js +4 -2
  204. package/dist/esm/funcs/datasetsUpdateDatasetContentDatasetsDatasetIdContentPatch.js.map +1 -1
  205. package/dist/esm/funcs/datasetsUpsertDatasetContentDatasetsDatasetIdContentPut.d.ts +1 -1
  206. package/dist/esm/funcs/datasetsUpsertDatasetContentDatasetsDatasetIdContentPut.d.ts.map +1 -1
  207. package/dist/esm/funcs/datasetsUpsertDatasetContentDatasetsDatasetIdContentPut.js +2 -2
  208. package/dist/esm/funcs/datasetsUpsertDatasetContentDatasetsDatasetIdContentPut.js.map +1 -1
  209. package/dist/esm/funcs/integrationsCreateOrUpdateIntegrationIntegrationsCustomPut.d.ts +0 -3
  210. package/dist/esm/funcs/integrationsCreateOrUpdateIntegrationIntegrationsCustomPut.d.ts.map +1 -1
  211. package/dist/esm/funcs/integrationsCreateOrUpdateIntegrationIntegrationsCustomPut.js +0 -3
  212. package/dist/esm/funcs/integrationsCreateOrUpdateIntegrationIntegrationsCustomPut.js.map +1 -1
  213. package/dist/esm/hooks/error-cleaner.d.ts.map +1 -1
  214. package/dist/esm/hooks/error-cleaner.js +0 -4
  215. package/dist/esm/hooks/error-cleaner.js.map +1 -1
  216. package/dist/esm/index.d.ts +2 -0
  217. package/dist/esm/index.d.ts.map +1 -1
  218. package/dist/esm/index.js +2 -0
  219. package/dist/esm/index.js.map +1 -1
  220. package/dist/esm/lib/config.d.ts +3 -3
  221. package/dist/esm/lib/config.js +3 -3
  222. package/dist/esm/lib/galileo-config.d.ts +4 -2
  223. package/dist/esm/lib/galileo-config.d.ts.map +1 -1
  224. package/dist/esm/lib/galileo-config.js +15 -1
  225. package/dist/esm/lib/galileo-config.js.map +1 -1
  226. package/dist/esm/lib/sdk-logger.d.ts +26 -0
  227. package/dist/esm/lib/sdk-logger.d.ts.map +1 -0
  228. package/dist/esm/lib/sdk-logger.js +78 -0
  229. package/dist/esm/lib/sdk-logger.js.map +1 -0
  230. package/dist/esm/models/annotationqueueaction.d.ts +1 -0
  231. package/dist/esm/models/annotationqueueaction.d.ts.map +1 -1
  232. package/dist/esm/models/annotationqueueaction.js +1 -0
  233. package/dist/esm/models/annotationqueueaction.js.map +1 -1
  234. package/dist/esm/models/anthropicintegration.d.ts +5 -0
  235. package/dist/esm/models/anthropicintegration.d.ts.map +1 -1
  236. package/dist/esm/models/anthropicintegration.js +3 -0
  237. package/dist/esm/models/anthropicintegration.js.map +1 -1
  238. package/dist/esm/models/anthropicintegrationcreate.d.ts +6 -0
  239. package/dist/esm/models/anthropicintegrationcreate.d.ts.map +1 -1
  240. package/dist/esm/models/anthropicintegrationcreate.js +3 -0
  241. package/dist/esm/models/anthropicintegrationcreate.js.map +1 -1
  242. package/dist/esm/models/awsbedrockintegration.d.ts +5 -0
  243. package/dist/esm/models/awsbedrockintegration.d.ts.map +1 -1
  244. package/dist/esm/models/awsbedrockintegration.js +3 -0
  245. package/dist/esm/models/awsbedrockintegration.js.map +1 -1
  246. package/dist/esm/models/awssagemakerintegration.d.ts +5 -0
  247. package/dist/esm/models/awssagemakerintegration.d.ts.map +1 -1
  248. package/dist/esm/models/awssagemakerintegration.js +3 -0
  249. package/dist/esm/models/awssagemakerintegration.js.map +1 -1
  250. package/dist/esm/models/awssagemakerintegrationcreate.d.ts +6 -0
  251. package/dist/esm/models/awssagemakerintegrationcreate.d.ts.map +1 -1
  252. package/dist/esm/models/awssagemakerintegrationcreate.js +3 -0
  253. package/dist/esm/models/awssagemakerintegrationcreate.js.map +1 -1
  254. package/dist/esm/models/azureintegration.d.ts +5 -0
  255. package/dist/esm/models/azureintegration.d.ts.map +1 -1
  256. package/dist/esm/models/azureintegration.js +3 -0
  257. package/dist/esm/models/azureintegration.js.map +1 -1
  258. package/dist/esm/models/azureintegrationcreate.d.ts +6 -0
  259. package/dist/esm/models/azureintegrationcreate.d.ts.map +1 -1
  260. package/dist/esm/models/azureintegrationcreate.js +3 -0
  261. package/dist/esm/models/azureintegrationcreate.js.map +1 -1
  262. package/dist/esm/models/baseawsintegrationcreate.d.ts +6 -0
  263. package/dist/esm/models/baseawsintegrationcreate.d.ts.map +1 -1
  264. package/dist/esm/models/baseawsintegrationcreate.js +3 -0
  265. package/dist/esm/models/baseawsintegrationcreate.js.map +1 -1
  266. package/dist/esm/models/basescorer.d.ts +2 -0
  267. package/dist/esm/models/basescorer.d.ts.map +1 -1
  268. package/dist/esm/models/basescorer.js +4 -0
  269. package/dist/esm/models/basescorer.js.map +1 -1
  270. package/dist/esm/models/columncategory.d.ts +1 -0
  271. package/dist/esm/models/columncategory.d.ts.map +1 -1
  272. package/dist/esm/models/columncategory.js +1 -0
  273. package/dist/esm/models/columncategory.js.map +1 -1
  274. package/dist/esm/models/customauthenticationtype.d.ts +22 -1
  275. package/dist/esm/models/customauthenticationtype.d.ts.map +1 -1
  276. package/dist/esm/models/customauthenticationtype.js +12 -1
  277. package/dist/esm/models/customauthenticationtype.js.map +1 -1
  278. package/dist/esm/models/customintegration.d.ts +31 -0
  279. package/dist/esm/models/customintegration.d.ts.map +1 -1
  280. package/dist/esm/models/customintegration.js +7 -0
  281. package/dist/esm/models/customintegration.js.map +1 -1
  282. package/dist/esm/models/customintegrationcreate.d.ts +37 -0
  283. package/dist/esm/models/customintegrationcreate.d.ts.map +1 -1
  284. package/dist/esm/models/customintegrationcreate.js +7 -0
  285. package/dist/esm/models/customintegrationcreate.js.map +1 -1
  286. package/dist/esm/models/customizedagenticsessionsuccessgptscorer.d.ts +2 -0
  287. package/dist/esm/models/customizedagenticsessionsuccessgptscorer.d.ts.map +1 -1
  288. package/dist/esm/models/customizedagenticsessionsuccessgptscorer.js +4 -0
  289. package/dist/esm/models/customizedagenticsessionsuccessgptscorer.js.map +1 -1
  290. package/dist/esm/models/customizedagenticworkflowsuccessgptscorer.d.ts +2 -0
  291. package/dist/esm/models/customizedagenticworkflowsuccessgptscorer.d.ts.map +1 -1
  292. package/dist/esm/models/customizedagenticworkflowsuccessgptscorer.js +4 -0
  293. package/dist/esm/models/customizedagenticworkflowsuccessgptscorer.js.map +1 -1
  294. package/dist/esm/models/customizedchunkattributionutilizationgptscorer.d.ts +2 -0
  295. package/dist/esm/models/customizedchunkattributionutilizationgptscorer.d.ts.map +1 -1
  296. package/dist/esm/models/customizedchunkattributionutilizationgptscorer.js +4 -0
  297. package/dist/esm/models/customizedchunkattributionutilizationgptscorer.js.map +1 -1
  298. package/dist/esm/models/customizedcompletenessgptscorer.d.ts +2 -0
  299. package/dist/esm/models/customizedcompletenessgptscorer.d.ts.map +1 -1
  300. package/dist/esm/models/customizedcompletenessgptscorer.js +4 -0
  301. package/dist/esm/models/customizedcompletenessgptscorer.js.map +1 -1
  302. package/dist/esm/models/customizedfactualitygptscorer.d.ts +2 -0
  303. package/dist/esm/models/customizedfactualitygptscorer.d.ts.map +1 -1
  304. package/dist/esm/models/customizedfactualitygptscorer.js +4 -0
  305. package/dist/esm/models/customizedfactualitygptscorer.js.map +1 -1
  306. package/dist/esm/models/customizedgroundednessgptscorer.d.ts +2 -0
  307. package/dist/esm/models/customizedgroundednessgptscorer.d.ts.map +1 -1
  308. package/dist/esm/models/customizedgroundednessgptscorer.js +4 -0
  309. package/dist/esm/models/customizedgroundednessgptscorer.js.map +1 -1
  310. package/dist/esm/models/customizedgroundtruthadherencegptscorer.d.ts +2 -0
  311. package/dist/esm/models/customizedgroundtruthadherencegptscorer.d.ts.map +1 -1
  312. package/dist/esm/models/customizedgroundtruthadherencegptscorer.js +4 -0
  313. package/dist/esm/models/customizedgroundtruthadherencegptscorer.js.map +1 -1
  314. package/dist/esm/models/customizedinputsexistgptscorer.d.ts +2 -0
  315. package/dist/esm/models/customizedinputsexistgptscorer.d.ts.map +1 -1
  316. package/dist/esm/models/customizedinputsexistgptscorer.js +4 -0
  317. package/dist/esm/models/customizedinputsexistgptscorer.js.map +1 -1
  318. package/dist/esm/models/customizedinputtoxicitygptscorer.d.ts +2 -0
  319. package/dist/esm/models/customizedinputtoxicitygptscorer.d.ts.map +1 -1
  320. package/dist/esm/models/customizedinputtoxicitygptscorer.js +4 -0
  321. package/dist/esm/models/customizedinputtoxicitygptscorer.js.map +1 -1
  322. package/dist/esm/models/customizedinstructionadherencegptscorer.d.ts +2 -0
  323. package/dist/esm/models/customizedinstructionadherencegptscorer.d.ts.map +1 -1
  324. package/dist/esm/models/customizedinstructionadherencegptscorer.js +4 -0
  325. package/dist/esm/models/customizedinstructionadherencegptscorer.js.map +1 -1
  326. package/dist/esm/models/customizedpromptinjectiongptscorer.d.ts +2 -0
  327. package/dist/esm/models/customizedpromptinjectiongptscorer.d.ts.map +1 -1
  328. package/dist/esm/models/customizedpromptinjectiongptscorer.js +4 -0
  329. package/dist/esm/models/customizedpromptinjectiongptscorer.js.map +1 -1
  330. package/dist/esm/models/customizedsexistgptscorer.d.ts +2 -0
  331. package/dist/esm/models/customizedsexistgptscorer.d.ts.map +1 -1
  332. package/dist/esm/models/customizedsexistgptscorer.js +4 -0
  333. package/dist/esm/models/customizedsexistgptscorer.js.map +1 -1
  334. package/dist/esm/models/customizedtoolerrorrategptscorer.d.ts +2 -0
  335. package/dist/esm/models/customizedtoolerrorrategptscorer.d.ts.map +1 -1
  336. package/dist/esm/models/customizedtoolerrorrategptscorer.js +4 -0
  337. package/dist/esm/models/customizedtoolerrorrategptscorer.js.map +1 -1
  338. package/dist/esm/models/customizedtoolselectionqualitygptscorer.d.ts +2 -0
  339. package/dist/esm/models/customizedtoolselectionqualitygptscorer.d.ts.map +1 -1
  340. package/dist/esm/models/customizedtoolselectionqualitygptscorer.js +4 -0
  341. package/dist/esm/models/customizedtoolselectionqualitygptscorer.js.map +1 -1
  342. package/dist/esm/models/customizedtoxicitygptscorer.d.ts +2 -0
  343. package/dist/esm/models/customizedtoxicitygptscorer.d.ts.map +1 -1
  344. package/dist/esm/models/customizedtoxicitygptscorer.js +4 -0
  345. package/dist/esm/models/customizedtoxicitygptscorer.js.map +1 -1
  346. package/dist/esm/models/document.d.ts +5 -5
  347. package/dist/esm/models/document.d.ts.map +1 -1
  348. package/dist/esm/models/document.js +7 -15
  349. package/dist/esm/models/document.js.map +1 -1
  350. package/dist/esm/models/galileocoreschemassharedscorersscorernamescorername.d.ts +3 -0
  351. package/dist/esm/models/galileocoreschemassharedscorersscorernamescorername.d.ts.map +1 -1
  352. package/dist/esm/models/galileocoreschemassharedscorersscorernamescorername.js +3 -0
  353. package/dist/esm/models/galileocoreschemassharedscorersscorernamescorername.js.map +1 -1
  354. package/dist/esm/models/index.d.ts +2 -0
  355. package/dist/esm/models/index.d.ts.map +1 -1
  356. package/dist/esm/models/index.js +2 -0
  357. package/dist/esm/models/index.js.map +1 -1
  358. package/dist/esm/models/inputmodality.d.ts +20 -0
  359. package/dist/esm/models/inputmodality.d.ts.map +1 -0
  360. package/dist/esm/models/inputmodality.js +18 -0
  361. package/dist/esm/models/inputmodality.js.map +1 -0
  362. package/dist/esm/models/model.d.ts +6 -0
  363. package/dist/esm/models/model.d.ts.map +1 -1
  364. package/dist/esm/models/model.js +5 -0
  365. package/dist/esm/models/model.js.map +1 -1
  366. package/dist/esm/models/multimodalmodelintegrationconfig.d.ts +28 -0
  367. package/dist/esm/models/multimodalmodelintegrationconfig.d.ts.map +1 -0
  368. package/dist/esm/models/multimodalmodelintegrationconfig.js +34 -0
  369. package/dist/esm/models/multimodalmodelintegrationconfig.js.map +1 -0
  370. package/dist/esm/models/operations/updatedatasetcontentdatasetsdatasetidcontentpatch.d.ts +10 -0
  371. package/dist/esm/models/operations/updatedatasetcontentdatasetsdatasetidcontentpatch.d.ts.map +1 -1
  372. package/dist/esm/models/operations/updatedatasetcontentdatasetsdatasetidcontentpatch.js +13 -0
  373. package/dist/esm/models/operations/updatedatasetcontentdatasetsdatasetidcontentpatch.js.map +1 -1
  374. package/dist/esm/models/outputtypeenum.d.ts +1 -0
  375. package/dist/esm/models/outputtypeenum.d.ts.map +1 -1
  376. package/dist/esm/models/outputtypeenum.js +1 -0
  377. package/dist/esm/models/outputtypeenum.js.map +1 -1
  378. package/dist/esm/models/vegasgatewayintegrationcreate.d.ts +6 -0
  379. package/dist/esm/models/vegasgatewayintegrationcreate.d.ts.map +1 -1
  380. package/dist/esm/models/vegasgatewayintegrationcreate.js +3 -0
  381. package/dist/esm/models/vegasgatewayintegrationcreate.js.map +1 -1
  382. package/dist/esm/sdk/datasets.d.ts +2 -2
  383. package/dist/esm/sdk/datasets.d.ts.map +1 -1
  384. package/dist/esm/sdk/datasets.js.map +1 -1
  385. package/dist/esm/sdk/integrations.d.ts +0 -3
  386. package/dist/esm/sdk/integrations.d.ts.map +1 -1
  387. package/dist/esm/sdk/integrations.js +0 -3
  388. package/dist/esm/sdk/integrations.js.map +1 -1
  389. package/dist/esm/tests/lib/sdk-logger.test.d.ts +2 -0
  390. package/dist/esm/tests/lib/sdk-logger.test.d.ts.map +1 -0
  391. package/dist/esm/tests/lib/sdk-logger.test.js +399 -0
  392. package/dist/esm/tests/lib/sdk-logger.test.js.map +1 -0
  393. package/dist/esm/types/sdk-logger.types.d.ts +35 -0
  394. package/dist/esm/types/sdk-logger.types.d.ts.map +1 -0
  395. package/dist/esm/types/sdk-logger.types.js +14 -0
  396. package/dist/esm/types/sdk-logger.types.js.map +1 -0
  397. package/dist/esm/types/smartUnion.js +7 -0
  398. package/dist/esm/types/smartUnion.js.map +1 -1
  399. package/jsr.json +1 -1
  400. package/package.json +9 -8
  401. package/src/funcs/datasetsUpdateDatasetContentDatasetsDatasetIdContentPatch.ts +17 -6
  402. package/src/funcs/datasetsUpsertDatasetContentDatasetsDatasetIdContentPut.ts +6 -6
  403. package/src/funcs/integrationsCreateOrUpdateIntegrationIntegrationsCustomPut.ts +0 -3
  404. package/src/hooks/error-cleaner.ts +0 -7
  405. package/src/index.ts +2 -0
  406. package/src/lib/config.ts +3 -3
  407. package/src/lib/galileo-config.ts +19 -3
  408. package/src/lib/sdk-logger.ts +91 -0
  409. package/src/models/annotationqueueaction.ts +1 -0
  410. package/src/models/anthropicintegration.ts +12 -0
  411. package/src/models/anthropicintegrationcreate.ts +17 -0
  412. package/src/models/awsbedrockintegration.ts +12 -0
  413. package/src/models/awssagemakerintegration.ts +12 -0
  414. package/src/models/awssagemakerintegrationcreate.ts +17 -0
  415. package/src/models/azureintegration.ts +12 -0
  416. package/src/models/azureintegrationcreate.ts +17 -0
  417. package/src/models/baseawsintegrationcreate.ts +17 -0
  418. package/src/models/basescorer.ts +6 -0
  419. package/src/models/columncategory.ts +1 -0
  420. package/src/models/customauthenticationtype.ts +22 -1
  421. package/src/models/customintegration.ts +42 -0
  422. package/src/models/customintegrationcreate.ts +52 -0
  423. package/src/models/customizedagenticsessionsuccessgptscorer.ts +6 -0
  424. package/src/models/customizedagenticworkflowsuccessgptscorer.ts +6 -0
  425. package/src/models/customizedchunkattributionutilizationgptscorer.ts +6 -0
  426. package/src/models/customizedcompletenessgptscorer.ts +6 -0
  427. package/src/models/customizedfactualitygptscorer.ts +6 -0
  428. package/src/models/customizedgroundednessgptscorer.ts +6 -0
  429. package/src/models/customizedgroundtruthadherencegptscorer.ts +6 -0
  430. package/src/models/customizedinputsexistgptscorer.ts +6 -0
  431. package/src/models/customizedinputtoxicitygptscorer.ts +6 -0
  432. package/src/models/customizedinstructionadherencegptscorer.ts +6 -0
  433. package/src/models/customizedpromptinjectiongptscorer.ts +6 -0
  434. package/src/models/customizedsexistgptscorer.ts +6 -0
  435. package/src/models/customizedtoolerrorrategptscorer.ts +6 -0
  436. package/src/models/customizedtoolselectionqualitygptscorer.ts +6 -0
  437. package/src/models/customizedtoxicitygptscorer.ts +6 -0
  438. package/src/models/document.ts +15 -29
  439. package/src/models/galileocoreschemassharedscorersscorernamescorername.ts +3 -0
  440. package/src/models/index.ts +2 -0
  441. package/src/models/inputmodality.ts +32 -0
  442. package/src/models/model.ts +14 -0
  443. package/src/models/multimodalmodelintegrationconfig.ts +82 -0
  444. package/src/models/operations/updatedatasetcontentdatasetsdatasetidcontentpatch.ts +38 -0
  445. package/src/models/outputtypeenum.ts +1 -0
  446. package/src/models/vegasgatewayintegrationcreate.ts +17 -0
  447. package/src/sdk/datasets.ts +5 -2
  448. package/src/sdk/integrations.ts +0 -3
  449. package/src/tests/lib/sdk-logger.test.ts +518 -0
  450. package/src/types/sdk-logger.types.ts +43 -0
  451. 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
- any,
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
- any,
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
- any,
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.json(200, z.any()),
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.1.4",
65
- genVersion: "2.799.0",
66
- userAgent: "speakeasy-sdk/typescript 0.1.4 2.799.0 0.1.0 galileo-generated",
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?: string | number;
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: string | number | undefined;
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
+ }
@@ -10,6 +10,7 @@ export const AnnotationQueueAction = {
10
10
  Update: "update",
11
11
  Delete: "delete",
12
12
  Share: "share",
13
+ RecordAnnotation: "record_annotation",
13
14
  } as const;
14
15
  export type AnnotationQueueAction = OpenEnum<typeof AnnotationQueueAction>;
15
16
 
@@ -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
  });
@@ -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",
@@ -10,6 +10,7 @@ export const ColumnCategory = {
10
10
  Standard: "standard",
11
11
  Metric: "metric",
12
12
  UserMetadata: "user_metadata",
13
+ MetricStatus: "metric_status",
13
14
  DatasetMetadata: "dataset_metadata",
14
15
  Dataset: "dataset",
15
16
  Feedback: "feedback",