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

Pipeline の削除 (V1)

Deprecated
ノート

このエンドポイントは非推奨です。

特定の pipeline を削除します。

DELETE/v1/pipelines/{PIPELINE_ID}
接続エンドポイント

このAPIのBase URLは以下の形式です:

https://controller.api.${CLOUD_REGION}.zillizcloud.com

📘ノート
shell
export CLOUD_REGION="gcp-us-west1"
export BASE_URL="https://controller.api.${CLOUD_REGION}.zillizcloud.com"
パラメータ
Authorizationstringheader必要

認証トークンは、適切な権限を持つ API key である必要があります。

値の例: Bearer {{TOKEN}}
PIPELINE_IDstringpath必要

削除する pipeline の ID。

値の例: pipe-xxxxxxxxxxxxxxxxxxxxxxx
bash
export TOKEN="YOUR_API_KEY"
export PIPELINE_ID="pipe-xxxxxxxxxxxxxxxxxxxxxxx"

curl --request DELETE \
--url "${BASE_URL}/v1/pipelines/${PIPELINE_ID}" \
--header "Authorization: Bearer ${TOKEN}" \
--header "Request-Timeout: 5" \
--header "Content-Type: application/json"
レスポンス

削除された特定の pipeline の情報を返します。

削除リクエスト後に返される可能性がある Pipeline 表現のひとつで、レスポンス本文にはいずれか 1 つのバリアントのみが含まれます。

codeinteger

リクエストが成功したかどうかを示します。

dataobject

pipeline が Ingestion Pipeline の場合のレスポンスペイロード。

pipelineIdinteger

pipeline の ID。

namestring

pipeline の名前。

typestring

pipeline のタイプ。ingestion pipeline の場合、値は INGESTION である必要があります。

createTimestampinteger

pipeline が作成された時刻を示すタイムスタンプ。

descriptionstring

pipeline の説明。

statusstring

pipeline の現在のステータス。値が SERVING 以外の場合、pipeline は動作していません。

totalUsagearray

pipeline の合計トークン使用量。

[]totalUsageobject

pipeline の合計トークン使用量に関する統計。

embeddingstring必要

embedding model の合計トークン使用量。

functionsarray

pipeline 内の function。ingestion pipeline には 1 つの INDEX function が必須で、かつ 1 つのみ含める必要があり、0~50 個の PRESERVE function を含めることができます。

[]functionsoneOf

この pipeline に含まれる function の一覧。

text ingestion pipeline の function。

namestring必要

function の名前。

actionstring必要

function のタイプ。text ingestion pipeline の場合、値は INDEX_TEXT または PRESERVE である必要があります。

inputFieldsarray必要

必要に応じてフィールドに名前を付けます。text ingestion pipeline では、取り込むテキストのリストに使用します。

[]inputFieldsstring

入力フィールド。

langaugestring必要

ソースデータの言語。

embeddingstring必要

使用中の embedding model の名前。

doc ingestion pipeline の function。

namestring必要

function の名前。

actionstring必要

function のタイプ。doc ingestion pipeline の場合、値は INDEX_DOC または PRESERVE である必要があります。

inputFieldstring必要

必要に応じてフィールドに名前を付けます。doc ingestion pipeline では、取り込む doc の pre-signed url に使用します。

langaugestring必要

ソースデータの言語。

chunkSizeinteger

分割されたドキュメントセグメントの最大サイズ。許可される chunk size の範囲は、使用中の embedding model によって異なります。詳細は Zilliz Cloud Limits を参照してください。

デフォルト値: 500
embeddingstring必要

使用中の embedding model の名前。

splitByarray

Zilliz Cloud が指定されたドキュメントをより小さなチャンクに分割するための splitter。値のデフォルトは ["\n\n", "\n", " ", ""] です。

[]splitBystring

splitter。

image ingestion pipeline の function。

namestring必要

function の名前。

actionstring必要

function のタイプ。image ingestion pipeline の場合、値は INDEX_IMAGE または PRESERVE である必要があります。

inputFieldsarray必要

必要に応じてフィールドに名前を付けます。image ingestion pipeline では、image_url は object storage bucket 内の pre-signed image URL を表し、image_id は image ID を表します。

[]inputFieldsstring

入力フィールド。

embeddingstring必要

使用中の embedding model の名前。

