@salesforce/lds-adapters-platform-cdp-machine-learning 0.1.0-dev1

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 (101) hide show
  1. package/LICENSE.txt +82 -0
  2. package/dist/es/es2018/platform-cdp-machine-learning.js +5781 -0
  3. package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +62 -0
  4. package/dist/es/es2018/types/src/generated/adapters/createCdpMlConfiguredModel.d.ts +28 -0
  5. package/dist/es/es2018/types/src/generated/adapters/createCdpMlPredictResult.d.ts +19 -0
  6. package/dist/es/es2018/types/src/generated/adapters/createMlConfiguredModel.d.ts +23 -0
  7. package/dist/es/es2018/types/src/generated/adapters/getCdpMlConfiguredModel.d.ts +28 -0
  8. package/dist/es/es2018/types/src/generated/adapters/getCdpMlConfiguredModelCollection.d.ts +28 -0
  9. package/dist/es/es2018/types/src/generated/adapters/getCdpMlModelArtifact.d.ts +27 -0
  10. package/dist/es/es2018/types/src/generated/adapters/getCdpMlModelArtifactCollection.d.ts +30 -0
  11. package/dist/es/es2018/types/src/generated/adapters/getCdpMlWorkspace.d.ts +28 -0
  12. package/dist/es/es2018/types/src/generated/adapters/getCdpMlWorkspaceCollection.d.ts +33 -0
  13. package/dist/es/es2018/types/src/generated/adapters/getMlConfiguredModel.d.ts +29 -0
  14. package/dist/es/es2018/types/src/generated/adapters/getMlConfiguredModelCollection.d.ts +36 -0
  15. package/dist/es/es2018/types/src/generated/adapters/updateCdpMlConfiguredModel.d.ts +29 -0
  16. package/dist/es/es2018/types/src/generated/adapters/updateMlConfiguredModel.d.ts +24 -0
  17. package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +13 -0
  18. package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +24 -0
  19. package/dist/es/es2018/types/src/generated/resources/getSsotMachineLearningConfiguredModels.d.ts +24 -0
  20. package/dist/es/es2018/types/src/generated/resources/getSsotMachineLearningConfiguredModelsByConfiguredModelIdOrName.d.ts +19 -0
  21. package/dist/es/es2018/types/src/generated/resources/getSsotMachineLearningModelArtifacts.d.ts +18 -0
  22. package/dist/es/es2018/types/src/generated/resources/getSsotMachineLearningModelArtifactsByModelArtifactIdOrName.d.ts +15 -0
  23. package/dist/es/es2018/types/src/generated/resources/getSsotMachineLearningWorkspaces.d.ts +21 -0
  24. package/dist/es/es2018/types/src/generated/resources/getSsotMachineLearningWorkspacesByWorkspaceIdOrName.d.ts +16 -0
  25. package/dist/es/es2018/types/src/generated/resources/getSsotMachineLearningWorkspacesModelsByModelIdOrNameAndWorkspaceIdOrName.d.ts +16 -0
  26. package/dist/es/es2018/types/src/generated/resources/getSsotMachineLearningWorkspacesModelsByWorkspaceIdOrName.d.ts +18 -0
  27. package/dist/es/es2018/types/src/generated/resources/patchSsotMachineLearningConfiguredModelsByConfiguredModelIdOrName.d.ts +23 -0
  28. package/dist/es/es2018/types/src/generated/resources/patchSsotMachineLearningWorkspacesModelsByModelIdOrNameAndWorkspaceIdOrName.d.ts +28 -0
  29. package/dist/es/es2018/types/src/generated/resources/postSsotMachineLearningConfiguredModels.d.ts +20 -0
  30. package/dist/es/es2018/types/src/generated/resources/postSsotMachineLearningPredict.d.ts +16 -0
  31. package/dist/es/es2018/types/src/generated/resources/postSsotMachineLearningWorkspacesModelsByWorkspaceIdOrName.d.ts +27 -0
  32. package/dist/es/es2018/types/src/generated/types/CdpAssetBaseRepresentation.d.ts +51 -0
  33. package/dist/es/es2018/types/src/generated/types/CdpAssetReferenceInputRepresentation.d.ts +34 -0
  34. package/dist/es/es2018/types/src/generated/types/CdpAssetReferenceRepresentation.d.ts +51 -0
  35. package/dist/es/es2018/types/src/generated/types/CdpMlAggregatePredictConditionRepresentation.d.ts +29 -0
  36. package/dist/es/es2018/types/src/generated/types/CdpMlAggregatePredictionRepresentation.d.ts +42 -0
  37. package/dist/es/es2018/types/src/generated/types/CdpMlBinaryClassificationPredictionResultRepresentation.d.ts +33 -0
  38. package/dist/es/es2018/types/src/generated/types/CdpMlConfiguredModelCollectionRepresentation.d.ts +36 -0
  39. package/dist/es/es2018/types/src/generated/types/CdpMlConfiguredModelInputRepresentation.d.ts +59 -0
  40. package/dist/es/es2018/types/src/generated/types/CdpMlConfiguredModelRepresentation.d.ts +102 -0
  41. package/dist/es/es2018/types/src/generated/types/CdpMlCustomizableFieldDefinitionInputRepresentation.d.ts +31 -0
  42. package/dist/es/es2018/types/src/generated/types/CdpMlCustomizableFieldDefinitionRepresentation.d.ts +31 -0
  43. package/dist/es/es2018/types/src/generated/types/CdpMlCustomizableFieldInputRepresentation.d.ts +35 -0
  44. package/dist/es/es2018/types/src/generated/types/CdpMlCustomizableFieldRepresentation.d.ts +35 -0
  45. package/dist/es/es2018/types/src/generated/types/CdpMlFieldRepresentation.d.ts +31 -0
  46. package/dist/es/es2018/types/src/generated/types/CdpMlFieldValueRepresentation.d.ts +31 -0
  47. package/dist/es/es2018/types/src/generated/types/CdpMlFilterCriterionBaseRepresentation.d.ts +35 -0
  48. package/dist/es/es2018/types/src/generated/types/CdpMlFilterRepresentation.d.ts +29 -0
  49. package/dist/es/es2018/types/src/generated/types/CdpMlFilterValueRepresentation.d.ts +31 -0
  50. package/dist/es/es2018/types/src/generated/types/CdpMlGenericPredictionOutputValueRepresentation.d.ts +34 -0
  51. package/dist/es/es2018/types/src/generated/types/CdpMlGenericPredictionResultRepresentation.d.ts +31 -0
  52. package/dist/es/es2018/types/src/generated/types/CdpMlModelArtifactBaseRepresentation.d.ts +104 -0
  53. package/dist/es/es2018/types/src/generated/types/CdpMlModelArtifactCollectionRepresentation.d.ts +39 -0
  54. package/dist/es/es2018/types/src/generated/types/CdpMlModelFieldBaseRepresentation.d.ts +37 -0
  55. package/dist/es/es2018/types/src/generated/types/CdpMlModelInputFieldBaseRepresentation.d.ts +40 -0
  56. package/dist/es/es2018/types/src/generated/types/CdpMlModelOutcomeDefinitionRepresentation.d.ts +32 -0
  57. package/dist/es/es2018/types/src/generated/types/CdpMlModelOutputFieldRepresentation.d.ts +31 -0
  58. package/dist/es/es2018/types/src/generated/types/CdpMlModelParameterDefinitionBaseRepresentation.d.ts +34 -0
  59. package/dist/es/es2018/types/src/generated/types/CdpMlModelParameterOverrideBaseRepresentation.d.ts +31 -0
  60. package/dist/es/es2018/types/src/generated/types/CdpMlModelParameterOverrideInputRepresentation.d.ts +34 -0
  61. package/dist/es/es2018/types/src/generated/types/CdpMlModelRefreshConfigRepresentation.d.ts +35 -0
  62. package/dist/es/es2018/types/src/generated/types/CdpMlModelRefreshRecipientRepresentation.d.ts +34 -0
  63. package/dist/es/es2018/types/src/generated/types/CdpMlModelTypeRepresentation.d.ts +34 -0
  64. package/dist/es/es2018/types/src/generated/types/CdpMlPredictRawDataInputRepresentation.d.ts +38 -0
  65. package/dist/es/es2018/types/src/generated/types/CdpMlPredictResultRepresentation.d.ts +56 -0
  66. package/dist/es/es2018/types/src/generated/types/CdpMlPredictSettingsInputRepresentation.d.ts +38 -0
  67. package/dist/es/es2018/types/src/generated/types/CdpMlPredictionBaseRepresentation.d.ts +34 -0
  68. package/dist/es/es2018/types/src/generated/types/CdpMlPredictionContributionBaseRepresentation.d.ts +32 -0
  69. package/dist/es/es2018/types/src/generated/types/CdpMlPredictionContributionFieldRepresentation.d.ts +34 -0
  70. package/dist/es/es2018/types/src/generated/types/CdpMlPredictionErrorRepresentation.d.ts +33 -0
  71. package/dist/es/es2018/types/src/generated/types/CdpMlPredictionFieldCustomTextRepresentation.d.ts +33 -0
  72. package/dist/es/es2018/types/src/generated/types/CdpMlPredictionSuccessBaseRepresentation.d.ts +51 -0
  73. package/dist/es/es2018/types/src/generated/types/CdpMlPredictionWarningsRepresentation.d.ts +32 -0
  74. package/dist/es/es2018/types/src/generated/types/CdpMlRegressionPredictionResultRepresentation.d.ts +30 -0
  75. package/dist/es/es2018/types/src/generated/types/CdpMlWorkspaceBaseRepresentation.d.ts +102 -0
  76. package/dist/es/es2018/types/src/generated/types/CdpMlWorkspaceCollectionRepresentation.d.ts +39 -0
  77. package/dist/es/es2018/types/src/generated/types/CdpMlWorkspaceDetailRepresentation.d.ts +115 -0
  78. package/dist/es/es2018/types/src/generated/types/CdpMlWorkspaceRepresentation.d.ts +102 -0
  79. package/dist/es/es2018/types/src/generated/types/CdpPaginatedResponseBaseRepresentation.d.ts +34 -0
  80. package/dist/es/es2018/types/src/generated/types/CdpScheduleRepresentation.d.ts +35 -0
  81. package/dist/es/es2018/types/src/generated/types/CdpTimeRepresentation.d.ts +34 -0
  82. package/dist/es/es2018/types/src/generated/types/CdpTimeZoneRepresentation.d.ts +34 -0
  83. package/dist/es/es2018/types/src/generated/types/CdpUserRepresentation.d.ts +34 -0
  84. package/dist/es/es2018/types/src/generated/types/MlConfiguredModelCollectionRepresentation.d.ts +39 -0
  85. package/dist/es/es2018/types/src/generated/types/MlConfiguredModelInputRepresentation.d.ts +48 -0
  86. package/dist/es/es2018/types/src/generated/types/MlConfiguredModelRepresentation.d.ts +107 -0
  87. package/dist/es/es2018/types/src/generated/types/MlConnectorEndpointRepresentation.d.ts +68 -0
  88. package/dist/es/es2018/types/src/generated/types/MlDeprecationConfigurationRepresentation.d.ts +38 -0
  89. package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +32 -0
  90. package/dist/es/es2018/types/src/raml-artifacts/resources/getSsotMachineLearningConfiguredModelsByConfiguredModelIdOrName/keyBuilder.d.ts +3 -0
  91. package/dist/es/es2018/types/src/raml-artifacts/resources/getSsotMachineLearningWorkspacesByWorkspaceIdOrName/keyBuilder.d.ts +3 -0
  92. package/dist/es/es2018/types/src/raml-artifacts/resources/getSsotMachineLearningWorkspacesModelsByModelIdOrNameAndWorkspaceIdOrName/keyBuilder.d.ts +3 -0
  93. package/dist/es/es2018/types/src/raml-artifacts/types/CdpMlConfiguredModelRepresentation/keyBuilderFromType.d.ts +3 -0
  94. package/dist/es/es2018/types/src/raml-artifacts/types/CdpMlWorkspaceDetailRepresentation/keyBuilderFromType.d.ts +3 -0
  95. package/dist/es/es2018/types/src/raml-artifacts/types/MlConfiguredModelRepresentation/keyBuilderFromType.d.ts +3 -0
  96. package/dist/es/es2018/types/src/raml-artifacts/utils/nameOrId.d.ts +4 -0
  97. package/package.json +77 -0
  98. package/sfdc/index.d.ts +1 -0
  99. package/sfdc/index.js +6016 -0
  100. package/src/raml/api.raml +1874 -0
  101. package/src/raml/luvio.raml +122 -0
@@ -0,0 +1,1874 @@
1
+ #%RAML 1.0
2
+ securedBy:
3
+ - OAuth2
4
+ title: Salesforce Connect API
5
+ version: '63.0'
6
+ mediaType: application/json
7
+ protocols:
8
+ - https
9
+ baseUri: /services/data/v66.0
10
+ securitySchemes:
11
+ OAuth2:
12
+ type: OAuth 2.0
13
+ settings:
14
+ authorizationUri: https://example.com/oauth/authorize
15
+ accessTokenUri: ''
16
+ authorizationGrants:
17
+ - implicit
18
+ annotationTypes:
19
+ oas-readOnly:
20
+ type: boolean
21
+ allowedTargets: TypeDeclaration
22
+ oas-collectionFormat:
23
+ type: string
24
+ oas-body-name:
25
+ type: string
26
+ allowedTargets: TypeDeclaration
27
+ types:
28
+ CdpAssetBaseRepresentation:
29
+ description: Represents a base Asset
30
+ type: object
31
+ properties:
32
+ createdBy?:
33
+ description: Created by
34
+ type: CdpUserRepresentation
35
+ createdDate?:
36
+ description: Created date
37
+ type: string | nil
38
+ id:
39
+ description: The 18 character ID of the asset
40
+ type: string
41
+ label:
42
+ description: Label of the asset
43
+ type: string
44
+ lastModifiedBy?:
45
+ description: Last modified by
46
+ type: CdpUserRepresentation
47
+ lastModifiedDate?:
48
+ description: Last modified date
49
+ type: string | nil
50
+ name:
51
+ description: Name of the asset
52
+ type: string
53
+ namespace?:
54
+ description: Namespace of the asset
55
+ type: string | nil
56
+ url:
57
+ description: Url
58
+ type: string
59
+ CdpAssetReferenceRepresentation:
60
+ description: Represents Cdp Asset Reference
61
+ type: object
62
+ properties:
63
+ createdBy?:
64
+ description: Created by
65
+ type: CdpUserRepresentation
66
+ createdDate?:
67
+ description: Created date
68
+ type: string | nil
69
+ id?:
70
+ description: The 18 character ID of the asset
71
+ type: string
72
+ label?:
73
+ description: Label of the asset
74
+ type: string | nil
75
+ lastModifiedBy?:
76
+ description: Last modified by
77
+ type: CdpUserRepresentation
78
+ lastModifiedDate?:
79
+ description: Last modified date
80
+ type: string | nil
81
+ name?:
82
+ description: Name of the asset
83
+ type: string | nil
84
+ namespace?:
85
+ description: Namespace of the asset
86
+ type: string | nil
87
+ url?:
88
+ description: Url
89
+ type: string | nil
90
+ MlConnectorEndpointRepresentation:
91
+ description: Representation for Cdp Ml Connector Endpoint
92
+ type: object
93
+ properties:
94
+ authHeader?:
95
+ description: The authentication header
96
+ type: string
97
+ authentication?:
98
+ description: Connector endpoint authentication type - jwt or authkey based
99
+ type: string
100
+ enum:
101
+ - ApiKey
102
+ - GoogleSac
103
+ - Jwt
104
+ - Oauth
105
+ connectorType?:
106
+ description: The connector type
107
+ type: string
108
+ enum:
109
+ - Anthropic
110
+ - AzureOpenAI
111
+ - Databricks
112
+ - EinsteinText
113
+ - Generic
114
+ - OpenAI
115
+ - SageMaker
116
+ - VertexAI
117
+ - Bedrock
118
+ endpointUrl?:
119
+ description: URL of the connect endpoint
120
+ type: string
121
+ foundationalModelName?:
122
+ description: Foundational model name
123
+ type: string
124
+ label?:
125
+ description: label
126
+ type: string
127
+ name?:
128
+ description: name
129
+ type: string
130
+ namedCredential?:
131
+ description: Named Credential used in the endpoint
132
+ type: CdpAssetReferenceRepresentation
133
+ privateKeyId?:
134
+ description: The private key ID
135
+ type: string
136
+ region?:
137
+ description: Region for AWS connection
138
+ type: string
139
+ registeredModelApiName?:
140
+ description: Registered Model API name on the Provider
141
+ type: string
142
+ requestFormat?:
143
+ description: Connector endpoint request format
144
+ type: string
145
+ enum:
146
+ - Csv
147
+ - DataFrameRecords
148
+ - DataFrameSplit
149
+ - Json
150
+ - JsonDense
151
+ - NumpyInput
152
+ - NumpyInstance
153
+ responseFormat?:
154
+ description: Connector endpoint response format
155
+ type: string
156
+ enum:
157
+ - Csv
158
+ - DataFrameRecords
159
+ - DataFrameSplit
160
+ - Json
161
+ - JsonDense
162
+ - NumpyInput
163
+ - NumpyInstance
164
+ serviceAccountEmail?:
165
+ description: The service account email
166
+ type: string
167
+ CdpMlConfiguredModelCollectionRepresentation:
168
+ description: Represents Cdp Ml Configured Model Collection
169
+ type: object
170
+ properties:
171
+ models?:
172
+ description: List of configured models
173
+ type: array
174
+ items:
175
+ type: CdpMlConfiguredModelRepresentation
176
+ totalSize:
177
+ description: Total size of collection
178
+ type: integer
179
+ url:
180
+ description: Url
181
+ type: string
182
+ CdpMlModelParameterOverrideBaseRepresentation:
183
+ description: Cdp Ml Model Parameter Override Base Representation
184
+ discriminator: type
185
+ type: object
186
+ properties:
187
+ parameterName:
188
+ description: Parameter Name
189
+ type: string
190
+ type:
191
+ description: Parameter Type
192
+ type: string
193
+ enum:
194
+ - Continuous
195
+ - Discrete
196
+ CdpUserRepresentation:
197
+ description: Represents a user
198
+ type: object
199
+ properties:
200
+ id:
201
+ description: The 18 character user ID
202
+ type: string
203
+ name:
204
+ description: The name of the user
205
+ type: string
206
+ profilePhotoUrl:
207
+ description: The Chatter profile photo of the user
208
+ type: string
209
+ CdpMlModelArtifactBaseRepresentation:
210
+ description: Cdp Ml Model Artifact Base Representation
211
+ discriminator: modelType
212
+ type: object
213
+ properties:
214
+ deprecationConfiguration?:
215
+ description: Deprecation strategy when the model is deprecated
216
+ type: MlDeprecationConfigurationRepresentation
217
+ description?:
218
+ description: Description
219
+ type: string | nil
220
+ inputFields:
221
+ description: Input Fields
222
+ type: array
223
+ items:
224
+ type: CdpMlModelInputFieldBaseRepresentation
225
+ modelConnectorEndpoint?:
226
+ description: Model connector endpoint definition
227
+ type: MlConnectorEndpointRepresentation
228
+ modelCount?:
229
+ description: Number of configured models from this model artifact
230
+ type: integer
231
+ modelType:
232
+ description: Model Type
233
+ type: string
234
+ enum:
235
+ - Generative
236
+ - Predictive
237
+ - Unknown
238
+ outputFields:
239
+ description: Output Fields
240
+ type: array
241
+ items:
242
+ type: CdpMlModelOutputFieldRepresentation
243
+ parameters:
244
+ description: List of Model Parameter Definitions
245
+ type: array
246
+ items:
247
+ type: CdpMlModelParameterDefinitionBaseRepresentation
248
+ runtimeType:
249
+ description: Runtime Type
250
+ type: string
251
+ enum:
252
+ - External
253
+ - Internal
254
+ setupContainer?:
255
+ description: Setup Container
256
+ type: CdpAssetReferenceRepresentation
257
+ source?:
258
+ description: Source
259
+ type: CdpAssetReferenceRepresentation
260
+ sourceContainer?:
261
+ description: Source Container
262
+ type: CdpAssetReferenceRepresentation
263
+ sourceType:
264
+ description: SourceType
265
+ type: string
266
+ enum:
267
+ - EdcNoCode
268
+ - ModelConnector
269
+ - OutOfTheBox
270
+ status?:
271
+ description: Model artifact status
272
+ type: string
273
+ enum:
274
+ - Deprecated
275
+ - Disabled
276
+ - Draft
277
+ - Enabled
278
+ - Rerouted
279
+ syncStatus?:
280
+ description: Sync status
281
+ type: string
282
+ enum:
283
+ - Error
284
+ - NotSynced
285
+ - Synced
286
+ - Syncing
287
+ createdBy?:
288
+ description: Created by
289
+ type: CdpUserRepresentation
290
+ createdDate?:
291
+ description: Created date
292
+ type: string | nil
293
+ id?:
294
+ description: The 18 character ID of the asset
295
+ type: string
296
+ label?:
297
+ description: Label of the asset
298
+ type: string | nil
299
+ lastModifiedBy?:
300
+ description: Last modified by
301
+ type: CdpUserRepresentation
302
+ lastModifiedDate?:
303
+ description: Last modified date
304
+ type: string | nil
305
+ name:
306
+ description: Name of the asset
307
+ type: string
308
+ namespace?:
309
+ description: Namespace of the asset
310
+ type: string | nil
311
+ url:
312
+ description: Url
313
+ type: string
314
+ CdpMlModelParameterOverrideInputRepresentation:
315
+ description: Input representation for a Cdp Ml Model Parameter Override
316
+ type: object
317
+ properties:
318
+ continuousValue?:
319
+ description: Model parameter continuous value
320
+ type: number | nil
321
+ discreteValue?:
322
+ description: Model parameter discrete value
323
+ type: string | nil
324
+ parameterName?:
325
+ description: Model parameter definition Id to which override is provided
326
+ type: string | nil
327
+ CdpAssetReferenceInputRepresentation:
328
+ description: Represents an asset
329
+ type: object
330
+ properties:
331
+ id?:
332
+ description: Id
333
+ type: string | nil
334
+ name?:
335
+ description: Name
336
+ type: string | nil
337
+ namespace?:
338
+ description: Namespace
339
+ type: string | nil
340
+ CdpMlCustomizableFieldDefinitionInputRepresentation:
341
+ description: Input representation for a Cdp Ml Customizable Field Definition
342
+ type: object
343
+ properties:
344
+ filter:
345
+ description: Filter
346
+ type: object
347
+ templateText:
348
+ description: Template Text
349
+ type: string
350
+ CdpMlCustomizableFieldInputRepresentation:
351
+ description: Input representation for a Cdp Ml Customizable Field
352
+ type: object
353
+ properties:
354
+ customDefinitions:
355
+ description: Custom Definitions
356
+ type: array
357
+ items:
358
+ type: CdpMlCustomizableFieldDefinitionInputRepresentation
359
+ name:
360
+ description: Name
361
+ type: string
362
+ type:
363
+ description: Type
364
+ type: string
365
+ enum:
366
+ - ActionableVariable
367
+ - TopFactor
368
+ CdpMlConfiguredModelInputRepresentation:
369
+ description: Input representation for a Cdp Ml Configured Model (Active Partition)
370
+ type: object
371
+ properties:
372
+ actionableFields?:
373
+ description: Actionable Fields
374
+ type: array
375
+ items:
376
+ type: CdpMlCustomizableFieldInputRepresentation
377
+ artifact?:
378
+ description: Artifact
379
+ type: CdpAssetReferenceInputRepresentation
380
+ capability?:
381
+ description: Model capability
382
+ type: string
383
+ enum:
384
+ - ChatCompletion
385
+ - Completion
386
+ - Embedding
387
+ customizableFields?:
388
+ description: Customizable Fields
389
+ type: array
390
+ items:
391
+ type: CdpMlCustomizableFieldInputRepresentation
392
+ description?:
393
+ description: Model description
394
+ type: string | nil
395
+ filter?:
396
+ description: Filter
397
+ type: object
398
+ label?:
399
+ description: Model label
400
+ type: string | nil
401
+ parameterOverrides?:
402
+ description: Model Parameter override
403
+ type: array
404
+ items:
405
+ type: CdpMlModelParameterOverrideInputRepresentation
406
+ position?:
407
+ description: Position
408
+ type: integer
409
+ status?:
410
+ description: Model status
411
+ type: string
412
+ enum:
413
+ - Disabled
414
+ - Enabled
415
+ CdpMlConfiguredModelRepresentation:
416
+ description: Represents Cdp Ml Configured Model (Active Partition)
417
+ type: object
418
+ properties:
419
+ actionableFields?:
420
+ description: List of actionable fields
421
+ type: array
422
+ items:
423
+ type: CdpMlCustomizableFieldRepresentation
424
+ artifact:
425
+ description: AI model
426
+ type: CdpAssetReferenceRepresentation
427
+ capability:
428
+ description: Model capability
429
+ type: string
430
+ enum:
431
+ - ChatCompletion
432
+ - Completion
433
+ - Embedding
434
+ customizableFields:
435
+ description: List of customizable fields
436
+ type: array
437
+ items:
438
+ type: CdpMlCustomizableFieldRepresentation
439
+ description?:
440
+ description: Model description
441
+ type: string | nil
442
+ filter:
443
+ description: Model filters
444
+ type: CdpMlFilterRepresentation
445
+ lastActivatedBy?:
446
+ description: Last activated by
447
+ type: CdpUserRepresentation
448
+ lastActivatedDate?:
449
+ description: Last activated date
450
+ type: string
451
+ metricsUrl?:
452
+ description: Live metrics url
453
+ type: string | nil
454
+ parameterOverrides:
455
+ description: List of Model Parameter Overrides
456
+ type: array
457
+ items:
458
+ type: CdpMlModelParameterOverrideBaseRepresentation
459
+ position:
460
+ description: Model position
461
+ type: integer
462
+ status:
463
+ description: Model status
464
+ type: string
465
+ enum:
466
+ - Deprecated
467
+ - Disabled
468
+ - Enabled
469
+ - Rerouted
470
+ createdBy?:
471
+ description: Created by
472
+ type: CdpUserRepresentation
473
+ createdDate?:
474
+ description: Created date
475
+ type: string | nil
476
+ id?:
477
+ description: The 18 character ID of the asset
478
+ type: string
479
+ label?:
480
+ description: Label of the asset
481
+ type: string | nil
482
+ lastModifiedBy?:
483
+ description: Last modified by
484
+ type: CdpUserRepresentation
485
+ lastModifiedDate?:
486
+ description: Last modified date
487
+ type: string | nil
488
+ name:
489
+ description: Name of the asset
490
+ type: string
491
+ namespace?:
492
+ description: Namespace of the asset
493
+ type: string | nil
494
+ url:
495
+ description: Url
496
+ type: string
497
+ CdpMlCustomizableFieldDefinitionRepresentation:
498
+ description: Represents Cdp Ml Customizable Field Definition
499
+ type: object
500
+ properties:
501
+ filter:
502
+ description: Filter rules for enabling custom text, catch all is assumed when
503
+ null is set
504
+ type: CdpMlFilterRepresentation
505
+ templateText:
506
+ description: Template text to be replaced with
507
+ type: string
508
+ CdpMlCustomizableFieldRepresentation:
509
+ description: Represents Cdp Ml Customizable Field
510
+ type: object
511
+ properties:
512
+ customDefinitions:
513
+ description: List of customizable field definitions
514
+ type: array
515
+ items:
516
+ type: CdpMlCustomizableFieldDefinitionRepresentation
517
+ field:
518
+ description: Customizable field
519
+ type: CdpMlModelInputFieldBaseRepresentation
520
+ type:
521
+ description: Customizable field type
522
+ type: string
523
+ enum:
524
+ - ActionableVariable
525
+ - TopFactor
526
+ CdpMlFieldRepresentation:
527
+ description: Cdp Ml Field
528
+ type: object
529
+ properties:
530
+ label:
531
+ description: label
532
+ type: string
533
+ name:
534
+ description: name
535
+ type: string
536
+ CdpMlFilterCriterionBaseRepresentation:
537
+ description: Represents Base Cdp Ml Filter Criterion
538
+ type: object
539
+ properties:
540
+ operator:
541
+ description: Operator type
542
+ type: string
543
+ enum:
544
+ - Between
545
+ - Contains
546
+ - EndsWith
547
+ - Equal
548
+ - GreaterThan
549
+ - GreaterThanOrEqual
550
+ - InSet
551
+ - LessThan
552
+ - LessThanOrEqual
553
+ - NotBetween
554
+ - NotEqual
555
+ - NotIn
556
+ - StartsWith
557
+ type:
558
+ description: Filter type
559
+ type: string
560
+ enum:
561
+ - CalculatedInsightObjectField
562
+ - DataModelObjectField
563
+ - ModelInputField
564
+ values:
565
+ description: Ordered list of values to be applied in the filter
566
+ type: array
567
+ items:
568
+ type: CdpMlFilterValueRepresentation
569
+ CdpMlFilterRepresentation:
570
+ description: Represents Cdp Ml filter
571
+ type: object
572
+ properties:
573
+ criteria:
574
+ description: filter criteria
575
+ type: array
576
+ items:
577
+ type: CdpMlFilterCriterionBaseRepresentation
578
+ CdpMlFilterValueRepresentation:
579
+ description: Represents Cdp Ml Filter Value
580
+ type: object
581
+ properties:
582
+ type:
583
+ description: Filter value type
584
+ type: string
585
+ enum:
586
+ - Constant
587
+ - Placeholder
588
+ value:
589
+ description: Filter value can be a constant or a valid placeholder
590
+ type: string
591
+ CdpMlModelParameterDefinitionBaseRepresentation:
592
+ description: Cdp Ml Model Parameter Base Representation
593
+ discriminator: type
594
+ type: object
595
+ properties:
596
+ description:
597
+ description: Parameter description
598
+ type: string
599
+ parameterName:
600
+ description: Parameter Name
601
+ type: string
602
+ type:
603
+ description: Parameter Type
604
+ type: string
605
+ enum:
606
+ - Continuous
607
+ - Discrete
608
+ CdpMlModelOutputFieldRepresentation:
609
+ description: Cdp Ml Model Output Field Representation
610
+ type: object
611
+ properties:
612
+ dataType:
613
+ description: Field data type
614
+ type: string
615
+ enum:
616
+ - Date
617
+ - Number
618
+ - Text
619
+ position:
620
+ description: Field position
621
+ type: integer
622
+ CdpPaginatedResponseBaseRepresentation:
623
+ description: Base paginated response representation
624
+ type: object
625
+ properties:
626
+ currentPageUrl:
627
+ description: Current page url
628
+ type: string
629
+ nextPageUrl:
630
+ description: Next page url if it exists
631
+ type: string | nil
632
+ totalSize:
633
+ description: Total size of collection
634
+ type: integer
635
+ CdpMlModelArtifactCollectionRepresentation:
636
+ description: Cdp Ml Model Artifact Collection Representation
637
+ type: object
638
+ properties:
639
+ modelArtifacts:
640
+ description: List of model artifacts
641
+ type: array
642
+ items:
643
+ type: CdpMlModelArtifactBaseRepresentation
644
+ currentPageUrl:
645
+ description: Current page url
646
+ type: string
647
+ nextPageUrl:
648
+ description: Next page url if it exists
649
+ type: string | nil
650
+ totalSize:
651
+ description: Total size of collection
652
+ type: integer
653
+ CdpMlModelFieldBaseRepresentation:
654
+ description: Cdp Ml Model Field Base Representation
655
+ type: object
656
+ properties:
657
+ dataType:
658
+ description: Field data type
659
+ type: string
660
+ enum:
661
+ - Date
662
+ - Number
663
+ - Text
664
+ position:
665
+ description: Field position
666
+ type: integer
667
+ label:
668
+ description: label
669
+ type: string
670
+ name:
671
+ description: name
672
+ type: string
673
+ CdpMlModelInputFieldBaseRepresentation:
674
+ description: Represents Base Cdp Ml Model Input Field
675
+ type: object
676
+ properties:
677
+ isDisparateImpact:
678
+ description: Whether this field is a disparate impact field
679
+ type: boolean
680
+ isPartitionField:
681
+ description: Is this field used for partition
682
+ type: boolean
683
+ isSensitive:
684
+ description: Whether this field is a sensitive field
685
+ type: boolean
686
+ dataType:
687
+ description: Field data type
688
+ type: string
689
+ enum:
690
+ - Date
691
+ - Number
692
+ - Text
693
+ position:
694
+ description: Field position
695
+ type: integer
696
+ CdpMlModelOutcomeDefinitionRepresentation:
697
+ description: Cdp Ml Model Outcome Definition Representation
698
+ type: object
699
+ properties:
700
+ fields:
701
+ description: Model output fields
702
+ type: array
703
+ items:
704
+ type: CdpMlModelOutputFieldRepresentation
705
+ goal:
706
+ description: Model outcome goal
707
+ type: string
708
+ enum:
709
+ - Maximize
710
+ - Minimize
711
+ - None
712
+ CdpMlModelTypeRepresentation:
713
+ description: Cdp Ml Model Type
714
+ type: object
715
+ properties:
716
+ connectorType?:
717
+ description: Connector Type
718
+ type: string | nil
719
+ enum:
720
+ - OpenAI
721
+ - SageMaker
722
+ modelType?:
723
+ description: Model type
724
+ type: string | nil
725
+ enum:
726
+ - Generative
727
+ - Predictive
728
+ sourceType?:
729
+ description: Source type
730
+ type: string | nil
731
+ enum:
732
+ - EdcNoCode
733
+ - ModelConnector
734
+ - OutOfTheBox
735
+ CdpMlModelRefreshRecipientRepresentation:
736
+ description: Cdp Ml Model Refresh Recipient Representation
737
+ type: object
738
+ properties:
739
+ displayName:
740
+ description: Refresh recipient name
741
+ type: string
742
+ id:
743
+ description: Model refresh recipient Id
744
+ type: string
745
+ type:
746
+ description: Refresh recipient type
747
+ type: string
748
+ enum:
749
+ - Group
750
+ - User
751
+ CdpMlModelRefreshConfigRepresentation:
752
+ description: Cdp Ml Model Refresh Configuration Representation
753
+ type: object
754
+ properties:
755
+ isEnabled:
756
+ description: Returns the value of the enabled flag (true or false)
757
+ type: boolean
758
+ recipients:
759
+ description: List of model recipients
760
+ type: array
761
+ items:
762
+ type: CdpMlModelRefreshRecipientRepresentation
763
+ schedule:
764
+ description: Model refresh schedule
765
+ type: CdpScheduleRepresentation
766
+ CdpMlWorkspaceBaseRepresentation:
767
+ description: Cdp Ml Workspace Base Representation
768
+ type: object
769
+ properties:
770
+ activeSetup:
771
+ description: The active setup, if it exists
772
+ type: CdpAssetReferenceRepresentation
773
+ activeSetupVersionNumber:
774
+ description: The version number of the active setup
775
+ type: integer
776
+ description:
777
+ description: Model description
778
+ type: string
779
+ historiesUrl:
780
+ description: Histories URL
781
+ type: string
782
+ latestSetup:
783
+ description: The latest setup, if it exists
784
+ type: CdpAssetReferenceRepresentation
785
+ modelCount:
786
+ description: Model count
787
+ type: integer
788
+ modelType:
789
+ description: Model type
790
+ type: CdpMlModelTypeRepresentation
791
+ modelsUrl:
792
+ description: Models URL
793
+ type: string
794
+ outcomeDefinition:
795
+ description: Model outcome definition
796
+ type: CdpMlModelOutcomeDefinitionRepresentation
797
+ predictionType:
798
+ description: Model prediction type
799
+ type: string
800
+ enum:
801
+ - BinaryClassification
802
+ - MulticlassClassification
803
+ - Regression
804
+ refreshConfig:
805
+ description: Model refresh config
806
+ type: CdpMlModelRefreshConfigRepresentation
807
+ setupVersionsUrl:
808
+ description: Setup versions URL
809
+ type: string
810
+ status:
811
+ description: Model status
812
+ type: string
813
+ enum:
814
+ - Disabled
815
+ - Draft
816
+ - Enabled
817
+ totalInferenceCount:
818
+ description: Model total inference count
819
+ type: integer
820
+ totalWarningsCount:
821
+ description: Model total warnings count
822
+ type: integer
823
+ createdBy:
824
+ description: Created by
825
+ type: CdpUserRepresentation
826
+ createdDate:
827
+ description: Created date
828
+ type: string
829
+ id:
830
+ description: The 18 character ID of the asset
831
+ type: string
832
+ label:
833
+ description: Label of the asset
834
+ type: string
835
+ lastModifiedBy:
836
+ description: Last modified by
837
+ type: CdpUserRepresentation
838
+ lastModifiedDate:
839
+ description: Last modified date
840
+ type: string
841
+ name:
842
+ description: Name of the asset
843
+ type: string
844
+ namespace:
845
+ description: Namespace of the asset
846
+ type: string
847
+ url:
848
+ description: Url
849
+ type: string
850
+ CdpMlWorkspaceDetailRepresentation:
851
+ description: Cdp Ml Workspace Details Representation
852
+ type: object
853
+ properties:
854
+ activations:
855
+ description: List of activations
856
+ type: array
857
+ items:
858
+ type: string
859
+ enum:
860
+ - Flow
861
+ - PredictionJob
862
+ activeSetup?:
863
+ description: The active setup, if it exists
864
+ type: CdpAssetReferenceRepresentation
865
+ activeSetupVersionNumber?:
866
+ description: The version number of the active setup
867
+ type: integer | nil
868
+ description?:
869
+ description: Model description
870
+ type: string | nil
871
+ historiesUrl?:
872
+ description: Histories URL
873
+ type: string | nil
874
+ latestSetup?:
875
+ description: The latest setup, if it exists
876
+ type: CdpAssetReferenceRepresentation
877
+ modelCount:
878
+ description: Model count
879
+ type: integer
880
+ modelType?:
881
+ description: Model type
882
+ type: CdpMlModelTypeRepresentation
883
+ modelsUrl?:
884
+ description: Models URL
885
+ type: string | nil
886
+ outcomeDefinition?:
887
+ description: Model outcome definition
888
+ type: CdpMlModelOutcomeDefinitionRepresentation
889
+ predictionType?:
890
+ description: Model prediction type
891
+ type: string | nil
892
+ enum:
893
+ - BinaryClassification
894
+ - MulticlassClassification
895
+ - Regression
896
+ refreshConfig?:
897
+ description: Model refresh config
898
+ type: CdpMlModelRefreshConfigRepresentation
899
+ setupVersionsUrl?:
900
+ description: Setup versions URL
901
+ type: string | nil
902
+ status:
903
+ description: Model status
904
+ type: string
905
+ enum:
906
+ - Disabled
907
+ - Draft
908
+ - Enabled
909
+ totalInferenceCount?:
910
+ description: Model total inference count
911
+ type: integer | nil
912
+ totalWarningsCount?:
913
+ description: Model total warnings count
914
+ type: integer | nil
915
+ createdBy?:
916
+ description: Created by
917
+ type: CdpUserRepresentation
918
+ createdDate?:
919
+ description: Created date
920
+ type: string | nil
921
+ id?:
922
+ description: The 18 character ID of the asset
923
+ type: string
924
+ label?:
925
+ description: Label of the asset
926
+ type: string | nil
927
+ lastModifiedBy?:
928
+ description: Last modified by
929
+ type: CdpUserRepresentation
930
+ lastModifiedDate?:
931
+ description: Last modified date
932
+ type: string | nil
933
+ name:
934
+ description: Name of the asset
935
+ type: string
936
+ namespace?:
937
+ description: Namespace of the asset
938
+ type: string | nil
939
+ url:
940
+ description: Url
941
+ type: string
942
+ CdpMlWorkspaceRepresentation:
943
+ description: Cdp Ml Workspace Representation
944
+ type: object
945
+ properties:
946
+ activeSetup?:
947
+ description: The active setup, if it exists
948
+ type: CdpAssetReferenceRepresentation
949
+ activeSetupVersionNumber?:
950
+ description: The version number of the active setup
951
+ type: integer | nil
952
+ description?:
953
+ description: Model description
954
+ type: string | nil
955
+ historiesUrl?:
956
+ description: Histories URL
957
+ type: string | nil
958
+ latestSetup?:
959
+ description: The latest setup, if it exists
960
+ type: CdpAssetReferenceRepresentation
961
+ modelCount:
962
+ description: Model count
963
+ type: integer
964
+ modelType:
965
+ description: Model type
966
+ type: CdpMlModelTypeRepresentation
967
+ modelsUrl:
968
+ description: Models URL
969
+ type: string
970
+ outcomeDefinition?:
971
+ description: Model outcome definition
972
+ type: CdpMlModelOutcomeDefinitionRepresentation
973
+ predictionType?:
974
+ description: Model prediction type
975
+ type: string | nil
976
+ enum:
977
+ - BinaryClassification
978
+ - MulticlassClassification
979
+ - Regression
980
+ refreshConfig?:
981
+ description: Model refresh config
982
+ type: CdpMlModelRefreshConfigRepresentation
983
+ setupVersionsUrl?:
984
+ description: Setup versions URL
985
+ type: string | nil
986
+ status:
987
+ description: Model status
988
+ type: string
989
+ enum:
990
+ - Disabled
991
+ - Draft
992
+ - Enabled
993
+ totalInferenceCount?:
994
+ description: Model total inference count
995
+ type: integer | nil
996
+ totalWarningsCount?:
997
+ description: Model total warnings count
998
+ type: integer | nil
999
+ createdBy?:
1000
+ description: Created by
1001
+ type: CdpUserRepresentation
1002
+ createdDate?:
1003
+ description: Created date
1004
+ type: string | nil
1005
+ id?:
1006
+ description: The 18 character ID of the asset
1007
+ type: string
1008
+ label?:
1009
+ description: Label of the asset
1010
+ type: string | nil
1011
+ lastModifiedBy?:
1012
+ description: Last modified by
1013
+ type: CdpUserRepresentation
1014
+ lastModifiedDate?:
1015
+ description: Last modified date
1016
+ type: string | nil
1017
+ name:
1018
+ description: Name of the asset
1019
+ type: string
1020
+ namespace?:
1021
+ description: Namespace of the asset
1022
+ type: string | nil
1023
+ url:
1024
+ description: Url
1025
+ type: string
1026
+ CdpMlWorkspaceCollectionRepresentation:
1027
+ description: Cdp Ml Workspace Collection Representation
1028
+ type: object
1029
+ properties:
1030
+ workspaces:
1031
+ description: List of workspaces
1032
+ type: array
1033
+ items:
1034
+ type: CdpMlWorkspaceRepresentation
1035
+ currentPageUrl?:
1036
+ description: Current page url
1037
+ type: string | nil
1038
+ nextPageUrl?:
1039
+ description: Next page url if it exists
1040
+ type: string | nil
1041
+ totalSize:
1042
+ description: Total size of collection
1043
+ type: integer
1044
+ CdpTimeRepresentation:
1045
+ description: Cdp Time Representation
1046
+ type: object
1047
+ properties:
1048
+ hour:
1049
+ description: Hour
1050
+ type: integer
1051
+ minute:
1052
+ description: Minute
1053
+ type: integer
1054
+ timezone:
1055
+ description: Time Zone
1056
+ type: CdpTimeZoneRepresentation
1057
+ CdpTimeZoneRepresentation:
1058
+ description: Cdp Time Zone Representation
1059
+ type: object
1060
+ properties:
1061
+ gmtOffset:
1062
+ description: Time zone offset to GMT
1063
+ format: double
1064
+ type: number
1065
+ name:
1066
+ description: Time zone name
1067
+ type: string
1068
+ zoneId:
1069
+ description: Time zone identifier
1070
+ type: string
1071
+ CdpScheduleRepresentation:
1072
+ description: Cdp Schedule Representation
1073
+ type: object
1074
+ properties:
1075
+ frequency:
1076
+ description: Schedule frequency
1077
+ type: string
1078
+ enum:
1079
+ - Daily
1080
+ - Hourly
1081
+ - Minutely
1082
+ - Monthly
1083
+ - MonthlyRelative
1084
+ - None
1085
+ - Weekly
1086
+ nextScheduledDate:
1087
+ description: Next Scheduled Date
1088
+ type: string
1089
+ time:
1090
+ description: Schedule Time
1091
+ type: CdpTimeRepresentation
1092
+ MlConfiguredModelCollectionRepresentation:
1093
+ description: Represents Ml Configured Model Collection
1094
+ type: object
1095
+ properties:
1096
+ configuredModels:
1097
+ description: List of configured models
1098
+ type: array
1099
+ items:
1100
+ type: MlConfiguredModelRepresentation
1101
+ currentPageUrl?:
1102
+ description: Current page url
1103
+ type: string
1104
+ nextPageUrl?:
1105
+ description: Next page url if it exists
1106
+ type: string | nil
1107
+ totalSize?:
1108
+ description: Total size of collection
1109
+ type: integer
1110
+ MlConfiguredModelRepresentation:
1111
+ description: Represents Ml Configured Model
1112
+ type: object
1113
+ properties:
1114
+ activations?:
1115
+ description: List of activations
1116
+ type: array
1117
+ items:
1118
+ type: string
1119
+ enum:
1120
+ - Flow
1121
+ - PredictionJob
1122
+ artifact:
1123
+ description: Model Artifact
1124
+ type: CdpAssetReferenceRepresentation
1125
+ capability:
1126
+ description: Model capability
1127
+ type: string
1128
+ enum:
1129
+ - BinaryClassification
1130
+ - ChatCompletion
1131
+ - Completion
1132
+ - Embedding
1133
+ - Generic
1134
+ - MulticlassClassification
1135
+ - Regression
1136
+ connectorType?:
1137
+ description: Connector Type, if the configured model is referencing a model
1138
+ connector
1139
+ type: string | nil
1140
+ enum:
1141
+ - Anthropic
1142
+ - AzureOpenAI
1143
+ - Databricks
1144
+ - EinsteinText
1145
+ - Generic
1146
+ - OpenAI
1147
+ - SageMaker
1148
+ - VertexAI
1149
+ - Bedrock
1150
+ deprecationConfiguration?:
1151
+ description: Deprecation strategy when the model is deprecated
1152
+ type: MlDeprecationConfigurationRepresentation
1153
+ description?:
1154
+ description: User defined description
1155
+ type: string | nil
1156
+ lastActivatedBy?:
1157
+ description: Last activated by
1158
+ type: CdpUserRepresentation
1159
+ lastActivatedDate?:
1160
+ description: Last activated date
1161
+ type: string
1162
+ modelType?:
1163
+ description: Referenced model type
1164
+ type: string
1165
+ enum:
1166
+ - Generative
1167
+ - Predictive
1168
+ - Unknown
1169
+ parameterOverrides?:
1170
+ description: List of Model Parameter Overrides
1171
+ type: array
1172
+ items:
1173
+ type: CdpMlModelParameterOverrideBaseRepresentation
1174
+ region?:
1175
+ description: Region for AWS connection
1176
+ type: string
1177
+ setupType?:
1178
+ description: Referenced setup type
1179
+ type: string
1180
+ enum:
1181
+ - EdcNoCode
1182
+ - ModelConnector
1183
+ - OutOfTheBox
1184
+ status?:
1185
+ description: Model status
1186
+ type: string
1187
+ enum:
1188
+ - Deprecated
1189
+ - Disabled
1190
+ - Enabled
1191
+ - Rerouted
1192
+ visibility?:
1193
+ description: Model visibility
1194
+ type: string
1195
+ enum:
1196
+ - Hidden
1197
+ - Shown
1198
+ createdBy?:
1199
+ description: Created by
1200
+ type: CdpUserRepresentation
1201
+ createdDate?:
1202
+ description: Created date
1203
+ type: string | nil
1204
+ id?:
1205
+ description: The 18 character ID of the asset
1206
+ type: string
1207
+ label?:
1208
+ description: Label of the asset
1209
+ type: string
1210
+ lastModifiedBy?:
1211
+ description: Last modified by
1212
+ type: CdpUserRepresentation
1213
+ lastModifiedDate?:
1214
+ description: Last modified date
1215
+ type: string | nil
1216
+ name:
1217
+ description: Name of the asset
1218
+ type: string
1219
+ namespace?:
1220
+ description: Namespace of the asset
1221
+ type: string | nil
1222
+ url:
1223
+ description: Url
1224
+ type: string
1225
+ CdpMlAggregatePredictConditionRepresentation:
1226
+ description: Cdp Ml Aggregate Prediction Contribution
1227
+ type: object
1228
+ properties:
1229
+ count?:
1230
+ description: Count of rows included in the aggregate condition
1231
+ type: integer
1232
+ CdpMlPredictionBaseRepresentation:
1233
+ description: Base representation for a prediction result
1234
+ discriminator: status
1235
+ type: object
1236
+ properties:
1237
+ status:
1238
+ description: prediction status
1239
+ type: string
1240
+ enum:
1241
+ - Success
1242
+ - Error
1243
+ CdpMlPredictionErrorRepresentation:
1244
+ description: Failed prediction
1245
+ type: CdpMlPredictionBaseRepresentation
1246
+ discriminatorValue: Error
1247
+ properties:
1248
+ errorCode:
1249
+ description: Error Code for the Error Message
1250
+ type: string
1251
+ enum:
1252
+ - TimedOut
1253
+ - NoMatch
1254
+ - Error
1255
+ message:
1256
+ description: Error Message for Predict Error
1257
+ type: string
1258
+ CdpMlPredictionSuccessBaseRepresentation:
1259
+ description: Base representation for a successful prediction result
1260
+ type: CdpMlPredictionBaseRepresentation
1261
+ discriminator: type
1262
+ discriminatorValue: Success
1263
+ properties:
1264
+ type:
1265
+ description: Prediction type
1266
+ type: string
1267
+ enum:
1268
+ - Regression
1269
+ - BinaryClassification
1270
+ - Generic
1271
+ partition:
1272
+ description: Model partition that's used for this prediction
1273
+ type: CdpAssetReferenceRepresentation
1274
+ warnings:
1275
+ description: Warnings that are generated by the prediction
1276
+ type: CdpMlPredictionWarningsRepresentation
1277
+ factors:
1278
+ description: A list of top factors associated with prediction
1279
+ type: array
1280
+ items:
1281
+ type: CdpMlPredictionContributionBaseRepresentation
1282
+ prescriptions:
1283
+ description: A list of recommendations associated with this prediction
1284
+ type: array
1285
+ items:
1286
+ type: CdpMlPredictionContributionBaseRepresentation
1287
+ CdpMlRegressionPredictionResultRepresentation:
1288
+ description: Representation for a successful regression prediction result
1289
+ type: CdpMlPredictionSuccessBaseRepresentation
1290
+ discriminatorValue: Regression
1291
+ properties:
1292
+ predictedValue:
1293
+ description: Representation for a successful regression prediction result
1294
+ format: double
1295
+ type: number
1296
+ CdpMlBinaryClassificationPredictionResultRepresentation:
1297
+ description: Representation for a successful binary classification prediction result
1298
+ type: CdpMlPredictionSuccessBaseRepresentation
1299
+ discriminatorValue: BinaryClassification
1300
+ properties:
1301
+ predictedValue:
1302
+ description: Predicted value
1303
+ format: double
1304
+ type: number
1305
+ threshold:
1306
+ description: Threshold used
1307
+ format: double
1308
+ type: number
1309
+ CdpMlGenericPredictionResultRepresentation:
1310
+ description: Representation for a successful generic prediction result
1311
+ type: CdpMlPredictionSuccessBaseRepresentation
1312
+ discriminatorValue: Generic
1313
+ properties:
1314
+ outputs:
1315
+ description: Name
1316
+ type: array
1317
+ items:
1318
+ type: CdpMlGenericPredictionOutputValueRepresentation
1319
+ CdpMlGenericPredictionOutputValueRepresentation:
1320
+ description: Representation for a successful generic prediction result
1321
+ type: object
1322
+ properties:
1323
+ name:
1324
+ description: Name
1325
+ type: string
1326
+ value:
1327
+ description: Output Value
1328
+ type: object
1329
+ type:
1330
+ description: Output Data type
1331
+ type: string
1332
+ enum:
1333
+ - Text
1334
+ - Number
1335
+ - Date
1336
+ - Boolean
1337
+ CdpMlPredictionContributionBaseRepresentation:
1338
+ description: Base representation for a Prediction Contribution
1339
+ type: object
1340
+ properties:
1341
+ value:
1342
+ description: Contribution value
1343
+ format: double
1344
+ type: number
1345
+ fields:
1346
+ description: List of field and values that have the same contribution value
1347
+ type: array
1348
+ items:
1349
+ type: CdpMlPredictionContributionFieldRepresentation
1350
+ CdpMlPredictionContributionFieldRepresentation:
1351
+ description: Cdp Ml Prediction Contribution Field
1352
+ type: object
1353
+ properties:
1354
+ prescribedValue:
1355
+ description: Model output value for the field (i.e. recommended value to improve prediction)
1356
+ type: string
1357
+ inputValue:
1358
+ description: Input value used for this field
1359
+ type: string
1360
+ customText:
1361
+ description:
1362
+ type: CdpMlPredictionFieldCustomTextRepresentation
1363
+ CdpMlPredictionFieldCustomTextRepresentation:
1364
+ description: Cdp Ml Prediction Field Custom Text
1365
+ type: object
1366
+ properties:
1367
+ templateText:
1368
+ description: Template text if custom override is defined for the column.
1369
+ type: string
1370
+ mergeFieldValues:
1371
+ description: Provides placeholder to resolved value defined in the template text. Null if there are no placeholders.
1372
+ type: any
1373
+ isHidden:
1374
+ description:
1375
+ type: boolean
1376
+ CdpMlPredictionWarningsRepresentation:
1377
+ description: Representation for prediction warnings
1378
+ type: object
1379
+ properties:
1380
+ outOfBoundsFields:
1381
+ description: A list of fields that contain values that are not seen in the model
1382
+ type: array
1383
+ items:
1384
+ type: CdpMlFieldValueRepresentation
1385
+ missingFielsNames:
1386
+ description: A list of missing field names
1387
+ type: array
1388
+ items:
1389
+ type: string
1390
+ CdpMlFieldValueRepresentation:
1391
+ description: Cdp Ml Field Value
1392
+ type: object
1393
+ properties:
1394
+ value:
1395
+ description: Field value
1396
+ type: string
1397
+ count:
1398
+ description: Count of the value
1399
+ type: integer
1400
+ CdpMlAggregatePredictionRepresentation:
1401
+ description: Cdp Ml Prediction result representation
1402
+ type: object
1403
+ properties:
1404
+ status?:
1405
+ description: Status of aggregate prediction
1406
+ type: string | nil
1407
+ enum:
1408
+ - Success
1409
+ - Error
1410
+ type?:
1411
+ description: Type of aggregate prediction
1412
+ type: string | nil
1413
+ enum:
1414
+ - Average
1415
+ - Median
1416
+ - Sum
1417
+ factors?:
1418
+ description: Top factors associated to this aggregate prediction
1419
+ type: array
1420
+ items:
1421
+ type: CdpMlAggregatePredictConditionRepresentation
1422
+ prescriptions?:
1423
+ description: Prescriptions associated to this aggregate prediction
1424
+ type: array
1425
+ items:
1426
+ type: CdpMlAggregatePredictConditionRepresentation
1427
+ value?:
1428
+ description: Aggregate prediction value
1429
+ format: double
1430
+ type: number
1431
+ CdpMlPredictSettingsInputRepresentation:
1432
+ description: Predict Settings Representation
1433
+ type: object
1434
+ properties:
1435
+ maxPrescriptions?:
1436
+ description: Maximum recommendation count. Default value is -1 (unlimited) and the allowed range is [-1, 200]
1437
+ type: integer
1438
+ prescriptionImpactPercentage?:
1439
+ description: Impact Percentage of Prescriptions, Default is set at 0
1440
+ type: integer
1441
+ maxTopFactors?:
1442
+ description: Maximum top factor count. Default value is 0 and the allowed range is [0, 3]
1443
+ type: integer
1444
+ aggregateFunctions?:
1445
+ description: List of aggregate functions
1446
+ type: array
1447
+ items:
1448
+ type: string | nil
1449
+ CdpMlPredictResultRepresentation:
1450
+ description: Cdp Ml Prediction result representation
1451
+ type: object
1452
+ properties:
1453
+ model:
1454
+ description: Model asset reference used as part of the prediction request
1455
+ type: CdpAssetReferenceRepresentation
1456
+ predictionType:
1457
+ description: Prediction Type
1458
+ type: string
1459
+ enum:
1460
+ - Regression
1461
+ - BinaryClassification
1462
+ - MulticlassClassification
1463
+ - Generic/Unknown
1464
+ predictions?:
1465
+ description: A list of prediction results
1466
+ type: array
1467
+ items:
1468
+ type: CdpMlPredictionBaseRepresentation
1469
+ aggregatePredictions?:
1470
+ description: Aggregate Result List
1471
+ type: array
1472
+ items:
1473
+ type: CdpMlAggregatePredictionRepresentation
1474
+ settings:
1475
+ description: Settings used for the prediction
1476
+ type: CdpMlPredictSettingsInputRepresentation
1477
+ MlConfiguredModelInputRepresentation:
1478
+ description: Input representation for a Ml Configured Model
1479
+ type: object
1480
+ properties:
1481
+ artifact?:
1482
+ description: Artifact
1483
+ type: CdpAssetReferenceInputRepresentation
1484
+ capability?:
1485
+ description: Model capability
1486
+ type: string
1487
+ enum:
1488
+ - BinaryClassification
1489
+ - ChatCompletion
1490
+ - Completion
1491
+ - Embedding
1492
+ - Generic
1493
+ - MulticlassClassification
1494
+ - Regression
1495
+ description?:
1496
+ description: Model description
1497
+ type: string
1498
+ label?:
1499
+ description: Model label
1500
+ type: string
1501
+ parameterOverrides?:
1502
+ description: Model Parameter override
1503
+ type: array
1504
+ items:
1505
+ type: CdpMlModelParameterOverrideInputRepresentation
1506
+ status?:
1507
+ description: Model status
1508
+ type: string
1509
+ enum:
1510
+ - Disabled
1511
+ - Enabled
1512
+ visibility?:
1513
+ description: Model visibility
1514
+ type: string
1515
+ enum:
1516
+ - Hidden
1517
+ - Shown
1518
+ MlDeprecationConfigurationRepresentation:
1519
+ description: Ml Deprecation Configuration Representation
1520
+ type: object
1521
+ properties:
1522
+ deprecationDate?:
1523
+ description: Deprecation date
1524
+ type: string | nil
1525
+ endOfLifeDate?:
1526
+ description: End of life date
1527
+ type: string | nil
1528
+ endOfLifePolicy?:
1529
+ description: End of life policy
1530
+ type: string | nil
1531
+ enum:
1532
+ - RollOver
1533
+ rollOverModelArtifactReference?:
1534
+ description: Roll over model artifact reference if policy is rollover
1535
+ type: CdpAssetReferenceRepresentation
1536
+ CdpMlPredictRawDataInputRepresentation:
1537
+ description: Raw Data Input Representation
1538
+ type: object
1539
+ properties:
1540
+ type:
1541
+ description: prediction type enum
1542
+ type: string
1543
+ enum:
1544
+ - Records
1545
+ - RawData
1546
+ - RecordOverrides
1547
+ model:
1548
+ description: Model Reference
1549
+ type: CdpAssetReferenceInputRepresentation
1550
+ fieldNames:
1551
+ description: Field names
1552
+ type: array
1553
+ items:
1554
+ type: string
1555
+ rows:
1556
+ description: Rows of values
1557
+ type: array
1558
+ items:
1559
+ type: array
1560
+ items:
1561
+ type: string
1562
+ /ssot:
1563
+ /machine-learning:
1564
+ /model-artifacts:
1565
+ get:
1566
+ displayName: getCdpMlModelArtifactCollection
1567
+ description: Get Model Artifacts
1568
+ responses:
1569
+ '200':
1570
+ description: Success
1571
+ body:
1572
+ application/json:
1573
+ type: CdpMlModelArtifactCollectionRepresentation
1574
+ queryParameters:
1575
+ limit:
1576
+ type: integer
1577
+ required: false
1578
+ modelType:
1579
+ type: string
1580
+ required: false
1581
+ enum:
1582
+ - Generative
1583
+ - Predictive
1584
+ - Unknown
1585
+ offset:
1586
+ type: integer
1587
+ required: false
1588
+ sourceType:
1589
+ type: string
1590
+ required: false
1591
+ enum:
1592
+ - EdcNoCode
1593
+ - ModelConnector
1594
+ - OutOfTheBox
1595
+ /model-artifacts/{modelArtifactIdOrName}:
1596
+ get:
1597
+ displayName: getCdpMlModelArtifact
1598
+ description: Get Model Artifact
1599
+ responses:
1600
+ '200':
1601
+ description: Success
1602
+ body:
1603
+ application/json:
1604
+ type: CdpMlModelArtifactBaseRepresentation
1605
+ uriParameters:
1606
+ modelArtifactIdOrName:
1607
+ type: string
1608
+ required: true
1609
+ /configured-models:
1610
+ get:
1611
+ displayName: getMlConfiguredModelCollection
1612
+ description: Get configured models
1613
+ responses:
1614
+ '200':
1615
+ description: Success
1616
+ body:
1617
+ application/json:
1618
+ type: MlConfiguredModelCollectionRepresentation
1619
+ queryParameters:
1620
+ assetIdOrName:
1621
+ type: string
1622
+ required: false
1623
+ assetType:
1624
+ type: string
1625
+ required: false
1626
+ enum:
1627
+ - ModelArtifact
1628
+ - ModelSetup
1629
+ capabilities:
1630
+ type: array
1631
+ required: false
1632
+ items:
1633
+ type: string
1634
+ enum:
1635
+ - BinaryClassification
1636
+ - ChatCompletion
1637
+ - Completion
1638
+ - Embedding
1639
+ - Generic
1640
+ - MulticlassClassification
1641
+ - Regression
1642
+ (oas-collectionFormat): csv
1643
+ connectorType:
1644
+ type: string
1645
+ required: false
1646
+ enum:
1647
+ - Anthropic
1648
+ - AzureOpenAI
1649
+ - Databricks
1650
+ - EinsteinText
1651
+ - Generic
1652
+ - OpenAI
1653
+ - SageMaker
1654
+ - VertexAI
1655
+ - Bedrock
1656
+ limit:
1657
+ type: integer
1658
+ required: false
1659
+ modelType:
1660
+ type: string
1661
+ required: false
1662
+ enum:
1663
+ - Generative
1664
+ - Predictive
1665
+ - Unknown
1666
+ offset:
1667
+ type: integer
1668
+ required: false
1669
+ outOfTheBox:
1670
+ type: boolean
1671
+ required: false
1672
+ search:
1673
+ type: string
1674
+ required: false
1675
+ sourceType:
1676
+ type: string
1677
+ required: false
1678
+ enum:
1679
+ - EdcNoCode
1680
+ - ModelConnector
1681
+ - OutOfTheBox
1682
+ post:
1683
+ displayName: createMlConfiguredModel
1684
+ description: Create a new configured model
1685
+ responses:
1686
+ '200':
1687
+ description: Success
1688
+ body:
1689
+ application/json:
1690
+ type: MlConfiguredModelRepresentation
1691
+ body:
1692
+ application/json:
1693
+ type: MlConfiguredModelInputRepresentation
1694
+ (oas-body-name): configuredModel
1695
+ /configured-models/{configuredModelIdOrName}:
1696
+ get:
1697
+ displayName: getMlConfiguredModel
1698
+ description: Get a configured model
1699
+ responses:
1700
+ '200':
1701
+ description: Success
1702
+ body:
1703
+ application/json:
1704
+ type: MlConfiguredModelRepresentation
1705
+ queryParameters:
1706
+ filterGroup:
1707
+ type: string
1708
+ required: false
1709
+ patch:
1710
+ displayName: updateMlConfiguredModel
1711
+ description: Update a configured model
1712
+ responses:
1713
+ '200':
1714
+ description: Success
1715
+ body:
1716
+ application/json:
1717
+ type: MlConfiguredModelRepresentation
1718
+ body:
1719
+ application/json:
1720
+ type: MlConfiguredModelInputRepresentation
1721
+ (oas-body-name): configuredModel
1722
+ uriParameters:
1723
+ configuredModelIdOrName:
1724
+ type: string
1725
+ required: true
1726
+ /workspaces:
1727
+ get:
1728
+ displayName: getCdpMlWorkspaceCollection
1729
+ description: Get workspaces
1730
+ responses:
1731
+ '200':
1732
+ description: Success
1733
+ body:
1734
+ application/json:
1735
+ type: CdpMlWorkspaceCollectionRepresentation
1736
+ queryParameters:
1737
+ limit:
1738
+ type: integer
1739
+ required: false
1740
+ modelType:
1741
+ type: string
1742
+ required: false
1743
+ enum:
1744
+ - Generative
1745
+ - Predictive
1746
+ - Unknown
1747
+ offset:
1748
+ type: integer
1749
+ required: false
1750
+ predictionType:
1751
+ type: string
1752
+ required: false
1753
+ enum:
1754
+ - BinaryClassification
1755
+ - Generic
1756
+ - MulticlassClassification
1757
+ - Regression
1758
+ search:
1759
+ type: string
1760
+ required: false
1761
+ sourceType:
1762
+ type: string
1763
+ required: false
1764
+ enum:
1765
+ - EdcNoCode
1766
+ - ModelConnector
1767
+ - OutOfTheBox
1768
+ status:
1769
+ type: string
1770
+ required: false
1771
+ enum:
1772
+ - Disabled
1773
+ - Draft
1774
+ - Enabled
1775
+ /workspaces/{workspaceIdOrName}:
1776
+ get:
1777
+ displayName: getCdpMlWorkspace
1778
+ description: Get workspace
1779
+ responses:
1780
+ '200':
1781
+ description: Success
1782
+ body:
1783
+ application/json:
1784
+ type: CdpMlWorkspaceDetailRepresentation
1785
+ uriParameters:
1786
+ workspaceIdOrName:
1787
+ type: string
1788
+ required: true
1789
+ /models:
1790
+ get:
1791
+ displayName: getCdpMlConfiguredModelCollection
1792
+ description: Get configured models
1793
+ responses:
1794
+ '200':
1795
+ description: Success
1796
+ body:
1797
+ application/json:
1798
+ type: CdpMlConfiguredModelCollectionRepresentation
1799
+ queryParameters:
1800
+ capabilities:
1801
+ type: array
1802
+ required: false
1803
+ items:
1804
+ type: string
1805
+ enum:
1806
+ - BinaryClassification
1807
+ - ChatCompletion
1808
+ - Completion
1809
+ - Embedding
1810
+ - Generic
1811
+ - MulticlassClassification
1812
+ - Regression
1813
+ (oas-collectionFormat): csv
1814
+ post:
1815
+ displayName: createCdpMlConfiguredModel
1816
+ description: Create a new configured model
1817
+ responses:
1818
+ '200':
1819
+ description: Success
1820
+ body:
1821
+ application/json:
1822
+ type: CdpMlConfiguredModelRepresentation
1823
+ body:
1824
+ application/json:
1825
+ type: CdpMlConfiguredModelInputRepresentation
1826
+ (oas-body-name): model
1827
+ uriParameters:
1828
+ workspaceIdOrName:
1829
+ type: string
1830
+ required: true
1831
+ /models/{modelIdOrName}:
1832
+ get:
1833
+ displayName: getCdpMlConfiguredModel
1834
+ description: Get a configured model
1835
+ responses:
1836
+ '200':
1837
+ description: Success
1838
+ body:
1839
+ application/json:
1840
+ type: CdpMlConfiguredModelRepresentation
1841
+ patch:
1842
+ displayName: updateCdpMlConfiguredModel
1843
+ description: Update a configured model
1844
+ responses:
1845
+ '200':
1846
+ description: Success
1847
+ body:
1848
+ application/json:
1849
+ type: CdpMlConfiguredModelRepresentation
1850
+ body:
1851
+ application/json:
1852
+ type: CdpMlConfiguredModelInputRepresentation
1853
+ (oas-body-name): model
1854
+ uriParameters:
1855
+ modelIdOrName:
1856
+ type: string
1857
+ required: true
1858
+ workspaceIdOrName:
1859
+ type: string
1860
+ required: true
1861
+ /predict:
1862
+ post:
1863
+ displayName: CdpMlPredictResult
1864
+ description: Get prediction result
1865
+ responses:
1866
+ '200':
1867
+ description: Success
1868
+ body:
1869
+ application/json:
1870
+ type: CdpMlPredictResultRepresentation
1871
+ body:
1872
+ application/json:
1873
+ type: CdpMlPredictRawDataInputRepresentation
1874
+ (oas-body-name): predictInput