elasticsearch/docs/reference/ml/trained-models/apis
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
..
delete-trained-models-aliases.asciidoc
delete-trained-models.asciidoc
get-trained-models-stats.asciidoc [ML] Add throughput stats for Trained Model Deployments (#84628) 2022-03-08 11:06:36 +00:00
get-trained-models.asciidoc [ML] add roberta/bart docs (#85001) 2022-03-17 12:14:57 -04:00
index.asciidoc [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
infer-trained-model-deployment.asciidoc [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
infer-trained-model.asciidoc [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-trained-models-apis.asciidoc [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
put-trained-model-definition-part.asciidoc
put-trained-model-vocabulary.asciidoc [ML] add roberta/bart docs (#85001) 2022-03-17 12:14:57 -04:00
put-trained-models-aliases.asciidoc
put-trained-models.asciidoc [ML] add roberta/bart docs (#85001) 2022-03-17 12:14:57 -04:00
start-trained-model-deployment.asciidoc [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
stop-trained-model-deployment.asciidoc [DOCS] Minor edits to trained model APIs (#81549) 2022-02-09 13:44:13 -08:00