@mlhub/models-ts-sdk 0.4.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @mlhub/models-ts-sdk@0.4.0
1
+ ## @mlhub/models-ts-sdk@0.5.0
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @mlhub/models-ts-sdk@0.4.0 --save
39
+ npm install @mlhub/models-ts-sdk@0.5.0 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -100,12 +100,6 @@ export interface CreateModelMetadataBody {
100
100
  * @memberof CreateModelMetadataBody
101
101
  */
102
102
  inference_software_dependencies?: Array<string> | null;
103
- /**
104
- * Arbitrary labels
105
- * @type {Array<string>}
106
- * @memberof CreateModelMetadataBody
107
- */
108
- keywords?: Array<string> | null;
109
103
  /**
110
104
  *
111
105
  * @type {Array<string>}
@@ -191,6 +185,12 @@ export interface CreateModelMetadataBody {
191
185
  * @memberof CreateModelMetadataBody
192
186
  */
193
187
  supports_quantization?: boolean | null;
188
+ /**
189
+ * Arbitrary labels
190
+ * @type {Array<string>}
191
+ * @memberof CreateModelMetadataBody
192
+ */
193
+ tags?: Array<string> | null;
194
194
  /**
195
195
  * Inference Fields
196
196
  * @type {Array<Task>}
@@ -40,7 +40,6 @@ function CreateModelMetadataBodyFromJSONTyped(json, ignoreDiscriminator) {
40
40
  'inference_min_throughput': !(0, runtime_1.exists)(json, 'inference_min_throughput') ? undefined : json['inference_min_throughput'],
41
41
  'inference_precision': !(0, runtime_1.exists)(json, 'inference_precision') ? undefined : json['inference_precision'],
42
42
  'inference_software_dependencies': !(0, runtime_1.exists)(json, 'inference_software_dependencies') ? undefined : json['inference_software_dependencies'],
43
- 'keywords': !(0, runtime_1.exists)(json, 'keywords') ? undefined : json['keywords'],
44
43
  'libraries': !(0, runtime_1.exists)(json, 'libraries') ? undefined : json['libraries'],
45
44
  'license': !(0, runtime_1.exists)(json, 'license') ? undefined : json['license'],
46
45
  'model_inputs': !(0, runtime_1.exists)(json, 'model_inputs') ? undefined : (json['model_inputs'] === null ? null : json['model_inputs'].map(_1.ModelIOFromJSON)),
@@ -55,6 +54,7 @@ function CreateModelMetadataBodyFromJSONTyped(json, ignoreDiscriminator) {
55
54
  'regulatory': !(0, runtime_1.exists)(json, 'regulatory') ? undefined : json['regulatory'],
56
55
  'slimmed': !(0, runtime_1.exists)(json, 'slimmed') ? undefined : json['slimmed'],
57
56
  'supports_quantization': !(0, runtime_1.exists)(json, 'supports_quantization') ? undefined : json['supports_quantization'],
57
+ 'tags': !(0, runtime_1.exists)(json, 'tags') ? undefined : json['tags'],
58
58
  'task_types': !(0, runtime_1.exists)(json, 'task_types') ? undefined : (json['task_types'] === null ? null : json['task_types'].map(_1.TaskFromJSON)),
59
59
  'training_distributed': !(0, runtime_1.exists)(json, 'training_distributed') ? undefined : json['training_distributed'],
60
60
  'training_hardware': !(0, runtime_1.exists)(json, 'training_hardware') ? undefined : (0, _1.HardwareRequirementsFromJSON)(json['training_hardware']),
@@ -85,7 +85,6 @@ function CreateModelMetadataBodyToJSON(value) {
85
85
  'inference_min_throughput': value.inference_min_throughput,
86
86
  'inference_precision': value.inference_precision,
87
87
  'inference_software_dependencies': value.inference_software_dependencies,
88
- 'keywords': value.keywords,
89
88
  'libraries': value.libraries,
90
89
  'license': value.license,
91
90
  'model_inputs': value.model_inputs === undefined ? undefined : (value.model_inputs === null ? null : value.model_inputs.map(_1.ModelIOToJSON)),
@@ -100,6 +99,7 @@ function CreateModelMetadataBodyToJSON(value) {
100
99
  'regulatory': value.regulatory,
101
100
  'slimmed': value.slimmed,
102
101
  'supports_quantization': value.supports_quantization,
102
+ 'tags': value.tags,
103
103
  'task_types': value.task_types === undefined ? undefined : (value.task_types === null ? null : value.task_types.map(_1.TaskToJSON)),
104
104
  'training_distributed': value.training_distributed,
105
105
  'training_hardware': (0, _1.HardwareRequirementsToJSON)(value.training_hardware),
@@ -106,12 +106,6 @@ export interface DiscoveryCriterion {
106
106
  * @memberof DiscoveryCriterion
107
107
  */
108
108
  inference_software_dependencies?: Array<string> | null;
109
- /**
110
- * Arbitrary labels
111
- * @type {Array<string>}
112
- * @memberof DiscoveryCriterion
113
- */
114
- keywords?: Array<string> | null;
115
109
  /**
116
110
  *
117
111
  * @type {Array<string>}
@@ -197,6 +191,12 @@ export interface DiscoveryCriterion {
197
191
  * @memberof DiscoveryCriterion
198
192
  */
199
193
  supports_quantization?: boolean | null;
194
+ /**
195
+ * Arbitrary labels
196
+ * @type {Array<string>}
197
+ * @memberof DiscoveryCriterion
198
+ */
199
+ tags?: Array<string> | null;
200
200
  /**
201
201
  * Inference Fields
202
202
  * @type {Array<Task>}
@@ -41,7 +41,6 @@ function DiscoveryCriterionFromJSONTyped(json, ignoreDiscriminator) {
41
41
  'inference_min_throughput': !(0, runtime_1.exists)(json, 'inference_min_throughput') ? undefined : json['inference_min_throughput'],
42
42
  'inference_precision': !(0, runtime_1.exists)(json, 'inference_precision') ? undefined : json['inference_precision'],
43
43
  'inference_software_dependencies': !(0, runtime_1.exists)(json, 'inference_software_dependencies') ? undefined : json['inference_software_dependencies'],
44
- 'keywords': !(0, runtime_1.exists)(json, 'keywords') ? undefined : json['keywords'],
45
44
  'libraries': !(0, runtime_1.exists)(json, 'libraries') ? undefined : json['libraries'],
46
45
  'license': !(0, runtime_1.exists)(json, 'license') ? undefined : json['license'],
47
46
  'model_inputs': !(0, runtime_1.exists)(json, 'model_inputs') ? undefined : (json['model_inputs'] === null ? null : json['model_inputs'].map(_1.ModelIOFromJSON)),
@@ -56,6 +55,7 @@ function DiscoveryCriterionFromJSONTyped(json, ignoreDiscriminator) {
56
55
  'regulatory': !(0, runtime_1.exists)(json, 'regulatory') ? undefined : json['regulatory'],
57
56
  'slimmed': !(0, runtime_1.exists)(json, 'slimmed') ? undefined : json['slimmed'],
58
57
  'supports_quantization': !(0, runtime_1.exists)(json, 'supports_quantization') ? undefined : json['supports_quantization'],
58
+ 'tags': !(0, runtime_1.exists)(json, 'tags') ? undefined : json['tags'],
59
59
  'task_types': !(0, runtime_1.exists)(json, 'task_types') ? undefined : (json['task_types'] === null ? null : json['task_types'].map(_1.TaskFromJSON)),
60
60
  'training_distributed': !(0, runtime_1.exists)(json, 'training_distributed') ? undefined : json['training_distributed'],
61
61
  'training_hardware': !(0, runtime_1.exists)(json, 'training_hardware') ? undefined : (0, _1.HardwareRequirementsFromJSON)(json['training_hardware']),
@@ -88,7 +88,6 @@ function DiscoveryCriterionToJSON(value) {
88
88
  'inference_min_throughput': value.inference_min_throughput,
89
89
  'inference_precision': value.inference_precision,
90
90
  'inference_software_dependencies': value.inference_software_dependencies,
91
- 'keywords': value.keywords,
92
91
  'libraries': value.libraries,
93
92
  'license': value.license,
94
93
  'model_inputs': value.model_inputs === undefined ? undefined : (value.model_inputs === null ? null : value.model_inputs.map(_1.ModelIOToJSON)),
@@ -103,6 +102,7 @@ function DiscoveryCriterionToJSON(value) {
103
102
  'regulatory': value.regulatory,
104
103
  'slimmed': value.slimmed,
105
104
  'supports_quantization': value.supports_quantization,
105
+ 'tags': value.tags,
106
106
  'task_types': value.task_types === undefined ? undefined : (value.task_types === null ? null : value.task_types.map(_1.TaskToJSON)),
107
107
  'training_distributed': value.training_distributed,
108
108
  'training_hardware': (0, _1.HardwareRequirementsToJSON)(value.training_hardware),
@@ -112,12 +112,6 @@ export interface ModelMetadata {
112
112
  * @memberof ModelMetadata
113
113
  */
114
114
  inference_software_dependencies?: Array<string> | null;
115
- /**
116
- * Arbitrary labels
117
- * @type {Array<string>}
118
- * @memberof ModelMetadata
119
- */
120
- keywords?: Array<string> | null;
121
115
  /**
122
116
  *
123
117
  * @type {Array<string>}
@@ -203,6 +197,12 @@ export interface ModelMetadata {
203
197
  * @memberof ModelMetadata
204
198
  */
205
199
  supports_quantization?: boolean | null;
200
+ /**
201
+ * Arbitrary labels
202
+ * @type {Array<string>}
203
+ * @memberof ModelMetadata
204
+ */
205
+ tags?: Array<string> | null;
206
206
  /**
207
207
  * Inference Fields
208
208
  * @type {Array<Task>}
@@ -42,7 +42,6 @@ function ModelMetadataFromJSONTyped(json, ignoreDiscriminator) {
42
42
  'inference_min_throughput': !(0, runtime_1.exists)(json, 'inference_min_throughput') ? undefined : json['inference_min_throughput'],
43
43
  'inference_precision': !(0, runtime_1.exists)(json, 'inference_precision') ? undefined : json['inference_precision'],
44
44
  'inference_software_dependencies': !(0, runtime_1.exists)(json, 'inference_software_dependencies') ? undefined : json['inference_software_dependencies'],
45
- 'keywords': !(0, runtime_1.exists)(json, 'keywords') ? undefined : json['keywords'],
46
45
  'libraries': !(0, runtime_1.exists)(json, 'libraries') ? undefined : json['libraries'],
47
46
  'license': !(0, runtime_1.exists)(json, 'license') ? undefined : json['license'],
48
47
  'model_inputs': !(0, runtime_1.exists)(json, 'model_inputs') ? undefined : (json['model_inputs'] === null ? null : json['model_inputs'].map(_1.ModelIOFromJSON)),
@@ -57,6 +56,7 @@ function ModelMetadataFromJSONTyped(json, ignoreDiscriminator) {
57
56
  'regulatory': !(0, runtime_1.exists)(json, 'regulatory') ? undefined : json['regulatory'],
58
57
  'slimmed': !(0, runtime_1.exists)(json, 'slimmed') ? undefined : json['slimmed'],
59
58
  'supports_quantization': !(0, runtime_1.exists)(json, 'supports_quantization') ? undefined : json['supports_quantization'],
59
+ 'tags': !(0, runtime_1.exists)(json, 'tags') ? undefined : json['tags'],
60
60
  'task_types': !(0, runtime_1.exists)(json, 'task_types') ? undefined : (json['task_types'] === null ? null : json['task_types'].map(_1.TaskFromJSON)),
61
61
  'tenant_id': json['tenant_id'],
62
62
  'training_distributed': !(0, runtime_1.exists)(json, 'training_distributed') ? undefined : json['training_distributed'],
@@ -90,7 +90,6 @@ function ModelMetadataToJSON(value) {
90
90
  'inference_min_throughput': value.inference_min_throughput,
91
91
  'inference_precision': value.inference_precision,
92
92
  'inference_software_dependencies': value.inference_software_dependencies,
93
- 'keywords': value.keywords,
94
93
  'libraries': value.libraries,
95
94
  'license': value.license,
96
95
  'model_inputs': value.model_inputs === undefined ? undefined : (value.model_inputs === null ? null : value.model_inputs.map(_1.ModelIOToJSON)),
@@ -105,6 +104,7 @@ function ModelMetadataToJSON(value) {
105
104
  'regulatory': value.regulatory,
106
105
  'slimmed': value.slimmed,
107
106
  'supports_quantization': value.supports_quantization,
107
+ 'tags': value.tags,
108
108
  'task_types': value.task_types === undefined ? undefined : (value.task_types === null ? null : value.task_types.map(_1.TaskToJSON)),
109
109
  'tenant_id': value.tenant_id,
110
110
  'training_distributed': value.training_distributed,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mlhub/models-ts-sdk",
3
- "version": "0.4.0",
3
+ "version": "0.5.0",
4
4
  "description": "OpenAPI client for @mlhub/models-ts-sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "main": "./dist/index.js",
@@ -118,12 +118,6 @@ export interface CreateModelMetadataBody {
118
118
  * @memberof CreateModelMetadataBody
119
119
  */
120
120
  inference_software_dependencies?: Array<string> | null;
121
- /**
122
- * Arbitrary labels
123
- * @type {Array<string>}
124
- * @memberof CreateModelMetadataBody
125
- */
126
- keywords?: Array<string> | null;
127
121
  /**
128
122
  *
129
123
  * @type {Array<string>}
@@ -209,6 +203,12 @@ export interface CreateModelMetadataBody {
209
203
  * @memberof CreateModelMetadataBody
210
204
  */
211
205
  supports_quantization?: boolean | null;
206
+ /**
207
+ * Arbitrary labels
208
+ * @type {Array<string>}
209
+ * @memberof CreateModelMetadataBody
210
+ */
211
+ tags?: Array<string> | null;
212
212
  /**
213
213
  * Inference Fields
214
214
  * @type {Array<Task>}
@@ -271,7 +271,6 @@ export function CreateModelMetadataBodyFromJSONTyped(json: any, ignoreDiscrimina
271
271
  'inference_min_throughput': !exists(json, 'inference_min_throughput') ? undefined : json['inference_min_throughput'],
272
272
  'inference_precision': !exists(json, 'inference_precision') ? undefined : json['inference_precision'],
273
273
  'inference_software_dependencies': !exists(json, 'inference_software_dependencies') ? undefined : json['inference_software_dependencies'],
274
- 'keywords': !exists(json, 'keywords') ? undefined : json['keywords'],
275
274
  'libraries': !exists(json, 'libraries') ? undefined : json['libraries'],
276
275
  'license': !exists(json, 'license') ? undefined : json['license'],
277
276
  'model_inputs': !exists(json, 'model_inputs') ? undefined : (json['model_inputs'] === null ? null : (json['model_inputs'] as Array<any>).map(ModelIOFromJSON)),
@@ -286,6 +285,7 @@ export function CreateModelMetadataBodyFromJSONTyped(json: any, ignoreDiscrimina
286
285
  'regulatory': !exists(json, 'regulatory') ? undefined : json['regulatory'],
287
286
  'slimmed': !exists(json, 'slimmed') ? undefined : json['slimmed'],
288
287
  'supports_quantization': !exists(json, 'supports_quantization') ? undefined : json['supports_quantization'],
288
+ 'tags': !exists(json, 'tags') ? undefined : json['tags'],
289
289
  'task_types': !exists(json, 'task_types') ? undefined : (json['task_types'] === null ? null : (json['task_types'] as Array<any>).map(TaskFromJSON)),
290
290
  'training_distributed': !exists(json, 'training_distributed') ? undefined : json['training_distributed'],
291
291
  'training_hardware': !exists(json, 'training_hardware') ? undefined : HardwareRequirementsFromJSON(json['training_hardware']),
@@ -318,7 +318,6 @@ export function CreateModelMetadataBodyToJSON(value?: CreateModelMetadataBody |
318
318
  'inference_min_throughput': value.inference_min_throughput,
319
319
  'inference_precision': value.inference_precision,
320
320
  'inference_software_dependencies': value.inference_software_dependencies,
321
- 'keywords': value.keywords,
322
321
  'libraries': value.libraries,
323
322
  'license': value.license,
324
323
  'model_inputs': value.model_inputs === undefined ? undefined : (value.model_inputs === null ? null : (value.model_inputs as Array<any>).map(ModelIOToJSON)),
@@ -333,6 +332,7 @@ export function CreateModelMetadataBodyToJSON(value?: CreateModelMetadataBody |
333
332
  'regulatory': value.regulatory,
334
333
  'slimmed': value.slimmed,
335
334
  'supports_quantization': value.supports_quantization,
335
+ 'tags': value.tags,
336
336
  'task_types': value.task_types === undefined ? undefined : (value.task_types === null ? null : (value.task_types as Array<any>).map(TaskToJSON)),
337
337
  'training_distributed': value.training_distributed,
338
338
  'training_hardware': HardwareRequirementsToJSON(value.training_hardware),
@@ -124,12 +124,6 @@ export interface DiscoveryCriterion {
124
124
  * @memberof DiscoveryCriterion
125
125
  */
126
126
  inference_software_dependencies?: Array<string> | null;
127
- /**
128
- * Arbitrary labels
129
- * @type {Array<string>}
130
- * @memberof DiscoveryCriterion
131
- */
132
- keywords?: Array<string> | null;
133
127
  /**
134
128
  *
135
129
  * @type {Array<string>}
@@ -215,6 +209,12 @@ export interface DiscoveryCriterion {
215
209
  * @memberof DiscoveryCriterion
216
210
  */
217
211
  supports_quantization?: boolean | null;
212
+ /**
213
+ * Arbitrary labels
214
+ * @type {Array<string>}
215
+ * @memberof DiscoveryCriterion
216
+ */
217
+ tags?: Array<string> | null;
218
218
  /**
219
219
  * Inference Fields
220
220
  * @type {Array<Task>}
@@ -284,7 +284,6 @@ export function DiscoveryCriterionFromJSONTyped(json: any, ignoreDiscriminator:
284
284
  'inference_min_throughput': !exists(json, 'inference_min_throughput') ? undefined : json['inference_min_throughput'],
285
285
  'inference_precision': !exists(json, 'inference_precision') ? undefined : json['inference_precision'],
286
286
  'inference_software_dependencies': !exists(json, 'inference_software_dependencies') ? undefined : json['inference_software_dependencies'],
287
- 'keywords': !exists(json, 'keywords') ? undefined : json['keywords'],
288
287
  'libraries': !exists(json, 'libraries') ? undefined : json['libraries'],
289
288
  'license': !exists(json, 'license') ? undefined : json['license'],
290
289
  'model_inputs': !exists(json, 'model_inputs') ? undefined : (json['model_inputs'] === null ? null : (json['model_inputs'] as Array<any>).map(ModelIOFromJSON)),
@@ -299,6 +298,7 @@ export function DiscoveryCriterionFromJSONTyped(json: any, ignoreDiscriminator:
299
298
  'regulatory': !exists(json, 'regulatory') ? undefined : json['regulatory'],
300
299
  'slimmed': !exists(json, 'slimmed') ? undefined : json['slimmed'],
301
300
  'supports_quantization': !exists(json, 'supports_quantization') ? undefined : json['supports_quantization'],
301
+ 'tags': !exists(json, 'tags') ? undefined : json['tags'],
302
302
  'task_types': !exists(json, 'task_types') ? undefined : (json['task_types'] === null ? null : (json['task_types'] as Array<any>).map(TaskFromJSON)),
303
303
  'training_distributed': !exists(json, 'training_distributed') ? undefined : json['training_distributed'],
304
304
  'training_hardware': !exists(json, 'training_hardware') ? undefined : HardwareRequirementsFromJSON(json['training_hardware']),
@@ -333,7 +333,6 @@ export function DiscoveryCriterionToJSON(value?: DiscoveryCriterion | null): any
333
333
  'inference_min_throughput': value.inference_min_throughput,
334
334
  'inference_precision': value.inference_precision,
335
335
  'inference_software_dependencies': value.inference_software_dependencies,
336
- 'keywords': value.keywords,
337
336
  'libraries': value.libraries,
338
337
  'license': value.license,
339
338
  'model_inputs': value.model_inputs === undefined ? undefined : (value.model_inputs === null ? null : (value.model_inputs as Array<any>).map(ModelIOToJSON)),
@@ -348,6 +347,7 @@ export function DiscoveryCriterionToJSON(value?: DiscoveryCriterion | null): any
348
347
  'regulatory': value.regulatory,
349
348
  'slimmed': value.slimmed,
350
349
  'supports_quantization': value.supports_quantization,
350
+ 'tags': value.tags,
351
351
  'task_types': value.task_types === undefined ? undefined : (value.task_types === null ? null : (value.task_types as Array<any>).map(TaskToJSON)),
352
352
  'training_distributed': value.training_distributed,
353
353
  'training_hardware': HardwareRequirementsToJSON(value.training_hardware),
@@ -134,12 +134,6 @@ export interface ModelMetadata {
134
134
  * @memberof ModelMetadata
135
135
  */
136
136
  inference_software_dependencies?: Array<string> | null;
137
- /**
138
- * Arbitrary labels
139
- * @type {Array<string>}
140
- * @memberof ModelMetadata
141
- */
142
- keywords?: Array<string> | null;
143
137
  /**
144
138
  *
145
139
  * @type {Array<string>}
@@ -225,6 +219,12 @@ export interface ModelMetadata {
225
219
  * @memberof ModelMetadata
226
220
  */
227
221
  supports_quantization?: boolean | null;
222
+ /**
223
+ * Arbitrary labels
224
+ * @type {Array<string>}
225
+ * @memberof ModelMetadata
226
+ */
227
+ tags?: Array<string> | null;
228
228
  /**
229
229
  * Inference Fields
230
230
  * @type {Array<Task>}
@@ -295,7 +295,6 @@ export function ModelMetadataFromJSONTyped(json: any, ignoreDiscriminator: boole
295
295
  'inference_min_throughput': !exists(json, 'inference_min_throughput') ? undefined : json['inference_min_throughput'],
296
296
  'inference_precision': !exists(json, 'inference_precision') ? undefined : json['inference_precision'],
297
297
  'inference_software_dependencies': !exists(json, 'inference_software_dependencies') ? undefined : json['inference_software_dependencies'],
298
- 'keywords': !exists(json, 'keywords') ? undefined : json['keywords'],
299
298
  'libraries': !exists(json, 'libraries') ? undefined : json['libraries'],
300
299
  'license': !exists(json, 'license') ? undefined : json['license'],
301
300
  'model_inputs': !exists(json, 'model_inputs') ? undefined : (json['model_inputs'] === null ? null : (json['model_inputs'] as Array<any>).map(ModelIOFromJSON)),
@@ -310,6 +309,7 @@ export function ModelMetadataFromJSONTyped(json: any, ignoreDiscriminator: boole
310
309
  'regulatory': !exists(json, 'regulatory') ? undefined : json['regulatory'],
311
310
  'slimmed': !exists(json, 'slimmed') ? undefined : json['slimmed'],
312
311
  'supports_quantization': !exists(json, 'supports_quantization') ? undefined : json['supports_quantization'],
312
+ 'tags': !exists(json, 'tags') ? undefined : json['tags'],
313
313
  'task_types': !exists(json, 'task_types') ? undefined : (json['task_types'] === null ? null : (json['task_types'] as Array<any>).map(TaskFromJSON)),
314
314
  'tenant_id': json['tenant_id'],
315
315
  'training_distributed': !exists(json, 'training_distributed') ? undefined : json['training_distributed'],
@@ -345,7 +345,6 @@ export function ModelMetadataToJSON(value?: ModelMetadata | null): any {
345
345
  'inference_min_throughput': value.inference_min_throughput,
346
346
  'inference_precision': value.inference_precision,
347
347
  'inference_software_dependencies': value.inference_software_dependencies,
348
- 'keywords': value.keywords,
349
348
  'libraries': value.libraries,
350
349
  'license': value.license,
351
350
  'model_inputs': value.model_inputs === undefined ? undefined : (value.model_inputs === null ? null : (value.model_inputs as Array<any>).map(ModelIOToJSON)),
@@ -360,6 +359,7 @@ export function ModelMetadataToJSON(value?: ModelMetadata | null): any {
360
359
  'regulatory': value.regulatory,
361
360
  'slimmed': value.slimmed,
362
361
  'supports_quantization': value.supports_quantization,
362
+ 'tags': value.tags,
363
363
  'task_types': value.task_types === undefined ? undefined : (value.task_types === null ? null : (value.task_types as Array<any>).map(TaskToJSON)),
364
364
  'tenant_id': value.tenant_id,
365
365
  'training_distributed': value.training_distributed,