elasticsearch/docs/reference/ml
Benjamin Trent a907f0bb6f
[ML] add new trained_models/{model_id}/_infer endpoint for all supervised models and deprecate deployment infer api (#86361)
This commit adds a new `_ml/trained_models/{model_id}/_infer` API. This api works for both native NLP models and supervised models trained via Data Frame analytics. 

The format of the API is the same as the old `_ml/trained_models/{model_id}/deployment/_infer`. Taking a `docs` and an `inference_config` parameter.

This PR also deprecates the old experimental `_ml/trained_models/{model_id}/deployment/_infer` API.

The biggest difference is that the response now nests all results under an "inference_results" object.

closes: https://github.com/elastic/elasticsearch/issues/86032
2022-05-05 14:58:59 -04:00
..
anomaly-detection [DOCS] Move ML info and upgrade APIs (#84005) 2022-02-16 11:23:00 -08:00
common/apis [ML] Add ML memory stats API (#83802) 2022-02-17 09:19:14 +00:00
df-analytics/apis [DOCS] Adds size param to evaluate DFA API docs (#85735) 2022-04-07 10:03:09 +02:00
images [DOCS] Refresh automated screenshots (#84543) 2022-03-02 09:30:07 -08:00
trained-models/apis [ML] add new trained_models/{model_id}/_infer endpoint for all supervised models and deprecate deployment infer api (#86361) 2022-05-05 14:58:59 -04:00
ml-shared.asciidoc [ML] add roberta/bart docs (#85001) 2022-03-17 12:14:57 -04:00