@osdk/foundry.models 2.48.0 → 2.49.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/build/browser/_components.d.ts +586 -0
- package/build/browser/_components.d.ts.map +1 -1
- package/build/browser/_errors.d.ts +215 -0
- package/build/browser/_errors.d.ts.map +1 -1
- package/build/browser/index.d.ts +6 -2
- package/build/browser/index.d.ts.map +1 -1
- package/build/browser/index.js +4 -0
- package/build/browser/index.js.map +1 -1
- package/build/browser/public/Experiment.d.ts +37 -0
- package/build/browser/public/Experiment.d.ts.map +1 -0
- package/build/browser/public/Experiment.js +44 -0
- package/build/browser/public/Experiment.js.map +1 -0
- package/build/browser/public/ExperimentArtifactTable.d.ts +41 -0
- package/build/browser/public/ExperimentArtifactTable.d.ts.map +1 -0
- package/build/browser/public/ExperimentArtifactTable.js +44 -0
- package/build/browser/public/ExperimentArtifactTable.js.map +1 -0
- package/build/browser/public/ExperimentSeries.d.ts +40 -0
- package/build/browser/public/ExperimentSeries.d.ts.map +1 -0
- package/build/browser/public/ExperimentSeries.js +43 -0
- package/build/browser/public/ExperimentSeries.js.map +1 -0
- package/build/browser/public/LiveDeployment.d.ts +20 -0
- package/build/browser/public/LiveDeployment.d.ts.map +1 -0
- package/build/browser/public/LiveDeployment.js +30 -0
- package/build/browser/public/LiveDeployment.js.map +1 -0
- package/build/browser/public/Model.d.ts +2 -2
- package/build/browser/public/Model.js +2 -2
- package/build/browser/public/Model.js.map +1 -1
- package/build/browser/public/ModelStudioTrainer.d.ts +3 -7
- package/build/browser/public/ModelStudioTrainer.d.ts.map +1 -1
- package/build/browser/public/ModelVersion.d.ts +2 -2
- package/build/browser/public/ModelVersion.js +2 -2
- package/build/browser/public/ModelVersion.js.map +1 -1
- package/build/esm/_components.d.ts +586 -0
- package/build/esm/_components.d.ts.map +1 -1
- package/build/esm/_errors.d.ts +215 -0
- package/build/esm/_errors.d.ts.map +1 -1
- package/build/esm/index.d.ts +6 -2
- package/build/esm/index.d.ts.map +1 -1
- package/build/esm/index.js +4 -0
- package/build/esm/index.js.map +1 -1
- package/build/esm/public/Experiment.d.ts +37 -0
- package/build/esm/public/Experiment.d.ts.map +1 -0
- package/build/esm/public/Experiment.js +44 -0
- package/build/esm/public/Experiment.js.map +1 -0
- package/build/esm/public/ExperimentArtifactTable.d.ts +41 -0
- package/build/esm/public/ExperimentArtifactTable.d.ts.map +1 -0
- package/build/esm/public/ExperimentArtifactTable.js +44 -0
- package/build/esm/public/ExperimentArtifactTable.js.map +1 -0
- package/build/esm/public/ExperimentSeries.d.ts +40 -0
- package/build/esm/public/ExperimentSeries.d.ts.map +1 -0
- package/build/esm/public/ExperimentSeries.js +43 -0
- package/build/esm/public/ExperimentSeries.js.map +1 -0
- package/build/esm/public/LiveDeployment.d.ts +20 -0
- package/build/esm/public/LiveDeployment.d.ts.map +1 -0
- package/build/esm/public/LiveDeployment.js +30 -0
- package/build/esm/public/LiveDeployment.js.map +1 -0
- package/build/esm/public/Model.d.ts +2 -2
- package/build/esm/public/Model.js +2 -2
- package/build/esm/public/Model.js.map +1 -1
- package/build/esm/public/ModelStudioTrainer.d.ts +3 -7
- package/build/esm/public/ModelStudioTrainer.d.ts.map +1 -1
- package/build/esm/public/ModelVersion.d.ts +2 -2
- package/build/esm/public/ModelVersion.js +2 -2
- package/build/esm/public/ModelVersion.js.map +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @osdk/foundry.models
|
|
2
2
|
|
|
3
|
+
## 2.49.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- ed3ac19: Regenerate Platform SDKs
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [ed3ac19]
|
|
12
|
+
- @osdk/foundry.filesystem@2.49.0
|
|
13
|
+
- @osdk/foundry.core@2.49.0
|
|
14
|
+
|
|
3
15
|
## 2.48.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
|
@@ -3,6 +3,14 @@ import type * as _Filesystem from "@osdk/foundry.filesystem";
|
|
|
3
3
|
export type LooselyBrandedString<T extends string> = string & {
|
|
4
4
|
__LOOSE_BRAND?: T;
|
|
5
5
|
};
|
|
6
|
+
/**
|
|
7
|
+
* A boolean parameter value.
|
|
8
|
+
*
|
|
9
|
+
* Log Safety: UNSAFE
|
|
10
|
+
*/
|
|
11
|
+
export interface BooleanParameter {
|
|
12
|
+
value: boolean;
|
|
13
|
+
}
|
|
6
14
|
/**
|
|
7
15
|
* Log Safety: SAFE
|
|
8
16
|
*/
|
|
@@ -64,6 +72,14 @@ export interface DatasetInput {
|
|
|
64
72
|
ignoreColumns: Array<_Core.ColumnName>;
|
|
65
73
|
selectColumns: Array<_Core.ColumnName>;
|
|
66
74
|
}
|
|
75
|
+
/**
|
|
76
|
+
* A datetime parameter value.
|
|
77
|
+
*
|
|
78
|
+
* Log Safety: UNSAFE
|
|
79
|
+
*/
|
|
80
|
+
export interface DatetimeParameter {
|
|
81
|
+
value: string;
|
|
82
|
+
}
|
|
67
83
|
/**
|
|
68
84
|
* Log Safety: SAFE
|
|
69
85
|
*/
|
|
@@ -75,27 +91,254 @@ export interface DateType {
|
|
|
75
91
|
export interface DillModelFiles {
|
|
76
92
|
serializedModelFunction: string;
|
|
77
93
|
}
|
|
94
|
+
/**
|
|
95
|
+
* A double parameter value.
|
|
96
|
+
*
|
|
97
|
+
* Log Safety: UNSAFE
|
|
98
|
+
*/
|
|
99
|
+
export interface DoubleParameter {
|
|
100
|
+
value: number;
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* Aggregated statistics for numeric series.
|
|
104
|
+
*
|
|
105
|
+
* Log Safety: UNSAFE
|
|
106
|
+
*/
|
|
107
|
+
export interface DoubleSeriesAggregations {
|
|
108
|
+
min: number;
|
|
109
|
+
max: number;
|
|
110
|
+
last: number;
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
* A series of double values.
|
|
114
|
+
*
|
|
115
|
+
* Log Safety: UNSAFE
|
|
116
|
+
*/
|
|
117
|
+
export interface DoubleSeriesV1 {
|
|
118
|
+
series: Array<DoubleSeriesValueV1>;
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* A single double value in a series.
|
|
122
|
+
*
|
|
123
|
+
* Log Safety: UNSAFE
|
|
124
|
+
*/
|
|
125
|
+
export interface DoubleSeriesValueV1 {
|
|
126
|
+
value: number;
|
|
127
|
+
timestamp: EpochMillis;
|
|
128
|
+
step: string;
|
|
129
|
+
}
|
|
78
130
|
/**
|
|
79
131
|
* Log Safety: SAFE
|
|
80
132
|
*/
|
|
81
133
|
export interface DoubleType {
|
|
82
134
|
}
|
|
135
|
+
/**
|
|
136
|
+
* Milliseconds since unix time zero. This representation is used to maintain consistency with the Parquet
|
|
137
|
+
format.
|
|
138
|
+
*
|
|
139
|
+
* Log Safety: SAFE
|
|
140
|
+
*/
|
|
141
|
+
export type EpochMillis = string;
|
|
142
|
+
/**
|
|
143
|
+
* Log Safety: UNSAFE
|
|
144
|
+
*/
|
|
145
|
+
export interface Experiment {
|
|
146
|
+
rid: ExperimentRid;
|
|
147
|
+
modelRid: ModelRid;
|
|
148
|
+
name: ExperimentName;
|
|
149
|
+
createdAt: _Core.CreatedTime;
|
|
150
|
+
createdBy: _Core.CreatedBy;
|
|
151
|
+
source: ExperimentSource;
|
|
152
|
+
status: ExperimentStatus;
|
|
153
|
+
statusMessage?: string;
|
|
154
|
+
branch: ExperimentBranch;
|
|
155
|
+
parameters: Array<Parameter>;
|
|
156
|
+
series: Array<SeriesAggregations>;
|
|
157
|
+
summaryMetrics: Array<SummaryMetric>;
|
|
158
|
+
artifacts: Record<ExperimentArtifactName, ExperimentArtifactMetadata>;
|
|
159
|
+
tags: Array<ExperimentTagText>;
|
|
160
|
+
linkedModelVersion?: ModelVersionRid;
|
|
161
|
+
jobRid?: _Core.JobRid;
|
|
162
|
+
}
|
|
163
|
+
/**
|
|
164
|
+
* Details about an experiment artifact.
|
|
165
|
+
*
|
|
166
|
+
* Log Safety: SAFE
|
|
167
|
+
*/
|
|
168
|
+
export type ExperimentArtifactDetails = {
|
|
169
|
+
type: "table";
|
|
170
|
+
} & TableArtifactDetails;
|
|
171
|
+
/**
|
|
172
|
+
* Metadata about an experiment artifact.
|
|
173
|
+
*
|
|
174
|
+
* Log Safety: UNSAFE
|
|
175
|
+
*/
|
|
176
|
+
export interface ExperimentArtifactMetadata {
|
|
177
|
+
name: ExperimentArtifactName;
|
|
178
|
+
description?: string;
|
|
179
|
+
sizeBytes: _Core.SizeBytes;
|
|
180
|
+
details: ExperimentArtifactDetails;
|
|
181
|
+
}
|
|
182
|
+
/**
|
|
183
|
+
* The name of an experiment artifact.
|
|
184
|
+
*
|
|
185
|
+
* Log Safety: UNSAFE
|
|
186
|
+
*/
|
|
187
|
+
export type ExperimentArtifactName = LooselyBrandedString<"ExperimentArtifactName">;
|
|
188
|
+
/**
|
|
189
|
+
* Log Safety: UNSAFE
|
|
190
|
+
*/
|
|
191
|
+
export interface ExperimentArtifactTable {
|
|
192
|
+
name: ExperimentArtifactName;
|
|
193
|
+
}
|
|
194
|
+
/**
|
|
195
|
+
* Experiment created from an authoring repository.
|
|
196
|
+
*
|
|
197
|
+
* Log Safety: SAFE
|
|
198
|
+
*/
|
|
199
|
+
export interface ExperimentAuthoringSource {
|
|
200
|
+
stemmaRid: string;
|
|
201
|
+
}
|
|
202
|
+
/**
|
|
203
|
+
* Log Safety: UNSAFE
|
|
204
|
+
*/
|
|
205
|
+
export type ExperimentBranch = LooselyBrandedString<"ExperimentBranch">;
|
|
206
|
+
/**
|
|
207
|
+
* Experiment created from a code workspace.
|
|
208
|
+
*
|
|
209
|
+
* Log Safety: SAFE
|
|
210
|
+
*/
|
|
211
|
+
export interface ExperimentCodeWorkspaceSource {
|
|
212
|
+
containerRid: string;
|
|
213
|
+
deploymentRid?: string;
|
|
214
|
+
}
|
|
215
|
+
/**
|
|
216
|
+
* Log Safety: UNSAFE
|
|
217
|
+
*/
|
|
218
|
+
export type ExperimentName = LooselyBrandedString<"ExperimentName">;
|
|
219
|
+
/**
|
|
220
|
+
* The Resource Identifier (RID) of an Experiment.
|
|
221
|
+
*
|
|
222
|
+
* Log Safety: SAFE
|
|
223
|
+
*/
|
|
224
|
+
export type ExperimentRid = LooselyBrandedString<"ExperimentRid">;
|
|
225
|
+
/**
|
|
226
|
+
* Experiment created from the SDK.
|
|
227
|
+
*
|
|
228
|
+
* Log Safety: SAFE
|
|
229
|
+
*/
|
|
230
|
+
export interface ExperimentSdkSource {
|
|
231
|
+
}
|
|
232
|
+
/**
|
|
233
|
+
* Log Safety: UNSAFE
|
|
234
|
+
*/
|
|
235
|
+
export interface ExperimentSeries {
|
|
236
|
+
name: SeriesName;
|
|
237
|
+
}
|
|
238
|
+
/**
|
|
239
|
+
* The source from which the experiment was created.
|
|
240
|
+
*
|
|
241
|
+
* Log Safety: SAFE
|
|
242
|
+
*/
|
|
243
|
+
export type ExperimentSource = ({
|
|
244
|
+
type: "codeWorkspace";
|
|
245
|
+
} & ExperimentCodeWorkspaceSource) | ({
|
|
246
|
+
type: "authoring";
|
|
247
|
+
} & ExperimentAuthoringSource) | ({
|
|
248
|
+
type: "sdk";
|
|
249
|
+
} & ExperimentSdkSource);
|
|
250
|
+
/**
|
|
251
|
+
* The current status of an experiment.
|
|
252
|
+
*
|
|
253
|
+
* Log Safety: SAFE
|
|
254
|
+
*/
|
|
255
|
+
export type ExperimentStatus = "RUNNING" | "SUCCEEDED" | "FAILED";
|
|
256
|
+
/**
|
|
257
|
+
* A tag associated with an experiment.
|
|
258
|
+
*
|
|
259
|
+
* Log Safety: UNSAFE
|
|
260
|
+
*/
|
|
261
|
+
export type ExperimentTagText = LooselyBrandedString<"ExperimentTagText">;
|
|
83
262
|
/**
|
|
84
263
|
* Log Safety: SAFE
|
|
85
264
|
*/
|
|
86
265
|
export interface FloatType {
|
|
87
266
|
}
|
|
267
|
+
/**
|
|
268
|
+
* Array elements have inconsistent dimensions.
|
|
269
|
+
*
|
|
270
|
+
* Log Safety: UNSAFE
|
|
271
|
+
*/
|
|
272
|
+
export interface InconsistentArrayDimensionsError {
|
|
273
|
+
firstElementShape: Array<number>;
|
|
274
|
+
conflictingElementShape: Array<number>;
|
|
275
|
+
}
|
|
276
|
+
/**
|
|
277
|
+
* The specific type and details of an input validation error for inference requests.
|
|
278
|
+
Each variant carries parameters relevant to that specific error category.
|
|
279
|
+
*
|
|
280
|
+
* Log Safety: UNSAFE
|
|
281
|
+
*/
|
|
282
|
+
export type InferenceInputErrorType = ({
|
|
283
|
+
type: "invalidArrayShape";
|
|
284
|
+
} & InvalidArrayShapeError) | ({
|
|
285
|
+
type: "typeMismatch";
|
|
286
|
+
} & TypeMismatchError) | ({
|
|
287
|
+
type: "unsupportedType";
|
|
288
|
+
} & UnsupportedTypeError) | ({
|
|
289
|
+
type: "unknownInputName";
|
|
290
|
+
} & UnknownInputNameError) | ({
|
|
291
|
+
type: "invalidTabularFormat";
|
|
292
|
+
} & InvalidTabularFormatError) | ({
|
|
293
|
+
type: "inconsistentArrayDimensions";
|
|
294
|
+
} & InconsistentArrayDimensionsError) | ({
|
|
295
|
+
type: "requiredValueMissing";
|
|
296
|
+
} & RequiredValueMissingError) | ({
|
|
297
|
+
type: "invalidMapFormat";
|
|
298
|
+
} & InvalidMapFormatError);
|
|
88
299
|
/**
|
|
89
300
|
* A string alias used to identify inputs in a Model Studio configuration.
|
|
90
301
|
*
|
|
91
302
|
* Log Safety: UNSAFE
|
|
92
303
|
*/
|
|
93
304
|
export type InputAlias = LooselyBrandedString<"InputAlias">;
|
|
305
|
+
/**
|
|
306
|
+
* An integer parameter value.
|
|
307
|
+
*
|
|
308
|
+
* Log Safety: UNSAFE
|
|
309
|
+
*/
|
|
310
|
+
export interface IntegerParameter {
|
|
311
|
+
value: string;
|
|
312
|
+
}
|
|
94
313
|
/**
|
|
95
314
|
* Log Safety: SAFE
|
|
96
315
|
*/
|
|
97
316
|
export interface IntegerType {
|
|
98
317
|
}
|
|
318
|
+
/**
|
|
319
|
+
* Array dimensions do not match expected ndarray shape.
|
|
320
|
+
*
|
|
321
|
+
* Log Safety: UNSAFE
|
|
322
|
+
*/
|
|
323
|
+
export interface InvalidArrayShapeError {
|
|
324
|
+
expectedShape: Array<number>;
|
|
325
|
+
actualShape?: Array<number>;
|
|
326
|
+
}
|
|
327
|
+
/**
|
|
328
|
+
* Map input has incorrect structure or null keys.
|
|
329
|
+
*
|
|
330
|
+
* Log Safety: SAFE
|
|
331
|
+
*/
|
|
332
|
+
export interface InvalidMapFormatError {
|
|
333
|
+
}
|
|
334
|
+
/**
|
|
335
|
+
* Tabular input has incorrect JSON structure.
|
|
336
|
+
*
|
|
337
|
+
* Log Safety: UNSAFE
|
|
338
|
+
*/
|
|
339
|
+
export interface InvalidTabularFormatError {
|
|
340
|
+
inputFieldName: string;
|
|
341
|
+
}
|
|
99
342
|
/**
|
|
100
343
|
* Log Safety: UNSAFE
|
|
101
344
|
*/
|
|
@@ -124,6 +367,18 @@ export interface ListModelVersionsResponse {
|
|
|
124
367
|
data: Array<ModelVersion>;
|
|
125
368
|
nextPageToken?: _Core.PageToken;
|
|
126
369
|
}
|
|
370
|
+
/**
|
|
371
|
+
* Log Safety: SAFE
|
|
372
|
+
*/
|
|
373
|
+
export interface LiveDeployment {
|
|
374
|
+
rid: LiveDeploymentRid;
|
|
375
|
+
}
|
|
376
|
+
/**
|
|
377
|
+
* The Resource Identifier (RID) of a Live Deployment.
|
|
378
|
+
*
|
|
379
|
+
* Log Safety: SAFE
|
|
380
|
+
*/
|
|
381
|
+
export type LiveDeploymentRid = LooselyBrandedString<"LiveDeploymentRid">;
|
|
127
382
|
/**
|
|
128
383
|
* Log Safety: SAFE
|
|
129
384
|
*/
|
|
@@ -421,6 +676,45 @@ export type ModelVersionRid = LooselyBrandedString<"ModelVersionRid">;
|
|
|
421
676
|
* Log Safety: UNSAFE
|
|
422
677
|
*/
|
|
423
678
|
export type OutputAlias = LooselyBrandedString<"OutputAlias">;
|
|
679
|
+
/**
|
|
680
|
+
* A parameter with its name and value.
|
|
681
|
+
*
|
|
682
|
+
* Log Safety: UNSAFE
|
|
683
|
+
*/
|
|
684
|
+
export interface Parameter {
|
|
685
|
+
name: ParameterName;
|
|
686
|
+
value: ParameterValue;
|
|
687
|
+
}
|
|
688
|
+
/**
|
|
689
|
+
* The name of an experiment parameter.
|
|
690
|
+
*
|
|
691
|
+
* Log Safety: UNSAFE
|
|
692
|
+
*/
|
|
693
|
+
export type ParameterName = LooselyBrandedString<"ParameterName">;
|
|
694
|
+
/**
|
|
695
|
+
* A parameter value logged for an experiment.
|
|
696
|
+
*
|
|
697
|
+
* Log Safety: UNSAFE
|
|
698
|
+
*/
|
|
699
|
+
export type ParameterValue = ({
|
|
700
|
+
type: "datetime";
|
|
701
|
+
} & DatetimeParameter) | ({
|
|
702
|
+
type: "boolean";
|
|
703
|
+
} & BooleanParameter) | ({
|
|
704
|
+
type: "string";
|
|
705
|
+
} & StringParameter) | ({
|
|
706
|
+
type: "double";
|
|
707
|
+
} & DoubleParameter) | ({
|
|
708
|
+
type: "integer";
|
|
709
|
+
} & IntegerParameter);
|
|
710
|
+
/**
|
|
711
|
+
* Required input field is null or missing.
|
|
712
|
+
*
|
|
713
|
+
* Log Safety: UNSAFE
|
|
714
|
+
*/
|
|
715
|
+
export interface RequiredValueMissingError {
|
|
716
|
+
fieldName: string;
|
|
717
|
+
}
|
|
424
718
|
/**
|
|
425
719
|
* Compute resource configuration for training runs.
|
|
426
720
|
*
|
|
@@ -436,11 +730,264 @@ export interface ResourceConfiguration {
|
|
|
436
730
|
* Log Safety: SAFE
|
|
437
731
|
*/
|
|
438
732
|
export type RunId = LooselyBrandedString<"RunId">;
|
|
733
|
+
/**
|
|
734
|
+
* Returns experiments where every filter is satisfied.
|
|
735
|
+
*
|
|
736
|
+
* Log Safety: UNSAFE
|
|
737
|
+
*/
|
|
738
|
+
export interface SearchExperimentsAndFilter {
|
|
739
|
+
filters: Array<SearchExperimentsFilter>;
|
|
740
|
+
}
|
|
741
|
+
/**
|
|
742
|
+
* Filter for substring containment matches.
|
|
743
|
+
*
|
|
744
|
+
* Log Safety: UNSAFE
|
|
745
|
+
*/
|
|
746
|
+
export interface SearchExperimentsContainsFilter {
|
|
747
|
+
field: SearchExperimentsContainsFilterField;
|
|
748
|
+
value: any;
|
|
749
|
+
}
|
|
750
|
+
/**
|
|
751
|
+
* Fields that support substring containment filtering.
|
|
752
|
+
*
|
|
753
|
+
* Log Safety: SAFE
|
|
754
|
+
*/
|
|
755
|
+
export type SearchExperimentsContainsFilterField = "EXPERIMENT_NAME" | "PARAMETER_NAME" | "SERIES_NAME";
|
|
756
|
+
/**
|
|
757
|
+
* Filter for exact field value matches.
|
|
758
|
+
*
|
|
759
|
+
* Log Safety: UNSAFE
|
|
760
|
+
*/
|
|
761
|
+
export interface SearchExperimentsEqualsFilter {
|
|
762
|
+
field: SearchExperimentsEqualsFilterField;
|
|
763
|
+
value: any;
|
|
764
|
+
}
|
|
765
|
+
/**
|
|
766
|
+
* Fields that support equality filtering.
|
|
767
|
+
*
|
|
768
|
+
* Log Safety: SAFE
|
|
769
|
+
*/
|
|
770
|
+
export type SearchExperimentsEqualsFilterField = "STATUS" | "BRANCH" | "EXPERIMENT_NAME" | "EXPERIMENT_RID" | "JOB_RID" | "TAG" | "PARAMETER_NAME" | "SERIES_NAME";
|
|
771
|
+
/**
|
|
772
|
+
* Filter for searching experiments using operator-based composition.
|
|
773
|
+
Supports equality, text matching, boolean combination operators, and compound filters
|
|
774
|
+
that atomically bind a name to a value comparison.
|
|
775
|
+
Example filters:
|
|
776
|
+
|
|
777
|
+
Simple status: {"eq": {"field": "STATUS", "value": "RUNNING"}}
|
|
778
|
+
Branch match: {"eq": {"field": "BRANCH", "value": "master"}}
|
|
779
|
+
Parameter filter: {"parameterFilter": {"parameterName": "learning_rate", "operator": "GT", "value": 0.01}}
|
|
780
|
+
Combined: {"and": {"filters": [
|
|
781
|
+
{"eq": {"field": "STATUS", "value": "SUCCEEDED"}},
|
|
782
|
+
{"parameterFilter": {"parameterName": "learning_rate", "operator": "GT", "value": 0.5}}
|
|
783
|
+
]}}
|
|
784
|
+
*
|
|
785
|
+
* Log Safety: UNSAFE
|
|
786
|
+
*/
|
|
787
|
+
export type SearchExperimentsFilter = ({
|
|
788
|
+
type: "seriesFilter";
|
|
789
|
+
} & SearchExperimentsSeriesFilter) | ({
|
|
790
|
+
type: "contains";
|
|
791
|
+
} & SearchExperimentsContainsFilter) | ({
|
|
792
|
+
type: "not";
|
|
793
|
+
} & SearchExperimentsNotFilter) | ({
|
|
794
|
+
type: "or";
|
|
795
|
+
} & SearchExperimentsOrFilter) | ({
|
|
796
|
+
type: "and";
|
|
797
|
+
} & SearchExperimentsAndFilter) | ({
|
|
798
|
+
type: "parameterFilter";
|
|
799
|
+
} & SearchExperimentsParameterFilter) | ({
|
|
800
|
+
type: "summaryMetricFilter";
|
|
801
|
+
} & SearchExperimentsSummaryMetricFilter) | ({
|
|
802
|
+
type: "eq";
|
|
803
|
+
} & SearchExperimentsEqualsFilter) | ({
|
|
804
|
+
type: "startsWith";
|
|
805
|
+
} & SearchExperimentsStartsWithFilter);
|
|
806
|
+
/**
|
|
807
|
+
* Comparison operator for compound filter predicates.
|
|
808
|
+
*
|
|
809
|
+
* Log Safety: SAFE
|
|
810
|
+
*/
|
|
811
|
+
export type SearchExperimentsFilterOperator = "EQ" | "GT" | "LT" | "CONTAINS";
|
|
812
|
+
/**
|
|
813
|
+
* Returns experiments where the filter is not satisfied.
|
|
814
|
+
*
|
|
815
|
+
* Log Safety: UNSAFE
|
|
816
|
+
*/
|
|
817
|
+
export interface SearchExperimentsNotFilter {
|
|
818
|
+
value: SearchExperimentsFilter;
|
|
819
|
+
}
|
|
820
|
+
/**
|
|
821
|
+
* Ordering configuration for experiment search results.
|
|
822
|
+
*
|
|
823
|
+
* Log Safety: SAFE
|
|
824
|
+
*/
|
|
825
|
+
export interface SearchExperimentsOrderBy {
|
|
826
|
+
field: SearchExperimentsOrderByField;
|
|
827
|
+
direction: _Core.OrderByDirection;
|
|
828
|
+
}
|
|
829
|
+
/**
|
|
830
|
+
* Fields to order experiment search results by.
|
|
831
|
+
*
|
|
832
|
+
* Log Safety: SAFE
|
|
833
|
+
*/
|
|
834
|
+
export type SearchExperimentsOrderByField = "EXPERIMENT_NAME" | "CREATED_AT";
|
|
835
|
+
/**
|
|
836
|
+
* Returns experiments where at least one filter is satisfied.
|
|
837
|
+
*
|
|
838
|
+
* Log Safety: UNSAFE
|
|
839
|
+
*/
|
|
840
|
+
export interface SearchExperimentsOrFilter {
|
|
841
|
+
filters: Array<SearchExperimentsFilter>;
|
|
842
|
+
}
|
|
843
|
+
/**
|
|
844
|
+
* Filter that atomically binds a parameter name to a value comparison,
|
|
845
|
+
ensuring both conditions are evaluated on the same parameter.
|
|
846
|
+
Supported combinations:
|
|
847
|
+
|
|
848
|
+
EQ: boolean, double, integer, datetime, or string value
|
|
849
|
+
GT/LT: double, integer, or datetime value
|
|
850
|
+
CONTAINS: string value (matches the parameter's string value)
|
|
851
|
+
*
|
|
852
|
+
* Log Safety: UNSAFE
|
|
853
|
+
*/
|
|
854
|
+
export interface SearchExperimentsParameterFilter {
|
|
855
|
+
parameterName: ParameterName;
|
|
856
|
+
operator: SearchExperimentsFilterOperator;
|
|
857
|
+
value: any;
|
|
858
|
+
}
|
|
859
|
+
/**
|
|
860
|
+
* Log Safety: UNSAFE
|
|
861
|
+
*/
|
|
862
|
+
export interface SearchExperimentsRequest {
|
|
863
|
+
where?: SearchExperimentsFilter;
|
|
864
|
+
orderBy?: SearchExperimentsOrderBy;
|
|
865
|
+
pageSize?: _Core.PageSize;
|
|
866
|
+
pageToken?: _Core.PageToken;
|
|
867
|
+
}
|
|
868
|
+
/**
|
|
869
|
+
* Response from searching experiments.
|
|
870
|
+
*
|
|
871
|
+
* Log Safety: UNSAFE
|
|
872
|
+
*/
|
|
873
|
+
export interface SearchExperimentsResponse {
|
|
874
|
+
data: Array<Experiment>;
|
|
875
|
+
nextPageToken?: _Core.PageToken;
|
|
876
|
+
}
|
|
877
|
+
/**
|
|
878
|
+
* Filter that atomically binds a series name to a metric comparison,
|
|
879
|
+
ensuring all conditions are evaluated on the same series.
|
|
880
|
+
*
|
|
881
|
+
* Log Safety: UNSAFE
|
|
882
|
+
*/
|
|
883
|
+
export interface SearchExperimentsSeriesFilter {
|
|
884
|
+
seriesName: SeriesName;
|
|
885
|
+
field: SearchExperimentsSeriesFilterField;
|
|
886
|
+
operator: SearchExperimentsFilterOperator;
|
|
887
|
+
value: any;
|
|
888
|
+
}
|
|
889
|
+
/**
|
|
890
|
+
* The series metric to filter on.
|
|
891
|
+
*
|
|
892
|
+
* Log Safety: SAFE
|
|
893
|
+
*/
|
|
894
|
+
export type SearchExperimentsSeriesFilterField = "LENGTH" | "AGGREGATION_MIN" | "AGGREGATION_MAX" | "AGGREGATION_LAST";
|
|
895
|
+
/**
|
|
896
|
+
* Filter for prefix matches.
|
|
897
|
+
*
|
|
898
|
+
* Log Safety: UNSAFE
|
|
899
|
+
*/
|
|
900
|
+
export interface SearchExperimentsStartsWithFilter {
|
|
901
|
+
field: SearchExperimentsStartsWithFilterField;
|
|
902
|
+
value: any;
|
|
903
|
+
}
|
|
904
|
+
/**
|
|
905
|
+
* Fields that support prefix filtering.
|
|
906
|
+
*
|
|
907
|
+
* Log Safety: SAFE
|
|
908
|
+
*/
|
|
909
|
+
export type SearchExperimentsStartsWithFilterField = "EXPERIMENT_NAME" | "PARAMETER_NAME" | "SERIES_NAME";
|
|
910
|
+
/**
|
|
911
|
+
* Filter that atomically binds a series name and aggregation type to a value comparison,
|
|
912
|
+
ensuring all conditions are evaluated on the same summary metric.
|
|
913
|
+
*
|
|
914
|
+
* Log Safety: UNSAFE
|
|
915
|
+
*/
|
|
916
|
+
export interface SearchExperimentsSummaryMetricFilter {
|
|
917
|
+
seriesName: SeriesName;
|
|
918
|
+
aggregation: SummaryMetricAggregation;
|
|
919
|
+
operator: SearchExperimentsFilterOperator;
|
|
920
|
+
value: any;
|
|
921
|
+
}
|
|
922
|
+
/**
|
|
923
|
+
* A series of values logged over time.
|
|
924
|
+
*
|
|
925
|
+
* Log Safety: UNSAFE
|
|
926
|
+
*/
|
|
927
|
+
export type Series = {
|
|
928
|
+
type: "doubleV1";
|
|
929
|
+
} & DoubleSeriesV1;
|
|
930
|
+
/**
|
|
931
|
+
* Series with precomputed aggregation values.
|
|
932
|
+
*
|
|
933
|
+
* Log Safety: UNSAFE
|
|
934
|
+
*/
|
|
935
|
+
export interface SeriesAggregations {
|
|
936
|
+
name: SeriesName;
|
|
937
|
+
length: string;
|
|
938
|
+
value: SeriesAggregationsValue;
|
|
939
|
+
}
|
|
940
|
+
/**
|
|
941
|
+
* Union of aggregation values by series type.
|
|
942
|
+
*
|
|
943
|
+
* Log Safety: UNSAFE
|
|
944
|
+
*/
|
|
945
|
+
export type SeriesAggregationsValue = {
|
|
946
|
+
type: "double";
|
|
947
|
+
} & DoubleSeriesAggregations;
|
|
948
|
+
/**
|
|
949
|
+
* The name of a series (metrics tracked over time).
|
|
950
|
+
*
|
|
951
|
+
* Log Safety: UNSAFE
|
|
952
|
+
*/
|
|
953
|
+
export type SeriesName = LooselyBrandedString<"SeriesName">;
|
|
954
|
+
/**
|
|
955
|
+
* A string parameter value.
|
|
956
|
+
*
|
|
957
|
+
* Log Safety: UNSAFE
|
|
958
|
+
*/
|
|
959
|
+
export interface StringParameter {
|
|
960
|
+
value: string;
|
|
961
|
+
}
|
|
439
962
|
/**
|
|
440
963
|
* Log Safety: SAFE
|
|
441
964
|
*/
|
|
442
965
|
export interface StringType {
|
|
443
966
|
}
|
|
967
|
+
/**
|
|
968
|
+
* A summary metric with series name, aggregation type, and computed value.
|
|
969
|
+
*
|
|
970
|
+
* Log Safety: UNSAFE
|
|
971
|
+
*/
|
|
972
|
+
export interface SummaryMetric {
|
|
973
|
+
seriesName: SeriesName;
|
|
974
|
+
aggregation: SummaryMetricAggregation;
|
|
975
|
+
value: number;
|
|
976
|
+
}
|
|
977
|
+
/**
|
|
978
|
+
* The type of aggregation computed for a summary metric.
|
|
979
|
+
*
|
|
980
|
+
* Log Safety: SAFE
|
|
981
|
+
*/
|
|
982
|
+
export type SummaryMetricAggregation = "MIN" | "MAX" | "LAST";
|
|
983
|
+
/**
|
|
984
|
+
* Details about a table artifact.
|
|
985
|
+
*
|
|
986
|
+
* Log Safety: SAFE
|
|
987
|
+
*/
|
|
988
|
+
export interface TableArtifactDetails {
|
|
989
|
+
rowCount: string;
|
|
990
|
+
}
|
|
444
991
|
/**
|
|
445
992
|
* Log Safety: SAFE
|
|
446
993
|
*/
|
|
@@ -503,6 +1050,37 @@ export interface TrainerVersionLocator {
|
|
|
503
1050
|
trainerId: TrainerId;
|
|
504
1051
|
version: string;
|
|
505
1052
|
}
|
|
1053
|
+
/**
|
|
1054
|
+
* Log Safety: UNSAFE
|
|
1055
|
+
*/
|
|
1056
|
+
export interface TransformJsonLiveDeploymentRequest {
|
|
1057
|
+
input: Record<string, any>;
|
|
1058
|
+
}
|
|
1059
|
+
/**
|
|
1060
|
+
* The response from transforming input data using a live deployment.
|
|
1061
|
+
*
|
|
1062
|
+
* Log Safety: UNSAFE
|
|
1063
|
+
*/
|
|
1064
|
+
export interface TransformLiveDeploymentResponse {
|
|
1065
|
+
output: Record<string, any>;
|
|
1066
|
+
}
|
|
1067
|
+
/**
|
|
1068
|
+
* Input type does not match expected type in model API.
|
|
1069
|
+
*
|
|
1070
|
+
* Log Safety: SAFE
|
|
1071
|
+
*/
|
|
1072
|
+
export interface TypeMismatchError {
|
|
1073
|
+
expectedType: string;
|
|
1074
|
+
actualType: string;
|
|
1075
|
+
}
|
|
1076
|
+
/**
|
|
1077
|
+
* Provided input name not found in model API specification.
|
|
1078
|
+
*
|
|
1079
|
+
* Log Safety: UNSAFE
|
|
1080
|
+
*/
|
|
1081
|
+
export interface UnknownInputNameError {
|
|
1082
|
+
inputName: string;
|
|
1083
|
+
}
|
|
506
1084
|
/**
|
|
507
1085
|
* Log Safety: UNSAFE
|
|
508
1086
|
*/
|
|
@@ -510,6 +1088,14 @@ export interface UnsupportedType {
|
|
|
510
1088
|
unsupportedType: string;
|
|
511
1089
|
params: Record<_Core.UnsupportedTypeParamKey, _Core.UnsupportedTypeParamValue>;
|
|
512
1090
|
}
|
|
1091
|
+
/**
|
|
1092
|
+
* Input contains an unsupported data type.
|
|
1093
|
+
*
|
|
1094
|
+
* Log Safety: SAFE
|
|
1095
|
+
*/
|
|
1096
|
+
export interface UnsupportedTypeError {
|
|
1097
|
+
unsupportedType: string;
|
|
1098
|
+
}
|
|
513
1099
|
/**
|
|
514
1100
|
* Log Safety: UNSAFE
|
|
515
1101
|
*/
|