From 9a89c850e94ee684caa3313dce278939329eacd1 Mon Sep 17 00:00:00 2001 From: pquentin <42327+pquentin@users.noreply.github.com> Date: Tue, 8 Apr 2025 04:07:15 +0000 Subject: [PATCH] Update rest-api-spec --- output/schema/schema.json | 28 --------------- .../inference.post_eis_chat_completion.json | 31 ---------------- .../_json_spec/inference.put.eis.json | 35 ------------------- .../_json_spec/inference.put.mistral.json | 35 ------------------- .../_json_spec/inference.put.voyageai.json | 35 ------------------- 5 files changed, 164 deletions(-) delete mode 100644 specification/_json_spec/inference.post_eis_chat_completion.json delete mode 100644 specification/_json_spec/inference.put.eis.json delete mode 100644 specification/_json_spec/inference.put.mistral.json delete mode 100644 specification/_json_spec/inference.put.voyageai.json diff --git a/output/schema/schema.json b/output/schema/schema.json index c59688272f..c9bc93f884 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -9255,34 +9255,6 @@ } ] }, - { - "availability": { - "stack": { - "stability": "stable", - "visibility": "public" - } - }, - "description": "Perform a chat completion task via the Elastic Inference Service (EIS)", - "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/inference-apis.html", - "name": "inference.post_eis_chat_completion", - "request": null, - "requestBodyRequired": false, - "requestMediaType": [ - "application/json" - ], - "response": null, - "responseMediaType": [ - "application/json" - ], - "urls": [ - { - "methods": [ - "POST" - ], - "path": "/_inference/chat_completion/{eis_inference_id}/_stream" - } - ] - }, { "availability": { "serverless": { 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 281758769e..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-eis.html", - "description": "Configure an EIS inference endpoint" - }, - "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 service settings" - } - } -} diff --git a/specification/_json_spec/inference.put.mistral.json b/specification/_json_spec/inference.put.mistral.json deleted file mode 100644 index 97633b233c..0000000000 --- a/specification/_json_spec/inference.put.mistral.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "inference.put_mistral": { - "documentation": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/infer-service-mistral.html", - "description": "Configure a Mistral inference endpoint" - }, - "stability": "stable", - "visibility": "public", - "headers": { - "accept": ["application/json"], - "content_type": ["application/json"] - }, - "url": { - "paths": [ - { - "path": "/_inference/{task_type}/{mistral_inference_id}", - "methods": ["PUT"], - "parts": { - "task_type": { - "type": "string", - "description": "The task type" - }, - "mistral_inference_id": { - "type": "string", - "description": "The inference Id" - } - } - } - ] - }, - "body": { - "description": "The inference endpoint's task and service settings" - } - } -} diff --git a/specification/_json_spec/inference.put.voyageai.json b/specification/_json_spec/inference.put.voyageai.json deleted file mode 100644 index 8a587c75ab..0000000000 --- a/specification/_json_spec/inference.put.voyageai.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "inference.put_voyageai": { - "documentation": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/infer-apis.html", - "description": "Configure an VoyageAI inference endpoint" - }, - "stability": "stable", - "visibility": "public", - "headers": { - "accept": ["application/json"], - "content_type": ["application/json"] - }, - "url": { - "paths": [ - { - "path": "/_inference/{task_type}/{voyageai_inference_id}", - "methods": ["PUT"], - "parts": { - "task_type": { - "type": "string", - "description": "The task type" - }, - "voyageai_inference_id": { - "type": "string", - "description": "The inference ID" - } - } - } - ] - }, - "body": { - "description": "The inference endpoint's task and service settings" - } - } -}