🚀quickstart
- プラグイン
- zilliz
- ソース
- GitHub で見る ↗
説明
次のような場合に使用: ユーザーがZilliz Cloud CLIのセットアップ、インストール、認証、またはクラスターコンテキストの初期設定を初めて行いたい場合(ワンショットオンボーディング)。
原文を表示
Use when the user wants to set up, install, authenticate, or configure the Zilliz Cloud CLI and cluster context for the first time (one-shot onboarding).
ユースケース
- ✓Zilliz Cloud CLIのセットアップ
- ✓インストール
- ✓認証
- ✓クラスターコンテキスト初期設定
本文(日本語訳)
ユーザーを Zilliz Cloud CLI のセットアップ全体通してガイドします。以下の手順を順番に実行してください:
ステップ 1: zilliz-cli のインストール
すでにインストール済みか確認:
zilliz --version
未インストール、またはアップグレードが必要な場合:
curl -fsSL https://raw.githubusercontent.com/zilliztech/zilliz-cli/master/install.sh | bash
インストールの確認:
zilliz --version
ステップ 2: 認証
すでにログイン済みか確認:
zilliz auth status
未ログインの場合は、ユーザー自身のターミナルを開いて、以下のいずれかを実行するよう案内してください:
- ブラウザログイン(推奨) —
zilliz login— OAuth 認証のためブラウザが開き、全機能にアクセス可能。 - API Key によるログイン —
zilliz login --api-key— API Key の入力を求めるプロンプトが表示され、ブラウザ不要。 - configure による API Key 設定(レガシー) —
zilliz configure— API Key の入力を求めるプロンプトが表示され、よりシンプルなセットアップ方法。 - 環境変数による設定 —
.zshrc/.bashrcにexport ZILLIZ_API_KEY=<key>を追加。
重要: これらのコマンドはインタラクティブな入力を必要とするため、agent 内では実行できません。ユーザーに API Key をチャットに貼り付けるよう求めないでください。
ユーザーがログイン完了を確認したら、以下で検証してください:
zilliz auth status
ステップ 3: クラスターの選択
利用可能なクラスターを一覧表示:
zilliz cluster list
クラスターが存在しない場合は、作成を提案:
zilliz project list
zilliz cluster regions
zilliz cluster create --type serverless --name <name> --project-id <id> --region <region>
ステップ 4: クラスターコンテキストの設定
データ操作に使用するアクティブなクラスターを設定:
zilliz context set --cluster-id <selected-cluster-id>
ステップ 5: 動作確認
すべてが正常に機能していることを確認:
zilliz context current
zilliz collection list
クラスター ID、エンドポイント、データベースを表示しながら、セットアップ結果をユーザーに報告してください。
原文(English)を表示
Guide the user through the complete Zilliz Cloud CLI setup. Follow these steps in order:
Step 1: Install zilliz-cli
Check if already installed:
zilliz --version
If not installed or needs upgrading:
curl -fsSL https://raw.githubusercontent.com/zilliztech/zilliz-cli/master/install.sh | bash
Verify:
zilliz --version
Step 2: Authenticate
Check if already logged in:
zilliz auth status
If not logged in, instruct the user to open their own terminal and run one of:
- Browser login (recommended) —
zilliz login— opens browser for OAuth, full feature access. - API Key via login —
zilliz login --api-key— prompts for API key, no browser needed. - API Key via configure (legacy) —
zilliz configure— prompts for API key, simpler setup. - Environment variable — add
export ZILLIZ_API_KEY=<key>to.zshrc/.bashrc.
IMPORTANT: These commands require interactive input and cannot run inside the agent. Do NOT ask the user to paste API keys into the chat.
Wait for the user to confirm login is complete, then verify:
zilliz auth status
Step 3: Select a Cluster
List available clusters:
zilliz cluster list
If no clusters exist, offer to create one:
zilliz project list
zilliz cluster regions
zilliz cluster create --type serverless --name <name> --project-id <id> --region <region>
Step 4: Set Cluster Context
Set the active cluster for data operations:
zilliz context set --cluster-id <selected-cluster-id>
Step 5: Verify
Confirm everything works:
zilliz context current
zilliz collection list
Report the setup result to the user, showing their cluster ID, endpoint, and database.
原文・著作権は Anthropic および各プラグイン作者に帰属します。日本語訳は Claude API による自動翻訳です。