@@ -615,40 +615,6 @@ public interface IIngestionClient
615
615
/// <returns>TaskUpdateResponse</returns>
616
616
TaskUpdateResponse EnableTaskV1 ( string taskID , RequestOptions options = null , CancellationToken cancellationToken = default ) ;
617
617
618
- /// <summary>
619
- /// Generates code for the selected model based on the given prompt.
620
- /// </summary>
621
- ///
622
- /// Required API Key ACLs:
623
- /// - addObject
624
- /// - deleteIndex
625
- /// - editSettings
626
- /// <param name="generateTransformationCodePayload"></param>
627
- /// <param name="options">Add extra http header or query parameters to Algolia.</param>
628
- /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
629
- /// <exception cref="ArgumentException">Thrown when arguments are not correct</exception>
630
- /// <exception cref="Algolia.Search.Exceptions.AlgoliaApiException">Thrown when the API call was rejected by Algolia</exception>
631
- /// <exception cref="Algolia.Search.Exceptions.AlgoliaUnreachableHostException">Thrown when the client failed to call the endpoint</exception>
632
- /// <returns>Task of GenerateTransformationCodeResponse</returns>
633
- Task < GenerateTransformationCodeResponse > GenerateTransformationCodeAsync ( GenerateTransformationCodePayload generateTransformationCodePayload , RequestOptions options = null , CancellationToken cancellationToken = default ) ;
634
-
635
- /// <summary>
636
- /// Generates code for the selected model based on the given prompt. (Synchronous version)
637
- /// </summary>
638
- ///
639
- /// Required API Key ACLs:
640
- /// - addObject
641
- /// - deleteIndex
642
- /// - editSettings
643
- /// <param name="generateTransformationCodePayload"></param>
644
- /// <param name="options">Add extra http header or query parameters to Algolia.</param>
645
- /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
646
- /// <exception cref="ArgumentException">Thrown when arguments are not correct</exception>
647
- /// <exception cref="Algolia.Search.Exceptions.AlgoliaApiException">Thrown when the API call was rejected by Algolia</exception>
648
- /// <exception cref="Algolia.Search.Exceptions.AlgoliaUnreachableHostException">Thrown when the client failed to call the endpoint</exception>
649
- /// <returns>GenerateTransformationCodeResponse</returns>
650
- GenerateTransformationCodeResponse GenerateTransformationCode ( GenerateTransformationCodePayload generateTransformationCodePayload , RequestOptions options = null , CancellationToken cancellationToken = default ) ;
651
-
652
618
/// <summary>
653
619
/// Retrieves an authentication resource by its ID.
654
620
/// </summary>
@@ -1255,38 +1221,6 @@ public interface IIngestionClient
1255
1221
/// <returns>ListTasksResponseV1</returns>
1256
1222
ListTasksResponseV1 ListTasksV1 ( int ? itemsPerPage = default , int ? page = default , List < ActionType > action = default , bool ? enabled = default , List < string > sourceID = default , List < string > destinationID = default , List < TriggerType > triggerType = default , TaskSortKeys ? sort = default , OrderKeys ? order = default , RequestOptions options = null , CancellationToken cancellationToken = default ) ;
1257
1223
1258
- /// <summary>
1259
- /// Retrieves a list of existing LLM transformation helpers.
1260
- /// </summary>
1261
- ///
1262
- /// Required API Key ACLs:
1263
- /// - addObject
1264
- /// - deleteIndex
1265
- /// - editSettings
1266
- /// <param name="options">Add extra http header or query parameters to Algolia.</param>
1267
- /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
1268
- /// <exception cref="ArgumentException">Thrown when arguments are not correct</exception>
1269
- /// <exception cref="Algolia.Search.Exceptions.AlgoliaApiException">Thrown when the API call was rejected by Algolia</exception>
1270
- /// <exception cref="Algolia.Search.Exceptions.AlgoliaUnreachableHostException">Thrown when the client failed to call the endpoint</exception>
1271
- /// <returns>Task of TransformationModels</returns>
1272
- Task < TransformationModels > ListTransformationModelsAsync ( RequestOptions options = null , CancellationToken cancellationToken = default ) ;
1273
-
1274
- /// <summary>
1275
- /// Retrieves a list of existing LLM transformation helpers. (Synchronous version)
1276
- /// </summary>
1277
- ///
1278
- /// Required API Key ACLs:
1279
- /// - addObject
1280
- /// - deleteIndex
1281
- /// - editSettings
1282
- /// <param name="options">Add extra http header or query parameters to Algolia.</param>
1283
- /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
1284
- /// <exception cref="ArgumentException">Thrown when arguments are not correct</exception>
1285
- /// <exception cref="Algolia.Search.Exceptions.AlgoliaApiException">Thrown when the API call was rejected by Algolia</exception>
1286
- /// <exception cref="Algolia.Search.Exceptions.AlgoliaUnreachableHostException">Thrown when the client failed to call the endpoint</exception>
1287
- /// <returns>TransformationModels</returns>
1288
- TransformationModels ListTransformationModels ( RequestOptions options = null , CancellationToken cancellationToken = default ) ;
1289
-
1290
1224
/// <summary>
1291
1225
/// Retrieves a list of transformations.
1292
1226
/// </summary>
@@ -2514,26 +2448,6 @@ public TaskUpdateResponse EnableTaskV1(string taskID, RequestOptions options = n
2514
2448
AsyncHelper . RunSync ( ( ) => EnableTaskV1Async ( taskID , options , cancellationToken ) ) ;
2515
2449
2516
2450
2517
- /// <inheritdoc />
2518
- public async Task < GenerateTransformationCodeResponse > GenerateTransformationCodeAsync ( GenerateTransformationCodePayload generateTransformationCodePayload , RequestOptions options = null , CancellationToken cancellationToken = default )
2519
- {
2520
-
2521
- if ( generateTransformationCodePayload == null )
2522
- throw new ArgumentException ( "Parameter `generateTransformationCodePayload` is required when calling `GenerateTransformationCode`." ) ;
2523
-
2524
- var requestOptions = new InternalRequestOptions ( options ) ;
2525
-
2526
-
2527
- requestOptions . Data = generateTransformationCodePayload ;
2528
- return await _transport . ExecuteRequestAsync < GenerateTransformationCodeResponse > ( new HttpMethod ( "POST" ) , "/1/transformations/models" , requestOptions , cancellationToken ) . ConfigureAwait ( false ) ;
2529
- }
2530
-
2531
-
2532
- /// <inheritdoc />
2533
- public GenerateTransformationCodeResponse GenerateTransformationCode ( GenerateTransformationCodePayload generateTransformationCodePayload , RequestOptions options = null , CancellationToken cancellationToken = default ) =>
2534
- AsyncHelper . RunSync ( ( ) => GenerateTransformationCodeAsync ( generateTransformationCodePayload , options , cancellationToken ) ) ;
2535
-
2536
-
2537
2451
/// <inheritdoc />
2538
2452
public async Task < Authentication > GetAuthenticationAsync ( string authenticationID , RequestOptions options = null , CancellationToken cancellationToken = default )
2539
2453
{
@@ -2862,21 +2776,6 @@ public ListTasksResponseV1 ListTasksV1(int? itemsPerPage = default, int? page =
2862
2776
AsyncHelper . RunSync ( ( ) => ListTasksV1Async ( itemsPerPage , page , action , enabled , sourceID , destinationID , triggerType , sort , order , options , cancellationToken ) ) ;
2863
2777
2864
2778
2865
- /// <inheritdoc />
2866
- public async Task < TransformationModels > ListTransformationModelsAsync ( RequestOptions options = null , CancellationToken cancellationToken = default )
2867
- {
2868
- var requestOptions = new InternalRequestOptions ( options ) ;
2869
-
2870
-
2871
- return await _transport . ExecuteRequestAsync < TransformationModels > ( new HttpMethod ( "GET" ) , "/1/transformations/models" , requestOptions , cancellationToken ) . ConfigureAwait ( false ) ;
2872
- }
2873
-
2874
-
2875
- /// <inheritdoc />
2876
- public TransformationModels ListTransformationModels ( RequestOptions options = null , CancellationToken cancellationToken = default ) =>
2877
- AsyncHelper . RunSync ( ( ) => ListTransformationModelsAsync ( options , cancellationToken ) ) ;
2878
-
2879
-
2880
2779
/// <inheritdoc />
2881
2780
public async Task < ListTransformationsResponse > ListTransformationsAsync ( int ? itemsPerPage = default , int ? page = default , SortKeys ? sort = default , OrderKeys ? order = default , RequestOptions options = null , CancellationToken cancellationToken = default )
2882
2781
{
0 commit comments