-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ml inference processor and APIs to console (#53618)
Adds new Machine Learning Inference processor to Kibana Console. Also adds new Inference APIs generated from ES specs.
- Loading branch information
Showing
4 changed files
with
77 additions
and
1 deletion.
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
x-pack/legacy/plugins/console_extensions/spec/generated/ml.delete_trained_model.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"ml.delete_trained_model": { | ||
"methods": [ | ||
"DELETE" | ||
], | ||
"patterns": [ | ||
"_ml/inference/{model_id}" | ||
], | ||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-inference.html" | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
x-pack/legacy/plugins/console_extensions/spec/generated/ml.get_trained_models.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"ml.get_trained_models": { | ||
"url_params": { | ||
"allow_no_match": "__flag__", | ||
"include_model_definition": "__flag__", | ||
"decompress_definition": "__flag__", | ||
"from": 0, | ||
"size": 0 | ||
}, | ||
"methods": [ | ||
"GET" | ||
], | ||
"patterns": [ | ||
"_ml/inference/{model_id}", | ||
"_ml/inference" | ||
], | ||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-inference.html" | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
x-pack/legacy/plugins/console_extensions/spec/generated/ml.get_trained_models_stats.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"ml.get_trained_models_stats": { | ||
"url_params": { | ||
"allow_no_match": "__flag__", | ||
"from": 0, | ||
"size": 0 | ||
}, | ||
"methods": [ | ||
"GET" | ||
], | ||
"patterns": [ | ||
"_ml/inference/{model_id}/_stats", | ||
"_ml/inference/_stats" | ||
], | ||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-inference-stats.html" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters