Skip to content

Commit fb86faa

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 4a7b9c7 commit fb86faa

18 files changed

+1194
-2880
lines changed

algoliasearch/src/main/java/com/algolia/api/IngestionClient.java

Lines changed: 0 additions & 107 deletions
Original file line numberDiff line numberDiff line change
@@ -1290,70 +1290,6 @@ public CompletableFuture<TaskUpdateResponse> enableTaskV1Async(@Nonnull String t
12901290
return this.enableTaskV1Async(taskID, null);
12911291
}
12921292

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-
13571293
/**
13581294
* Retrieves an authentication resource by its ID.
13591295
*
@@ -2903,49 +2839,6 @@ public CompletableFuture<ListTasksResponseV1> listTasksV1Async() throws AlgoliaR
29032839
return this.listTasksV1Async(null, null, null, null, null, null, null, null, null, null);
29042840
}
29052841

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-
29492842
/**
29502843
* Retrieves a list of transformations.
29512844
*

algoliasearch/src/main/java/com/algolia/model/ingestion/GenerateTransformationCodePayload.java

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

algoliasearch/src/main/java/com/algolia/model/ingestion/GenerateTransformationCodeResponse.java

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

0 commit comments

Comments
 (0)