mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-25 15:47:23 -04:00
[ML][Inference] don't return inflated definition when storing trained models (#52573)
When `PUT` is called to store a trained model, it is useful to return the newly create model config. But, it is NOT useful to return the inflated definition. These definitions can be large and returning the inflated definition causes undo work on the server and client side.
This commit is contained in:
parent
1326fdb818
commit
1c1d45130c
7 changed files with 99 additions and 9 deletions
|
@ -46,6 +46,8 @@ include::../execution.asciidoc[]
|
|||
==== Response
|
||||
|
||||
The returned +{response}+ contains the newly created trained model.
|
||||
The +{response}+ will omit the model definition as a precaution against
|
||||
streaming large model definitions back to the client.
|
||||
|
||||
["source","java",subs="attributes,callouts,macros"]
|
||||
--------------------------------------------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue