Logo
Functions

upsertEmbeddingModelConfigApiV1EmbeddingModelConfigsPut

upsertEmbeddingModelConfigApiV1EmbeddingModelConfigsPut<ThrowOnError>(options): RequestResult<EmbeddingModelConfig, HttpValidationError, ThrowOnError>

Defined in: packages/cloud/src/client/sdk.gen.ts:1296

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

Options<UpsertEmbeddingModelConfigApiV1EmbeddingModelConfigsPutData, ThrowOnError>

Returns

RequestResult<EmbeddingModelConfig, HttpValidationError, ThrowOnError>