-
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.
Browse files
Browse the repository at this point in the history
# Backport This will backport the following commits from `main` to `8.12`: - [[CONSOLE] Autocomplete for the inference API (#173014)](#173014) <!--- Backport version: 8.9.7 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"David Kyle","email":"[email protected]"},"sourceCommit":{"committedDate":"2023-12-11T16:41:26Z","message":"[CONSOLE] Autocomplete for the inference API (#173014)\n\nThis PR adds the to autocomplete definitions in Console for the _inference API","sha":"61cd731417208a601d50330b9da069be11a339c5","branchLabelMapping":{"^v8.13.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["backport","Feature:Console","release_note:skip","v8.12.0","v8.13.0"],"number":173014,"url":"https://github.com/elastic/kibana/pull/173014","mergeCommit":{"message":"[CONSOLE] Autocomplete for the inference API (#173014)\n\nThis PR adds the to autocomplete definitions in Console for the _inference API","sha":"61cd731417208a601d50330b9da069be11a339c5"}},"sourceBranch":"main","suggestedTargetBranches":["8.12"],"targetPullRequestStates":[{"branch":"8.12","label":"v8.12.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.13.0","labelRegex":"^v8.13.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/173014","number":173014,"mergeCommit":{"message":"[CONSOLE] Autocomplete for the inference API (#173014)\n\nThis PR adds the to autocomplete definitions in Console for the _inference API","sha":"61cd731417208a601d50330b9da069be11a339c5"}}]}] BACKPORT--> Co-authored-by: David Kyle <[email protected]>
- Loading branch information
1 parent
16278bf
commit f578d46
Showing
5 changed files
with
109 additions
and
0 deletions.
There are no files selected for viewing
27 changes: 27 additions & 0 deletions
27
src/plugins/console/server/lib/spec_definitions/json/generated/inference.delete_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,27 @@ | ||
{ | ||
"inference.delete_model": { | ||
"url_params": { | ||
"error_trace": "__flag__", | ||
"filter_path": [], | ||
"human": "__flag__", | ||
"pretty": "__flag__" | ||
}, | ||
"url_components": { | ||
"task_type": [ | ||
"sparse_embedding", | ||
"text_embedding" | ||
] | ||
}, | ||
"methods": [ | ||
"DELETE" | ||
], | ||
"patterns": [ | ||
"_inference/{task_type}/{model_id}" | ||
], | ||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/delete-inference-api.html", | ||
"availability": { | ||
"stack": true, | ||
"serverless": false | ||
} | ||
} | ||
} |
27 changes: 27 additions & 0 deletions
27
src/plugins/console/server/lib/spec_definitions/json/generated/inference.get_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,27 @@ | ||
{ | ||
"inference.get_model": { | ||
"url_params": { | ||
"error_trace": "__flag__", | ||
"filter_path": [], | ||
"human": "__flag__", | ||
"pretty": "__flag__" | ||
}, | ||
"url_components": { | ||
"task_type": [ | ||
"sparse_embedding", | ||
"text_embedding" | ||
] | ||
}, | ||
"methods": [ | ||
"GET" | ||
], | ||
"patterns": [ | ||
"_inference/{task_type}/{model_id}" | ||
], | ||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-inference-api.html", | ||
"availability": { | ||
"stack": true, | ||
"serverless": false | ||
} | ||
} | ||
} |
27 changes: 27 additions & 0 deletions
27
src/plugins/console/server/lib/spec_definitions/json/generated/inference.inference.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,27 @@ | ||
{ | ||
"inference.inference": { | ||
"url_params": { | ||
"error_trace": "__flag__", | ||
"filter_path": [], | ||
"human": "__flag__", | ||
"pretty": "__flag__" | ||
}, | ||
"url_components": { | ||
"task_type": [ | ||
"sparse_embedding", | ||
"text_embedding" | ||
] | ||
}, | ||
"methods": [ | ||
"POST" | ||
], | ||
"patterns": [ | ||
"_inference/{task_type}/{model_id}" | ||
], | ||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/post-inference-api.html", | ||
"availability": { | ||
"stack": true, | ||
"serverless": false | ||
} | ||
} | ||
} |
27 changes: 27 additions & 0 deletions
27
src/plugins/console/server/lib/spec_definitions/json/generated/inference.put_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,27 @@ | ||
{ | ||
"inference.put_model": { | ||
"url_params": { | ||
"error_trace": "__flag__", | ||
"filter_path": [], | ||
"human": "__flag__", | ||
"pretty": "__flag__" | ||
}, | ||
"url_components": { | ||
"task_type": [ | ||
"sparse_embedding", | ||
"text_embedding" | ||
] | ||
}, | ||
"methods": [ | ||
"PUT" | ||
], | ||
"patterns": [ | ||
"_inference/{task_type}/{model_id}" | ||
], | ||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/put-inference-api.html", | ||
"availability": { | ||
"stack": true, | ||
"serverless": false | ||
} | ||
} | ||
} |
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