返回 Skill 列表
extension
分类: 开发与工程无需 API Key

agentuity-cli-cloud-vector-get

通过键获取特定向量条目。需要身份验证。用于Agentuity云平台操作

person作者: jakexiaohubgithub

Cloud Vector Get

Get a specific vector entry by key

Prerequisites

  • Authenticated with agentuity auth login
  • Project context required (run from project directory or use --project-id)

Usage

agentuity cloud vector get <namespace> <key>

Arguments

| Argument | Type | Required | Description | |----------|------|----------|-------------| | <namespace> | string | Yes | - | | <key> | string | Yes | - |

Examples

Get a specific product vector:

bunx @agentuity/cli vector get products chair-001

Get a document from knowledge base:

bunx @agentuity/cli vector get knowledge-base doc-123

Get user profile embedding:

bunx @agentuity/cli vector get embeddings user-profile-456

Output

Returns JSON object:

{
  "exists": "boolean",
  "key": "string",
  "id": "string",
  "metadata": "object",
  "document": "string",
  "similarity": "number"
}

| Field | Type | Description | |-------|------|-------------| | exists | boolean | Whether the vector exists | | key | string | Vector key | | id | string | Vector ID | | metadata | object | Vector metadata | | document | string | Original document text | | similarity | number | Similarity score |