メインコンテンツまでスキップ

Change keys of an embedding configuration's settings (JSON Merge Patch on config).

PATCH/api/v1/embedding-configs/{embedding_config_id}settings:write
注記

このページの操作の説明は、API の OpenAPI 文書のとおり英語で記載しています。

Sends only the keys to change: a key sent replaces that key's value, a key sent as null returns to its default, and every other stored key is kept. Turning on a generate_* switch (or resetting one whose default is on) makes the Portal embed every document with no embedding yet, which can be paid usage for the whole corpus. The embedding model is never changed here. Needs Edit Clustering Embedding Configs.

スコープsettings:write (機密性の高いスコープ)
非同期いいえ
MCP ツールupdate_embedding_config
Portal の権限edit_clustering_embedding_configs

パラメーター​

名前場所型必須説明
embedding_config_idpathstring必須
Docwize-Versionheaderstring (date)任意
If-Matchheaderstring任意

リクエスト本文​

Content-Type型
application/jsonEmbeddingConfigPatchInput
application/merge-patch+jsonEmbeddingConfigPatchInput

応答​

ステータス説明本文
200Success.application/json EmbeddingConfig または object
400invalid_version, malformed_jsonapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
404not_foundapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
412precondition_failedapplication/problem+json Problem
413payload_too_largeapplication/problem+json Problem
415unsupported_media_typeapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

エラー​

この操作が返す可能性のある problem のコードです。各コードからそのページに移動できます。

スキーマ​

EmbeddingConfig​

フィールド型必須説明
configobject必須The settings object. A credential key appears as has_<key>, never with its value.
database_typestring必須
datasourcestring必須
effective_switchesEmbeddingSwitches または null必須What the embedding sweep does today; null for a configuration that is not the document one.
elastic_query_stringstring または null必須
embedding_config_idstring必須
embedding_modelstring必須
field_namestring必須
is_documentboolean必須True for the document configuration the embedding sweep reads.
metadata_columnsstring の配列必須
namestring必須
typestring必須

EmbeddingConfigPatchInput​

フィールド型必須説明
configEmbeddingConfigPatchValueInput または null任意The settings keys to change.
database_typestring または null任意
datasourcestring または null任意
effective_switchesobject または null任意
elastic_query_stringstring または null任意
embedding_config_idstring または null任意
embedding_modelstring または null任意
field_namestring または null任意
is_documentboolean または null任意
metadata_columnsstring の配列 または null任意
namestring または null任意
typestring または null任意

EmbeddingConfigPatchValueInput​

フィールド型必須説明
count_vectorizer_configobject または null任意
generate_embeddingsboolean または null任意
generate_image_embeddingsboolean または null任意
generate_metadata_embeddingsboolean または null任意
hbdscan_configobject または null任意
languagestring または null任意
lemmatization_configobject または null任意
recreate_embeddingsboolean または null任意
recreate_raw_contentboolean または null任意
reduce_outliersboolean または null任意
representation_modelstring または null任意
rerankobject または null任意
small_n_clustering_configobject または null任意
tfidf_vectorizer_configobject または null任意
umap_configobject または null任意
upload_doc_partsboolean または null任意

EmbeddingSwitches​

フィールド型必須説明
generate_embeddingsboolean必須
generate_image_embeddingsboolean必須
generate_metadata_embeddingsboolean必須