From 56e015a8e17dd61174726e5d78e7d5b70b9ab6fd Mon Sep 17 00:00:00 2001 From: Fernando Briano Date: Mon, 17 Oct 2022 10:33:10 +0100 Subject: [PATCH] [API] Promotes machine learning APIs from Experimental to Beta machine_learning.clear_trained_model_deployment_cache.rb machine_learning.infer_trained_model.rb machine_learning.put_trained_model_definition_part.rb machine_learning.put_trained_model_vocabulary.rb machine_learning.start_trained_model_deployment.rb machine_learning.stop_trained_model_deployment.rb --- .../clear_trained_model_deployment_cache.rb | 8 ++++---- .../actions/machine_learning/infer_trained_model.rb | 8 ++++---- .../put_trained_model_definition_part.rb | 8 ++++---- .../machine_learning/put_trained_model_vocabulary.rb | 8 ++++---- .../machine_learning/start_trained_model_deployment.rb | 10 +++++----- .../machine_learning/stop_trained_model_deployment.rb | 8 ++++---- 6 files changed, 25 insertions(+), 25 deletions(-) diff --git a/elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/clear_trained_model_deployment_cache.rb b/elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/clear_trained_model_deployment_cache.rb index d348f99e52..b3f16e3ac0 100644 --- a/elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/clear_trained_model_deployment_cache.rb +++ b/elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/clear_trained_model_deployment_cache.rb @@ -23,10 +23,10 @@ module API module MachineLearning module Actions # Clear the cached results from a trained model deployment - # 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. + # This functionality is in Beta and is subject to change. The design and + # code is less mature than official GA features and is being provided + # as-is with no warranties. Beta features are not subject to the support + # SLA of official GA features. # # @option arguments [String] :model_id The unique identifier of the trained model. (*Required*) # @option arguments [Hash] :headers Custom HTTP headers diff --git a/elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/infer_trained_model.rb b/elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/infer_trained_model.rb index b62783f409..d112e2d36c 100644 --- a/elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/infer_trained_model.rb +++ b/elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/infer_trained_model.rb @@ -23,10 +23,10 @@ module API module MachineLearning module Actions # Evaluate a trained model. - # 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. + # This functionality is in Beta and is subject to change. The design and + # code is less mature than official GA features and is being provided + # as-is with no warranties. Beta features are not subject to the support + # SLA of official GA features. # # @option arguments [String] :model_id The unique identifier of the trained model. (*Required*) # @option arguments [Time] :timeout Controls the amount of time to wait for inference results. diff --git a/elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/put_trained_model_definition_part.rb b/elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/put_trained_model_definition_part.rb index 23f81568cf..c1948b3123 100644 --- a/elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/put_trained_model_definition_part.rb +++ b/elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/put_trained_model_definition_part.rb @@ -23,10 +23,10 @@ module API module MachineLearning module Actions # Creates part of a trained model definition - # 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. + # This functionality is in Beta and is subject to change. The design and + # code is less mature than official GA features and is being provided + # as-is with no warranties. Beta features are not subject to the support + # SLA of official GA features. # # @option arguments [String] :model_id The ID of the trained model for this definition part # @option arguments [Integer] :part The part number diff --git a/elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/put_trained_model_vocabulary.rb b/elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/put_trained_model_vocabulary.rb index b5ea273b92..bb360f511c 100644 --- a/elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/put_trained_model_vocabulary.rb +++ b/elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/put_trained_model_vocabulary.rb @@ -23,10 +23,10 @@ module API module MachineLearning module Actions # Creates a trained model vocabulary - # 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. + # This functionality is in Beta and is subject to change. The design and + # code is less mature than official GA features and is being provided + # as-is with no warranties. Beta features are not subject to the support + # SLA of official GA features. # # @option arguments [String] :model_id The ID of the trained model for this vocabulary # @option arguments [Hash] :headers Custom HTTP headers diff --git a/elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/start_trained_model_deployment.rb b/elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/start_trained_model_deployment.rb index 589e80556a..8e2fd22f94 100644 --- a/elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/start_trained_model_deployment.rb +++ b/elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/start_trained_model_deployment.rb @@ -23,14 +23,14 @@ module API module MachineLearning module Actions # Start a trained model deployment. - # 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. + # This functionality is in Beta and is subject to change. The design and + # code is less mature than official GA features and is being provided + # as-is with no warranties. Beta features are not subject to the support + # SLA of official GA features. # # @option arguments [String] :model_id The unique identifier of the trained model. (*Required*) # @option arguments [String] :cache_size A byte-size value for configuring the inference cache size. For example, 20mb. - # @option arguments [Integer] :number_of_allocations The number of model allocations on each node where the model is deployed. + # @option arguments [Integer] :number_of_allocations The total number of allocations this model is assigned across machine learning nodes. # @option arguments [Integer] :threads_per_allocation The number of threads used by each model allocation during inference. # @option arguments [Integer] :queue_capacity Controls how many inference requests are allowed in the queue at a time. # @option arguments [Time] :timeout Controls the amount of time to wait for the model to deploy. diff --git a/elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/stop_trained_model_deployment.rb b/elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/stop_trained_model_deployment.rb index 077f436998..87554c495d 100644 --- a/elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/stop_trained_model_deployment.rb +++ b/elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/stop_trained_model_deployment.rb @@ -23,10 +23,10 @@ module API module MachineLearning module Actions # Stop a trained model deployment. - # 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. + # This functionality is in Beta and is subject to change. The design and + # code is less mature than official GA features and is being provided + # as-is with no warranties. Beta features are not subject to the support + # SLA of official GA features. # # @option arguments [String] :model_id The unique identifier of the trained model. (*Required*) # @option arguments [Boolean] :allow_no_match Whether to ignore if a wildcard expression matches no deployments. (This includes `_all` string or when no deployments have been specified)