From f7f68007f471f3a0117a7e80348b55ed5c42a5da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Istv=C3=A1n=20Zolt=C3=A1n=20Szab=C3=B3?= Date: Tue, 18 Mar 2025 11:11:54 +0100 Subject: [PATCH 1/4] Adds EIS inference PUT API. --- .../rest-api-spec/api/inference.put_eis.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 rest-api-spec/src/main/resources/rest-api-spec/api/inference.put_eis.json diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/inference.put_eis.json b/rest-api-spec/src/main/resources/rest-api-spec/api/inference.put_eis.json new file mode 100644 index 0000000000000..8f39185c7d3a2 --- /dev/null +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/inference.put_eis.json @@ -0,0 +1,35 @@ +{ + "inference.put_eis": { + "documentation": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/infer-service-eis.html", + "description": "Configure an inference endpoint that uses the Elastic Inference Service (EIS)" + }, + "stability": "stable", + "visibility": "public", + "headers": { + "accept": ["application/json"], + "content_type": ["application/json"] + }, + "url": { + "paths": [ + { + "path": "/_inference/{task_type}/{eis_inference_id}", + "methods": ["PUT"], + "parts": { + "task_type": { + "type": "string", + "description": "The task type" + }, + "eis_inference_id": { + "type": "string", + "description": "The inference ID" + } + } + } + ] + }, + "body": { + "description": "The inference endpoint's task and service settings" + } + } + } \ No newline at end of file From b2b50dfc6b6904098c21b95ec2e6c5bf12545424 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Istv=C3=A1n=20Zolt=C3=A1n=20Szab=C3=B3?= Date: Tue, 18 Mar 2025 11:16:53 +0100 Subject: [PATCH 2/4] Update docs/changelog/125082.yaml --- docs/changelog/125082.yaml | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 docs/changelog/125082.yaml diff --git a/docs/changelog/125082.yaml b/docs/changelog/125082.yaml new file mode 100644 index 0000000000000..78b141ef1cc14 --- /dev/null +++ b/docs/changelog/125082.yaml @@ -0,0 +1,5 @@ +pr: 125082 +summary: Adds EIS inference PUT API +area: Machine Learning +type: enhancement +issues: [] From 009eb216a614441d3813049d3b601765fb2f5e07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Istv=C3=A1n=20Zolt=C3=A1n=20Szab=C3=B3?= Date: Tue, 18 Mar 2025 11:17:34 +0100 Subject: [PATCH 3/4] Update rest-api-spec/src/main/resources/rest-api-spec/api/inference.put_eis.json --- .../src/main/resources/rest-api-spec/api/inference.put_eis.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/inference.put_eis.json b/rest-api-spec/src/main/resources/rest-api-spec/api/inference.put_eis.json index 8f39185c7d3a2..d08a4d3dbd9a6 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/inference.put_eis.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/inference.put_eis.json @@ -1,7 +1,7 @@ { "inference.put_eis": { "documentation": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/infer-service-eis.html", + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/infer-service-elastic.html", "description": "Configure an inference endpoint that uses the Elastic Inference Service (EIS)" }, "stability": "stable", From b4384380f05f72ca29a6fb18cf0abe1964624b89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Istv=C3=A1n=20Zolt=C3=A1n=20Szab=C3=B3?= Date: Tue, 18 Mar 2025 11:18:06 +0100 Subject: [PATCH 4/4] Delete docs/changelog/125082.yaml --- docs/changelog/125082.yaml | 5 ----- 1 file changed, 5 deletions(-) delete mode 100644 docs/changelog/125082.yaml diff --git a/docs/changelog/125082.yaml b/docs/changelog/125082.yaml deleted file mode 100644 index 78b141ef1cc14..0000000000000 --- a/docs/changelog/125082.yaml +++ /dev/null @@ -1,5 +0,0 @@ -pr: 125082 -summary: Adds EIS inference PUT API -area: Machine Learning -type: enhancement -issues: []