AgentSkillsCN

agentuity-cli-cloud-vector-get

按键获取特定向量条目。需要身份验证。适用于 Agentuity 云平台运维。

SKILL.md
--- frontmatter
name: agentuity-cli-cloud-vector-get
description: Get a specific vector entry by key. Requires authentication. Use for Agentuity cloud platform operations
version: "0.1.24"
license: Apache-2.0
allowed-tools: "Bash(agentuity:*)"
argument-hint: "<namespace> <key>"
metadata:
  command: "agentuity cloud vector get"
  tags: "read-only fast requires-auth"

Cloud Vector Get

Get a specific vector entry by key

Prerequisites

  • Authenticated with agentuity auth login

Usage

bash
agentuity cloud vector get <namespace> <key>

Arguments

ArgumentTypeRequiredDescription
<namespace>stringYes-
<key>stringYes-

Examples

Get a specific product vector:

bash
bunx @agentuity/cli vector get products chair-001

Get a document from knowledge base:

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

Get user profile embedding:

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

Output

Returns JSON object:

json
{
  "exists": "boolean",
  "key": "string",
  "id": "string",
  "metadata": "object",
  "document": "string",
  "similarity": "number"
}
FieldTypeDescription
existsbooleanWhether the vector exists
keystringVector key
idstringVector ID
metadataobjectVector metadata
documentstringOriginal document text
similaritynumberSimilarity score