メタデータを保持する ingestion pipeline の function。

namestring

function の名前。

actionstring

function のタイプ。メタデータを保持する ingestion pipeline の場合、値は PRESERVE である必要があります。

inputFieldstring

必要に応じてフィールドに名前を付けます。ingestion pipeline の PRESERVE function では、Zilliz Cloud はこの値を、作成する collection 内のフィールド名として使用します。

outputFieldstring

出力フィールドの名前。値は input_field と同じである必要があります。

fieldTypestring

ターゲット collection に作成するフィールドのデータ型。

CLUSTER_IDstring

この pipeline が適用されるターゲット cluster。

collectionNamestring

この pipeline が適用されるターゲット collection。

削除リクエスト後に返される可能性がある Pipeline 表現のひとつで、レスポンス本文にはいずれか 1 つのバリアントのみが含まれます。

codeinteger

リクエストが成功したかどうかを示します。

dataobject

pipeline が Search Pipeline の場合のレスポンスペイロード。

pipelineIdinteger

pipeline ID。

namestring

pipeline の名前。

typestring

pipeline のタイプ。search pipeline の場合、値は SEARCH である必要があります。

descriptionstring

pipeline の説明。

statusstring

pipeline の現在のステータス。値が SERVING でない場合、pipeline は動作していません。

totalUsagearray

pipeline の合計トークン使用量。

[]totalUsageobject

pipeline の合計トークン使用量の統計。

embeddingstring

embedding model のトークン使用量。

rerankstring

reranker model のトークン使用量。

functionsarray

パイプライン内の関数です。search pipeline には 1 つの関数しか含められません。

[]functionsoneOf

この pipeline に含まれる function の一覧。

text search pipeline の function。

namestring

関数の名前です。

actionstring

関数のタイプです。テキスト検索パイプラインの場合、値は SEARCH_TEXT である必要があります。

inputFieldsarray

必要に応じてフィールド名を付けます。テキスト検索パイプラインでは、クエリテキスト (query_text) に使用します。

[]inputFieldsstring

入力フィールドです。

embeddingstring

使用中の embedding model です。

rerankerstring

使用中の reranking model です。

collectionNamestring

パイプラインが適用される対象コレクションの名前です。

clusterIdstring

パイプラインが適用される対象クラスターの ID です。

doc search pipeline の関数です。

namestring

追加する関数の名前です。関数名は 3~64 文字の文字列で、英数字とアンダースコアのみを含めることができます。

actionstring

追加する関数のタイプです。doc search pipeline の場合、値は SEARCH_DOC_CHUNK である必要があります。

clusterIdstring

パイプラインが適用される対象クラスターの ID です。

collectionNamestring

パイプラインが適用される対象コレクションの名前です。

embeddingstring

ベクトル検索で使用される embedding model です。互換性のあるコレクションで選択された embedding model と一致している必要があります。詳細については、Which embedding model does Zilliz Cloud Pipelines use? を参照してください。

rerankerstring

検索結果の品質を向上させるために候補出力のセットを順位付けする際に使用される reranking model です。現在、指定可能な値は zilliz/bge-reranker-base のみです。詳細については、Reranker を参照してください。

inputFieldsarray

必要に応じてフィールド名を付けます。doc search pipeline では、クエリテキスト (query_text) に使用します。

[]inputFieldsstring

入力フィールドです。

image search pipeline の関数です。

namestring

追加する関数の名前です。関数名は 3~64 文字の文字列で、英数字とアンダースコアのみを含めることができます。

actionstring

追加する関数のタイプです。reverse image search pipeline の場合、値は SEARCH_IMAGE_BY_IMAGE である必要があります。

clusterIdstring

パイプラインが適用される対象クラスターの ID です。

collectionNamestring

パイプラインが適用される対象コレクションの名前です。

embeddingstring

ベクトル検索で使用される embedding model です。互換性のあるコレクションで選択された embedding model と一致している必要があります。詳細については、Which embedding model does Zilliz Cloud Pipelines use? を参照してください。

rerankerstring

使用中の reranker model です。

inputFieldsarray

必要に応じてフィールド名を付けます。reverse image search pipeline では、クエリ画像 URL (query_image_url) に使用します。

[]inputFieldsstring

入力フィールドです。

reverse image search pipeline の関数です。

namestring

