From ad35baa221969fc4632d2aeab95fe46086001d1f Mon Sep 17 00:00:00 2001 From: Fernando Briano Date: Mon, 18 Nov 2024 10:20:17 +0000 Subject: [PATCH 1/2] Fixes codegen rake task --- rake_tasks/automation.rake | 1 + 1 file changed, 1 insertion(+) diff --git a/rake_tasks/automation.rake b/rake_tasks/automation.rake index c95bc548db..1f7dfe77f9 100644 --- a/rake_tasks/automation.rake +++ b/rake_tasks/automation.rake @@ -16,6 +16,7 @@ # under the License. require 'fileutils' +require 'yaml' require_relative '../elasticsearch/lib/elasticsearch/version' namespace :automation do From 6c81ec79a0bd9831232c39346c87770230b281d4 Mon Sep 17 00:00:00 2001 From: Fernando Briano Date: Mon, 18 Nov 2024 10:20:35 +0000 Subject: [PATCH 2/2] [API] Updates inference APIs, migrated from experimental to stable --- .../lib/elasticsearch/api/actions/inference/delete.rb | 4 ---- .../lib/elasticsearch/api/actions/inference/get.rb | 4 ---- .../lib/elasticsearch/api/actions/inference/inference.rb | 4 ---- .../lib/elasticsearch/api/actions/inference/put.rb | 4 ---- .../elasticsearch/api/actions/inference/stream_inference.rb | 4 ---- 5 files changed, 20 deletions(-) diff --git a/elasticsearch-api/lib/elasticsearch/api/actions/inference/delete.rb b/elasticsearch-api/lib/elasticsearch/api/actions/inference/delete.rb index f9186d3c76..02d5f328cd 100644 --- a/elasticsearch-api/lib/elasticsearch/api/actions/inference/delete.rb +++ b/elasticsearch-api/lib/elasticsearch/api/actions/inference/delete.rb @@ -23,10 +23,6 @@ module API module Inference module Actions # Delete an inference endpoint - # This functionality is Experimental and may be changed or removed - # completely in a future release. Elastic will take a best effort approach - # to fix any issues, but experimental features are not subject to the - # support SLA of official GA features. # # @option arguments [String] :inference_id The inference Id # @option arguments [String] :task_type The task type diff --git a/elasticsearch-api/lib/elasticsearch/api/actions/inference/get.rb b/elasticsearch-api/lib/elasticsearch/api/actions/inference/get.rb index cb227aa9b2..a3fec86adb 100644 --- a/elasticsearch-api/lib/elasticsearch/api/actions/inference/get.rb +++ b/elasticsearch-api/lib/elasticsearch/api/actions/inference/get.rb @@ -23,10 +23,6 @@ module API module Inference module Actions # Get an inference endpoint - # This functionality is Experimental and may be changed or removed - # completely in a future release. Elastic will take a best effort approach - # to fix any issues, but experimental features are not subject to the - # support SLA of official GA features. # # @option arguments [String] :inference_id The inference Id # @option arguments [String] :task_type The task type diff --git a/elasticsearch-api/lib/elasticsearch/api/actions/inference/inference.rb b/elasticsearch-api/lib/elasticsearch/api/actions/inference/inference.rb index de5e7b797c..1e7fd39d7c 100644 --- a/elasticsearch-api/lib/elasticsearch/api/actions/inference/inference.rb +++ b/elasticsearch-api/lib/elasticsearch/api/actions/inference/inference.rb @@ -23,10 +23,6 @@ module API module Inference module Actions # Perform inference - # This functionality is Experimental and may be changed or removed - # completely in a future release. Elastic will take a best effort approach - # to fix any issues, but experimental features are not subject to the - # support SLA of official GA features. # # @option arguments [String] :inference_id The inference Id # @option arguments [String] :task_type The task type diff --git a/elasticsearch-api/lib/elasticsearch/api/actions/inference/put.rb b/elasticsearch-api/lib/elasticsearch/api/actions/inference/put.rb index 9d485bcd17..aabcd25a4e 100644 --- a/elasticsearch-api/lib/elasticsearch/api/actions/inference/put.rb +++ b/elasticsearch-api/lib/elasticsearch/api/actions/inference/put.rb @@ -23,10 +23,6 @@ module API module Inference module Actions # Configure an inference endpoint for use in the Inference API - # This functionality is Experimental and may be changed or removed - # completely in a future release. Elastic will take a best effort approach - # to fix any issues, but experimental features are not subject to the - # support SLA of official GA features. # # @option arguments [String] :inference_id The inference Id # @option arguments [String] :task_type The task type diff --git a/elasticsearch-api/lib/elasticsearch/api/actions/inference/stream_inference.rb b/elasticsearch-api/lib/elasticsearch/api/actions/inference/stream_inference.rb index 06edf4726f..539b4922a1 100644 --- a/elasticsearch-api/lib/elasticsearch/api/actions/inference/stream_inference.rb +++ b/elasticsearch-api/lib/elasticsearch/api/actions/inference/stream_inference.rb @@ -23,10 +23,6 @@ module API module Inference module Actions # Perform streaming inference - # This functionality is Experimental and may be changed or removed - # completely in a future release. Elastic will take a best effort approach - # to fix any issues, but experimental features are not subject to the - # support SLA of official GA features. # # @option arguments [String] :inference_id The inference Id # @option arguments [String] :task_type The task type