algolia 3.3.2 → 3.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/Gemfile.lock +1 -1
- data/lib/algolia/api/ingestion_client.rb +0 -95
- data/lib/algolia/models/recommend/bought_together_query.rb +1 -1
- data/lib/algolia/models/recommend/facet_ordering.rb +1 -1
- data/lib/algolia/models/recommend/fallback_params.rb +228 -143
- data/lib/algolia/models/recommend/{facets.rb → index_settings_facets.rb} +6 -3
- data/lib/algolia/models/recommend/looking_similar_query.rb +1 -1
- data/lib/algolia/models/recommend/{search_params.rb → recommend_search_params.rb} +234 -146
- data/lib/algolia/models/recommend/recommended_for_you_query.rb +1 -1
- data/lib/algolia/models/recommend/related_query.rb +1 -1
- data/lib/algolia/models/recommend/trending_facets_query.rb +1 -1
- data/lib/algolia/models/recommend/trending_items_query.rb +2 -2
- data/lib/algolia/version.rb +1 -1
- metadata +4 -11
- data/lib/algolia/models/ingestion/generate_transformation_code_payload.rb +0 -233
- data/lib/algolia/models/ingestion/generate_transformation_code_response.rb +0 -211
- data/lib/algolia/models/ingestion/model.rb +0 -254
- data/lib/algolia/models/ingestion/transformation_models.rb +0 -216
- data/lib/algolia/models/recommend/mode.rb +0 -32
- data/lib/algolia/models/recommend/search_params_object.rb +0 -1197
- data/lib/algolia/models/recommend/semantic_search.rb +0 -217
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 66eec2563ee8ee04fa4731b5a2f7344a84187717546bcf72f4b46db7ef0b2bbf
|
4
|
+
data.tar.gz: 650845fdbfdfe17116c415aa866d21689510fe67fdac2a56b7438b1dce1b0b94
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f73cb61eecd79e5e2eb251c215474a273365c7a50afe645080f93cba1df62d1c7a812fc8fb9379f2902fc696197f663e4d968054251f4f2d1728b55e4ef3b3de
|
7
|
+
data.tar.gz: d86f3812352a5b3b9d21f6948cff5b40bb1c173007f96718d787d65da42ee5725036753d439bac7d079a15950ab7622441196a321d613bf33ca1f860b2bc11df
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,8 @@
|
|
1
|
+
## [3.3.3](https://github.com/algolia/algoliasearch-client-ruby/compare/3.3.2...3.3.3)
|
2
|
+
|
3
|
+
- [1a73994ff](https://github.com/algolia/api-clients-automation/commit/1a73994ff) fix(specs): recommend remove unsupported query parameters [RECO-2345] [skip-bc] ([#3692](https://github.com/algolia/api-clients-automation/pull/3692)) by [@raed667](https://github.com/raed667/)
|
4
|
+
- [92438873c](https://github.com/algolia/api-clients-automation/commit/92438873c) fix(specs): remove models from ingestion specs [skip-bc] ([#3774](https://github.com/algolia/api-clients-automation/pull/3774)) by [@shortcuts](https://github.com/shortcuts/)
|
5
|
+
|
1
6
|
## [3.3.2](https://github.com/algolia/algoliasearch-client-ruby/compare/3.3.1...3.3.2)
|
2
7
|
|
3
8
|
- [638058eae](https://github.com/algolia/api-clients-automation/commit/638058eae) fix(specs): update search api specs [skip-bc] ([#3760](https://github.com/algolia/api-clients-automation/pull/3760)) by [@Fluf22](https://github.com/Fluf22/)
|
data/Gemfile.lock
CHANGED
@@ -961,60 +961,6 @@ module Algolia
|
|
961
961
|
@api_client.deserialize(response.body, request_options[:debug_return_type] || "Ingestion::TaskUpdateResponse")
|
962
962
|
end
|
963
963
|
|
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
|
-
|
1018
964
|
# Retrieves an authentication resource by its ID.
|
1019
965
|
#
|
1020
966
|
# Required API Key ACLs:
|
@@ -2231,47 +2177,6 @@ module Algolia
|
|
2231
2177
|
@api_client.deserialize(response.body, request_options[:debug_return_type] || "Ingestion::ListTasksResponseV1")
|
2232
2178
|
end
|
2233
2179
|
|
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
|
-
|
2275
2180
|
# Retrieves a list of transformations.
|
2276
2181
|
#
|
2277
2182
|
# Required API Key ACLs:
|