mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-28 02:48:38 +00:00
[DOCS] Fix from and size descriptions for model APIs (#62128)
This commit is contained in:
parent
b8e9a7125f
commit
78b955eb86
@ -59,11 +59,11 @@ include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=allow-no-match-models]
|
||||
|
||||
`from`::
|
||||
(Optional, integer)
|
||||
include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=from]
|
||||
include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=from-models]
|
||||
|
||||
`size`::
|
||||
(Optional, integer)
|
||||
include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=size]
|
||||
include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=size-models]
|
||||
|
||||
[role="child_attributes"]
|
||||
[[ml-get-inference-stats-results]]
|
||||
|
@ -64,9 +64,15 @@ include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=allow-no-match-models]
|
||||
Specifies whether the included model definition should be returned as a JSON map
|
||||
(`true`) or in a custom compressed format (`false`). Defaults to `true`.
|
||||
|
||||
`for_export`::
|
||||
(Optional, boolean)
|
||||
Indicates if certain fields should be removed from the model configuration on
|
||||
retrieval. This allows the model to be in an acceptable format to be retrieved
|
||||
and then added to another cluster. Default is false.
|
||||
|
||||
`from`::
|
||||
(Optional, integer)
|
||||
include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=from]
|
||||
include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=from-models]
|
||||
|
||||
`include_model_definition`::
|
||||
(Optional, boolean)
|
||||
@ -76,18 +82,12 @@ Otherwise, a bad request is returned.
|
||||
|
||||
`size`::
|
||||
(Optional, integer)
|
||||
include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=size]
|
||||
include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=size-models]
|
||||
|
||||
`tags`::
|
||||
(Optional, string)
|
||||
include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=tags]
|
||||
|
||||
`for_export`::
|
||||
(Optional, boolean)
|
||||
Indicates if certain fields should be removed from the model configuration on
|
||||
retrieval. This allows the model to be in an acceptable format to be retrieved
|
||||
and then added to another cluster. Default is false.
|
||||
|
||||
[role="child_attributes"]
|
||||
[[ml-get-inference-results]]
|
||||
== {api-response-body-title}
|
||||
|
@ -691,6 +691,10 @@ tag::from[]
|
||||
Skips the specified number of {dfanalytics-jobs}. The default value is `0`.
|
||||
end::from[]
|
||||
|
||||
tag::from-models[]
|
||||
Skips the specified number of models. The default value is `0`.
|
||||
end::from-models[]
|
||||
|
||||
tag::function[]
|
||||
The analysis function that is used. For example, `count`, `rare`, `mean`, `min`,
|
||||
`max`, and `sum`. For more information, see
|
||||
@ -1275,6 +1279,11 @@ Specifies the maximum number of {dfanalytics-jobs} to obtain. The default value
|
||||
is `100`.
|
||||
end::size[]
|
||||
|
||||
tag::size-models[]
|
||||
Specifies the maximum number of models to obtain. The default value
|
||||
is `100`.
|
||||
end::size-models[]
|
||||
|
||||
tag::snapshot-id[]
|
||||
A numerical character string that uniquely identifies the model snapshot.
|
||||
end::snapshot-id[]
|
||||
|
Loading…
x
Reference in New Issue
Block a user