Skip to content

Commit 95a6225

Browse files
fix(specs): remove models from ingestion specs [skip-bc] (generated)
algolia/api-clients-automation#3774 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Clément Vannicatte <[email protected]>
1 parent a1b1b93 commit 95a6225

18 files changed

+476
-2755
lines changed

lib/algolia/api/ingestion_client.rb

Lines changed: 0 additions & 95 deletions
Original file line numberDiff line numberDiff line change
@@ -961,60 +961,6 @@ def enable_task_v1(task_id, request_options = {})
961961
@api_client.deserialize(response.body, request_options[:debug_return_type] || "Ingestion::TaskUpdateResponse")
962962
end
963963

964-
# Generates code for the selected model based on the given prompt.
965-
#
966-
# Required API Key ACLs:
967-
# - addObject
968-
# - deleteIndex
969-
# - editSettings
970-
# @param generate_transformation_code_payload [GenerateTransformationCodePayload] (required)
971-
# @param request_options: The request options to send along with the query, they will be merged with the transporter base parameters (headers, query params, timeouts, etc.). (optional)
972-
# @return [Http::Response] the response
973-
def generate_transformation_code_with_http_info(generate_transformation_code_payload, request_options = {})
974-
# verify the required parameter 'generate_transformation_code_payload' is set
975-
if @api_client.config.client_side_validation && generate_transformation_code_payload.nil?
976-
raise(
977-
ArgumentError,
978-
"Parameter `generate_transformation_code_payload` is required when calling `generate_transformation_code`."
979-
)
980-
end
981-
982-
path = "/1/transformations/models"
983-
query_params = {}
984-
query_params = query_params.merge(request_options[:query_params]) unless request_options[:query_params].nil?
985-
header_params = {}
986-
header_params = header_params.merge(request_options[:header_params]) unless request_options[:header_params].nil?
987-
988-
post_body = request_options[:debug_body] || @api_client.object_to_http_body(generate_transformation_code_payload)
989-
990-
new_options = request_options.merge(
991-
:operation => :"IngestionClient.generate_transformation_code",
992-
:header_params => header_params,
993-
:query_params => query_params,
994-
:body => post_body,
995-
:use_read_transporter => false
996-
)
997-
998-
@api_client.call_api(:POST, path, new_options)
999-
end
1000-
1001-
# Generates code for the selected model based on the given prompt.
1002-
#
1003-
# Required API Key ACLs:
1004-
# - addObject
1005-
# - deleteIndex
1006-
# - editSettings
1007-
# @param generate_transformation_code_payload [GenerateTransformationCodePayload] (required)
1008-
# @param request_options: The request options to send along with the query, they will be merged with the transporter base parameters (headers, query params, timeouts, etc.). (optional)
1009-
# @return [GenerateTransformationCodeResponse]
1010-
def generate_transformation_code(generate_transformation_code_payload, request_options = {})
1011-
response = generate_transformation_code_with_http_info(generate_transformation_code_payload, request_options)
1012-
@api_client.deserialize(
1013-
response.body,
1014-
request_options[:debug_return_type] || "Ingestion::GenerateTransformationCodeResponse"
1015-
)
1016-
end
1017-
1018964
# Retrieves an authentication resource by its ID.
1019965
#
1020966
# Required API Key ACLs:
@@ -2231,47 +2177,6 @@ def list_tasks_v1(
22312177
@api_client.deserialize(response.body, request_options[:debug_return_type] || "Ingestion::ListTasksResponseV1")
22322178
end
22332179

2234-
# Retrieves a list of existing LLM transformation helpers.
2235-
#
2236-
# Required API Key ACLs:
2237-
# - addObject
2238-
# - deleteIndex
2239-
# - editSettings
2240-
# @param request_options: The request options to send along with the query, they will be merged with the transporter base parameters (headers, query params, timeouts, etc.). (optional)
2241-
# @return [Http::Response] the response
2242-
def list_transformation_models_with_http_info(request_options = {})
2243-
path = "/1/transformations/models"
2244-
query_params = {}
2245-
query_params = query_params.merge(request_options[:query_params]) unless request_options[:query_params].nil?
2246-
header_params = {}
2247-
header_params = header_params.merge(request_options[:header_params]) unless request_options[:header_params].nil?
2248-
2249-
post_body = request_options[:debug_body]
2250-
2251-
new_options = request_options.merge(
2252-
:operation => :"IngestionClient.list_transformation_models",
2253-
:header_params => header_params,
2254-
:query_params => query_params,
2255-
:body => post_body,
2256-
:use_read_transporter => false
2257-
)
2258-
2259-
@api_client.call_api(:GET, path, new_options)
2260-
end
2261-
2262-
# Retrieves a list of existing LLM transformation helpers.
2263-
#
2264-
# Required API Key ACLs:
2265-
# - addObject
2266-
# - deleteIndex
2267-
# - editSettings
2268-
# @param request_options: The request options to send along with the query, they will be merged with the transporter base parameters (headers, query params, timeouts, etc.). (optional)
2269-
# @return [TransformationModels]
2270-
def list_transformation_models(request_options = {})
2271-
response = list_transformation_models_with_http_info(request_options)
2272-
@api_client.deserialize(response.body, request_options[:debug_return_type] || "Ingestion::TransformationModels")
2273-
end
2274-
22752180
# Retrieves a list of transformations.
22762181
#
22772182
# Required API Key ACLs:

lib/algolia/models/ingestion/generate_transformation_code_payload.rb

Lines changed: 0 additions & 233 deletions
This file was deleted.

0 commit comments

Comments
 (0)