76 lines
4.1 KiB
Plaintext
76 lines
4.1 KiB
Plaintext
[[reference-ml-put_trained_model_definition_part]]
|
|
|
|
////////
|
|
===========================================================================================================================
|
|
|| ||
|
|
|| ||
|
|
|| ||
|
|
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
|
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
|
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
|
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
|
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
|
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
|
|| ||
|
|
|| ||
|
|
|| This file is autogenerated, DO NOT send pull requests that changes this file directly. ||
|
|
|| You should update the script that does the generation, which can be found in: ||
|
|
|| https://github.com/elastic/elastic-client-generator-js ||
|
|
|| ||
|
|
|| You can run the script with the following command: ||
|
|
|| npm run elasticsearch -- --version <version> ||
|
|
|| ||
|
|
|| ||
|
|
|| ||
|
|
===========================================================================================================================
|
|
////////
|
|
|
|
[discrete]
|
|
[[client.ml.putTrainedModelDefinitionPart]]
|
|
=== client.ml.putTrainedModelDefinitionPart
|
|
|
|
Create part of a trained model definition.
|
|
|
|
{ref}/put-trained-model-definition-part.html[{es} documentation]
|
|
|
|
[discrete]
|
|
==== Function signature
|
|
|
|
[source,ts]
|
|
----
|
|
(MlPutTrainedModelDefinitionPartRequest, options?): Promise<MlPutTrainedModelDefinitionPartResponse>
|
|
----
|
|
|
|
[discrete]
|
|
==== MlPutTrainedModelDefinitionPartRequest
|
|
|
|
[pass]
|
|
++++
|
|
<pre>
|
|
++++
|
|
interface MlPutTrainedModelDefinitionPartRequest extends <<RequestBase>> {
|
|
model_id: <<Id>>
|
|
part: <<integer>>
|
|
definition: string
|
|
total_definition_length: <<long>>
|
|
total_parts: <<integer>>
|
|
}
|
|
|
|
[pass]
|
|
++++
|
|
</pre>
|
|
++++
|
|
[discrete]
|
|
==== MlPutTrainedModelDefinitionPartResponse
|
|
|
|
[pass]
|
|
++++
|
|
<pre>
|
|
++++
|
|
type MlPutTrainedModelDefinitionPartResponse = <<AcknowledgedResponseBase>>
|
|
|
|
[pass]
|
|
++++
|
|
</pre>
|
|
++++
|