Skip to content

Commit

Permalink
fix(specs): remove models from ingestion specs [skip-bc] (generated)
Browse files Browse the repository at this point in the history
algolia/api-clients-automation#3774

Co-authored-by: algolia-bot <[email protected]>
Co-authored-by: Clément Vannicatte <[email protected]>
  • Loading branch information
algolia-bot and shortcuts committed Sep 19, 2024
1 parent a4ba8b8 commit 2400c4b
Show file tree
Hide file tree
Showing 18 changed files with 155 additions and 539 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -438,28 +438,6 @@ public class IngestionClient(
)
}

/**
* Generates code for the selected model based on the given prompt.
*
* Required API Key ACLs:
* - addObject
* - deleteIndex
* - editSettings
* @param generateTransformationCodePayload
* @param requestOptions additional request configuration.
*/
public suspend fun generateTransformationCode(generateTransformationCodePayload: GenerateTransformationCodePayload, requestOptions: RequestOptions? = null): GenerateTransformationCodeResponse {
val requestConfig = RequestConfig(
method = RequestMethod.POST,
path = listOf("1", "transformations", "models"),
body = generateTransformationCodePayload,
)
return requester.execute(
requestConfig = requestConfig,
requestOptions = requestOptions,
)
}

/**
* Retrieves an authentication resource by its ID.
*
Expand Down Expand Up @@ -900,26 +878,6 @@ public class IngestionClient(
)
}

/**
* Retrieves a list of existing LLM transformation helpers.
*
* Required API Key ACLs:
* - addObject
* - deleteIndex
* - editSettings
* @param requestOptions additional request configuration.
*/
public suspend fun listTransformationModels(requestOptions: RequestOptions? = null): TransformationModels {
val requestConfig = RequestConfig(
method = RequestMethod.GET,
path = listOf("1", "transformations", "models"),
)
return requester.execute(
requestConfig = requestConfig,
requestOptions = requestOptions,
)
}

/**
* Retrieves a list of transformations.
*
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ public data class BoughtTogetherQuery(
/** Maximum number of recommendations to retrieve. By default, all recommendations are returned and no fallback request is made. Depending on the available recommendations and the other request parameters, the actual number of recommendations may be lower than this value. */
@SerialName(value = "maxRecommendations") val maxRecommendations: Int? = null,

@SerialName(value = "queryParameters") val queryParameters: SearchParams? = null,
@SerialName(value = "queryParameters") val queryParameters: RecommendSearchParams? = null,
) : RecommendationsRequest
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import kotlinx.serialization.json.*
@Serializable
public data class FacetOrdering(

@SerialName(value = "facets") val facets: Facets? = null,
@SerialName(value = "facets") val facets: IndexSettingsFacets? = null,

/** Order of facet values. One object for each facet. */
@SerialName(value = "values") val values: Map<kotlin.String, Value>? = null,
Expand Down
Loading

0 comments on commit 2400c4b

Please sign in to comment.