@@ -1290,70 +1290,6 @@ public CompletableFuture<TaskUpdateResponse> enableTaskV1Async(@Nonnull String t
1290
1290
return this .enableTaskV1Async (taskID , null );
1291
1291
}
1292
1292
1293
- /**
1294
- * Generates code for the selected model based on the given prompt.
1295
- *
1296
- * @param generateTransformationCodePayload (required)
1297
- * @param requestOptions The requestOptions to send along with the query, they will be merged with
1298
- * the transporter requestOptions.
1299
- * @throws AlgoliaRuntimeException If it fails to process the API call
1300
- */
1301
- public GenerateTransformationCodeResponse generateTransformationCode (
1302
- @ Nonnull GenerateTransformationCodePayload generateTransformationCodePayload ,
1303
- RequestOptions requestOptions
1304
- ) throws AlgoliaRuntimeException {
1305
- return LaunderThrowable .await (generateTransformationCodeAsync (generateTransformationCodePayload , requestOptions ));
1306
- }
1307
-
1308
- /**
1309
- * Generates code for the selected model based on the given prompt.
1310
- *
1311
- * @param generateTransformationCodePayload (required)
1312
- * @throws AlgoliaRuntimeException If it fails to process the API call
1313
- */
1314
- public GenerateTransformationCodeResponse generateTransformationCode (
1315
- @ Nonnull GenerateTransformationCodePayload generateTransformationCodePayload
1316
- ) throws AlgoliaRuntimeException {
1317
- return this .generateTransformationCode (generateTransformationCodePayload , null );
1318
- }
1319
-
1320
- /**
1321
- * (asynchronously) Generates code for the selected model based on the given prompt.
1322
- *
1323
- * @param generateTransformationCodePayload (required)
1324
- * @param requestOptions The requestOptions to send along with the query, they will be merged with
1325
- * the transporter requestOptions.
1326
- * @throws AlgoliaRuntimeException If it fails to process the API call
1327
- */
1328
- public CompletableFuture <GenerateTransformationCodeResponse > generateTransformationCodeAsync (
1329
- @ Nonnull GenerateTransformationCodePayload generateTransformationCodePayload ,
1330
- RequestOptions requestOptions
1331
- ) throws AlgoliaRuntimeException {
1332
- Parameters .requireNonNull (
1333
- generateTransformationCodePayload ,
1334
- "Parameter `generateTransformationCodePayload` is required when calling" + " `generateTransformationCode`."
1335
- );
1336
-
1337
- HttpRequest request = HttpRequest .builder ()
1338
- .setPath ("/1/transformations/models" )
1339
- .setMethod ("POST" )
1340
- .setBody (generateTransformationCodePayload )
1341
- .build ();
1342
- return executeAsync (request , requestOptions , new TypeReference <GenerateTransformationCodeResponse >() {});
1343
- }
1344
-
1345
- /**
1346
- * (asynchronously) Generates code for the selected model based on the given prompt.
1347
- *
1348
- * @param generateTransformationCodePayload (required)
1349
- * @throws AlgoliaRuntimeException If it fails to process the API call
1350
- */
1351
- public CompletableFuture <GenerateTransformationCodeResponse > generateTransformationCodeAsync (
1352
- @ Nonnull GenerateTransformationCodePayload generateTransformationCodePayload
1353
- ) throws AlgoliaRuntimeException {
1354
- return this .generateTransformationCodeAsync (generateTransformationCodePayload , null );
1355
- }
1356
-
1357
1293
/**
1358
1294
* Retrieves an authentication resource by its ID.
1359
1295
*
@@ -2903,49 +2839,6 @@ public CompletableFuture<ListTasksResponseV1> listTasksV1Async() throws AlgoliaR
2903
2839
return this .listTasksV1Async (null , null , null , null , null , null , null , null , null , null );
2904
2840
}
2905
2841
2906
- /**
2907
- * Retrieves a list of existing LLM transformation helpers.
2908
- *
2909
- * @param requestOptions The requestOptions to send along with the query, they will be merged with
2910
- * the transporter requestOptions.
2911
- * @throws AlgoliaRuntimeException If it fails to process the API call
2912
- */
2913
- public TransformationModels listTransformationModels (RequestOptions requestOptions ) throws AlgoliaRuntimeException {
2914
- return LaunderThrowable .await (listTransformationModelsAsync (requestOptions ));
2915
- }
2916
-
2917
- /**
2918
- * Retrieves a list of existing LLM transformation helpers.
2919
- *
2920
- * @throws AlgoliaRuntimeException If it fails to process the API call
2921
- */
2922
- public TransformationModels listTransformationModels () throws AlgoliaRuntimeException {
2923
- return this .listTransformationModels (null );
2924
- }
2925
-
2926
- /**
2927
- * (asynchronously) Retrieves a list of existing LLM transformation helpers.
2928
- *
2929
- * @param requestOptions The requestOptions to send along with the query, they will be merged with
2930
- * the transporter requestOptions.
2931
- * @throws AlgoliaRuntimeException If it fails to process the API call
2932
- */
2933
- public CompletableFuture <TransformationModels > listTransformationModelsAsync (RequestOptions requestOptions )
2934
- throws AlgoliaRuntimeException {
2935
- HttpRequest request = HttpRequest .builder ().setPath ("/1/transformations/models" ).setMethod ("GET" ).build ();
2936
-
2937
- return executeAsync (request , requestOptions , new TypeReference <TransformationModels >() {});
2938
- }
2939
-
2940
- /**
2941
- * (asynchronously) Retrieves a list of existing LLM transformation helpers.
2942
- *
2943
- * @throws AlgoliaRuntimeException If it fails to process the API call
2944
- */
2945
- public CompletableFuture <TransformationModels > listTransformationModelsAsync () throws AlgoliaRuntimeException {
2946
- return this .listTransformationModelsAsync (null );
2947
- }
2948
-
2949
2842
/**
2950
2843
* Retrieves a list of transformations.
2951
2844
*
0 commit comments