From 1259536edf85e4991ca9ebb5f6900b31d94c436c Mon Sep 17 00:00:00 2001 From: Josh Mock Date: Mon, 7 Apr 2025 11:50:35 -0500 Subject: [PATCH] Clean up references to dropped EIS APIs --- .../inference.post_eis_chat_completion.json | 31 ---------------- .../_json_spec/inference.put_eis.json | 35 ------------------- 2 files changed, 66 deletions(-) delete mode 100644 specification/_json_spec/inference.post_eis_chat_completion.json delete mode 100644 specification/_json_spec/inference.put_eis.json diff --git a/specification/_json_spec/inference.post_eis_chat_completion.json b/specification/_json_spec/inference.post_eis_chat_completion.json deleted file mode 100644 index e34b14913b..0000000000 --- a/specification/_json_spec/inference.post_eis_chat_completion.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "inference.post_eis_chat_completion": { - "documentation": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/inference-apis.html", - "description": "Perform a chat completion task via the Elastic Inference Service (EIS)" - }, - "stability": "stable", - "visibility": "public", - "headers": { - "accept": ["application/json"], - "content_type": ["application/json"] - }, - "url": { - "paths": [ - { - "path": "/_inference/chat_completion/{eis_inference_id}/_stream", - "methods": ["POST"], - "parts": { - "eis_inference_id": { - "type": "string", - "description": "The inference ID" - } - } - } - ] - }, - "body": { - "description": "The inference tasks settings to perform" - } - } -} diff --git a/specification/_json_spec/inference.put_eis.json b/specification/_json_spec/inference.put_eis.json deleted file mode 100644 index fd13516d54..0000000000 --- a/specification/_json_spec/inference.put_eis.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "inference.put_eis": { - "documentation": { - "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", - "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" - } - } -}