Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion docs/reference.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -6409,7 +6409,11 @@ or `windows-x86_64`. For portable models (those that work independent of process
architecture or OS features), leave this field unset.
** *`tags` (Optional, string[])*: An array of tags to organize the model.
** *`prefix_strings` (Optional, { ingest, search })*: Optional prefix strings applied at inference
** *`defer_definition_decompression` (Optional, boolean)*: If set to `true` and a `compressed_definition` is provided, the request defers definition decompression and skips relevant validations.
** *`defer_definition_decompression` (Optional, boolean)*: If set to `true` and a `compressed_definition` is provided,
the request defers definition decompression and skips relevant
validations.
** *`wait_for_completion` (Optional, boolean)*: Whether to wait for all child operations (e.g. model download)
to complete.

[discrete]
==== put_trained_model_alias
Expand Down
1 change: 1 addition & 0 deletions src/api/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14087,6 +14087,7 @@ export interface MlPutTrainedModelPreprocessor {
export interface MlPutTrainedModelRequest extends RequestBase {
model_id: Id
defer_definition_decompression?: boolean
wait_for_completion?: boolean
compressed_definition?: string
definition?: MlPutTrainedModelDefinition
description?: string
Expand Down
1 change: 1 addition & 0 deletions src/api/typesWithBodyKey.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14348,6 +14348,7 @@ export interface MlPutTrainedModelPreprocessor {
export interface MlPutTrainedModelRequest extends RequestBase {
model_id: Id
defer_definition_decompression?: boolean
wait_for_completion?: boolean
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
body?: {
compressed_definition?: string
Expand Down