追加する関数の名前です。関数名は 3~64 文字の文字列で、英数字とアンダースコアのみを含めることができます。

actionstring

追加する関数のタイプです。reverse image search pipeline の場合、値は SEARCH_IMAGE_BY_IMAGE である必要があります。

clusterIdstring

パイプラインが適用される対象クラスターの ID です。

collectionNamestring

パイプラインが適用される対象コレクションの名前です。

embeddingstring

ベクトル検索で使用される embedding model です。互換性のあるコレクションで選択された embedding model と一致している必要があります。詳細については、Which embedding model does Zilliz Cloud Pipelines use? を参照してください。

rerankerstring

使用中の reranker model です。

inputFieldsarray

必要に応じてフィールド名を付けます。text-image search pipeline では、クエリテキスト (query_text) に使用します。

[]inputFieldsstring

入力フィールドです。

削除リクエスト後に返される可能性がある Pipeline 表現のひとつで、レスポンス本文にはいずれか 1 つのバリアントのみが含まれます。

codeinteger

リクエストが成功したかどうかを示します。

dataobject

パイプラインが Deletion Pipeline の場合のレスポンスペイロードです。

pipelineIdinteger

パイプラインの ID です。

namestring

パイプラインの名前です。

typestring

パイプラインのタイプです。ingestion pipeline の場合、値は INGESTION である必要があります。

createTimestampinteger

パイプラインが作成された日時を示すタイムスタンプです。

descriptionstring

パイプラインの説明です。

statusstring

パイプラインの現在のステータスです。値が SERVING 以外の場合、パイプラインは動作していません。

functionsoneOf

パイプライン内の関数。ingestion pipeline には 1 つだけの INDEX 関数が必須で、0 ~ 50 個の PRESERVE 関数を含めることができます。

text ingestion pipeline の関数です。

namestring

関数の名前です。

actionstring

関数のタイプです。text deletion pipeline の場合、値は PURGE_TEXT_INDEX または PURGE_BY_EXPRESSION である必要があります。

inputFieldsarray

必要に応じてフィールド名を付けます。text ingestion pipeline では、削除するテキストの ID (id) または式 (expression) に使用します。

[]inputFieldsstring

入力フィールドです。

doc ingestion pipeline の関数です。

namestring

関数の名前。

actionstring

関数のタイプ。doc deletion pipeline の場合、値は PURGE_DOC_INDEX または PURGE_BY_EXPRESSION にする必要があります。

inputFieldsstring

必要に応じてフィールドに名前を付けます。doc deletion pipeline では、削除する doc の名前 (doc_name) または式 (expression) に使用します。

image ingestion pipeline の関数。

namestring

追加する関数の名前。関数名は 3 ~ 64 文字の文字列で、英数字とアンダースコアのみを含めることができます。

actionstring

追加する関数のタイプ。image deletion pipeline の場合、値は PURGE_IMAGE_INDEX または PURGE_BY_EXPRESSION にする必要があります。

inputFieldsarray

必要に応じてフィールドに名前を付けます。image deletion pipeline では、削除する画像の ID (image_id) または式 (expression) に使用します。

[]inputFieldsstring

入力フィールド。

CLUSTER_IDstring

パイプラインが適用される対象クラスター。

collectionNamestring

パイプラインが適用される対象コレクション。

エラーメッセージを返します。

codeinteger

レスポンスコード。

messagestring

エラーメッセージ。

json
{
"code": 200,
"data": {
"pipelineId": "pipe-xxx",
"name": "my_text_ingestion_pipeline",
"type": "INGESTION",
"createTimestamp": 1721187300000,
"description": "A pipeline that generates text embeddings and stores additional fields.",
"status": "SERVING",
"totalUsage": {
"embedding": 0
},
"functions": [
{
"name": "index_my_text",
"action": "INDEX_TEXT",
"inputFields": [
"text_list"
],
"language": "ENGLISH",
"embedding": "zilliz/bge-base-en-v1.5"
},
{
"name": "keep_text_info",
"action": "PRESERVE",
"inputField": "source",
"outputField": "source",
"fieldType": "VarChar"
}
],
"clusterId": "inxx-xxxx",
"collectionName": "my_collection"
}
}
json
{
"code": 80002,
"message": "Token not found or unauthorized: The provided token does not exist in our records, or you do not have the necessary permissions to use this token. Please ensure you have the correct token."
}