Skip to content

Commit 0457a5e

Browse files
committed
Add trained model definition status
1 parent ffbf26d commit 0457a5e

File tree

3 files changed

+51
-19
lines changed

3 files changed

+51
-19
lines changed

output/schema/schema.json

Lines changed: 43 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/typescript/types.ts

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/ml/_types/TrainedModel.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,8 @@ export class TrainedModelConfig {
176176
estimated_heap_memory_usage_bytes?: integer
177177
/** The estimated number of operations to use the trained model. */
178178
estimated_operations?: integer
179+
/** True if the full model definition is present. */
180+
fully_defined?: boolean
179181
/** The default configuration for inference. This can be either a regression, classification, or one of the many NLP focused configurations. It must match the underlying definition.trained_model's target_type. */
180182
inference_config: InferenceConfigCreateContainer
181183
/** The input field names for the model definition. */
@@ -311,6 +313,10 @@ export class TrainedModelAssignmentTaskParameters {
311313
* The unique identifier for the trained model.
312314
*/
313315
model_id: Id
316+
/**
317+
* The unique identifier for the trained model deployment.
318+
*/
319+
deployment_id: Id
314320
/**
315321
* The size of the trained model cache.
316322
* @since 8.4.0

0 commit comments

Comments
 (0)