lib/elasticsearch/api/actions/inference/inference.rb in elasticsearch-api-8.15.0 vs lib/elasticsearch/api/actions/inference/inference.rb in elasticsearch-api-8.16.0
- old
+ new
@@ -31,10 +31,10 @@
# @option arguments [String] :inference_id The inference Id
# @option arguments [String] :task_type The task type
# @option arguments [Hash] :headers Custom HTTP headers
# @option arguments [Hash] :body The inference payload
#
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/8.15/post-inference-api.html
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/8.16/post-inference-api.html
#
def inference(arguments = {})
request_opts = { endpoint: arguments[:endpoint] || 'inference.inference' }
defined_params = %i[inference_id task_type].each_with_object({}) do |variable, set_variables|