@@ -615,40 +615,6 @@ public interface IIngestionClient
615615 /// <returns>TaskUpdateResponse</returns>
616616 TaskUpdateResponse EnableTaskV1 ( string taskID , RequestOptions options = null , CancellationToken cancellationToken = default ) ;
617617
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-
652618 /// <summary>
653619 /// Retrieves an authentication resource by its ID.
654620 /// </summary>
@@ -1255,38 +1221,6 @@ public interface IIngestionClient
12551221 /// <returns>ListTasksResponseV1</returns>
12561222 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 ) ;
12571223
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-
12901224 /// <summary>
12911225 /// Retrieves a list of transformations.
12921226 /// </summary>
@@ -2514,26 +2448,6 @@ public TaskUpdateResponse EnableTaskV1(string taskID, RequestOptions options = n
25142448 AsyncHelper . RunSync ( ( ) => EnableTaskV1Async ( taskID , options , cancellationToken ) ) ;
25152449
25162450
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-
25372451 /// <inheritdoc />
25382452 public async Task < Authentication > GetAuthenticationAsync ( string authenticationID , RequestOptions options = null , CancellationToken cancellationToken = default )
25392453 {
@@ -2862,21 +2776,6 @@ public ListTasksResponseV1 ListTasksV1(int? itemsPerPage = default, int? page =
28622776 AsyncHelper . RunSync ( ( ) => ListTasksV1Async ( itemsPerPage , page , action , enabled , sourceID , destinationID , triggerType , sort , order , options , cancellationToken ) ) ;
28632777
28642778
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-
28802779 /// <inheritdoc />
28812780 public async Task < ListTransformationsResponse > ListTransformationsAsync ( int ? itemsPerPage = default , int ? page = default , SortKeys ? sort = default , OrderKeys ? order = default , RequestOptions options = null , CancellationToken cancellationToken = default )
28822781 {
0 commit comments