Functions
upsertEmbeddingModelConfigApiV1EmbeddingModelConfigsPut
upsertEmbeddingModelConfigApiV1EmbeddingModelConfigsPut<
ThrowOnError
>(options
):RequestResult
<EmbeddingModelConfig
,HTTPValidationError
,ThrowOnError
>
Defined in: packages/cloud/src/client/sdk.gen.ts:1172
Upsert Embedding Model Config Upserts an embedding model config. Updates if an embedding model config with the same name and project_id already exists. Otherwise, creates a new embedding model config.
Type Parameters
ThrowOnError
ThrowOnError
extends boolean
= false
Parameters
options
OmitKeys
<RequestOptions
<ThrowOnError
, string
>, "body"
| "url"
> & UpsertEmbeddingModelConfigApiV1EmbeddingModelConfigsPutData
& Pick
<RequestOptions
<ThrowOnError
, string
>, "headers"
>
Returns
RequestResult
<EmbeddingModelConfig
, HTTPValidationError
, ThrowOnError
>