Skip to content

Commit

Permalink
Auto-generated API code
Browse files Browse the repository at this point in the history
  • Loading branch information
elasticmachine committed Oct 13, 2023
1 parent 416cac9 commit 7d3f54a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ module Actions
# @option arguments [String] :model_id The model Id
# @option arguments [Hash] :headers Custom HTTP headers
#
# @see https://www.elastic.co/guide/en/elasticsearch/reference/8.11/inference_delete_model.html
# @see https://www.elastic.co/guide/en/elasticsearch/reference/8.11/delete-inference-api.html
#
def delete_model(arguments = {})
request_opts = { endpoint: arguments[:endpoint] || "inference.delete_model" }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ module Actions
# @option arguments [String] :model_id The model Id
# @option arguments [Hash] :headers Custom HTTP headers
#
# @see https://www.elastic.co/guide/en/elasticsearch/reference/8.11/inference_get_model.html
# @see https://www.elastic.co/guide/en/elasticsearch/reference/8.11/get-inference-api.html
#
def get_model(arguments = {})
request_opts = { endpoint: arguments[:endpoint] || "inference.get_model" }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ module Actions
# @option arguments [Hash] :headers Custom HTTP headers
# @option arguments [Hash] :body The inference payload
#
# @see https://www.elastic.co/guide/en/elasticsearch/reference/8.11/inference.html
# @see https://www.elastic.co/guide/en/elasticsearch/reference/8.11/post-inference-api.html
#
def inference(arguments = {})
request_opts = { endpoint: arguments[:endpoint] || "inference.inference" }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ module Actions
# @option arguments [Hash] :headers Custom HTTP headers
# @option arguments [Hash] :body The model's task and service settings
#
# @see https://www.elastic.co/guide/en/elasticsearch/reference/8.11/inference_put_model.html
# @see https://www.elastic.co/guide/en/elasticsearch/reference/8.11/put-inference-api.html
#
def put_model(arguments = {})
request_opts = { endpoint: arguments[:endpoint] || "inference.put_model" }
Expand Down

0 comments on commit 7d3f54a

Please sign in to comment.