upstash-vector-js

작성자: upstash

Upstash Vector 기능, TypeScript/JavaScript SDK 사용법 및 통합에 대한 스킬입니다. 사용자가 Vector, TS SDK, 기능 등에 대해 작업하는 방법을 물을 때 사용하세요.

npx skills add https://github.com/upstash/skills --skill upstash-vector-js

Vector Documentation Skill

Quick Start

Vector is a high‑performance vector database for storing, querying, and managing vector embeddings.

Basic workflow:

  • Install the Vector TS SDK.
  • Connect to a Vector instance.
  • Upsert vectors, query them, and manage namespaces.

Example (TypeScript):

import { Index } from "@upstash/vector";
const index = new Index({
  url: process.env.UPSTASH_VECTOR_REST_URL!,
  token: process.env.UPSTASH_VECTOR_REST_TOKEN!,
});

await index.upsert([{ id: "1", vector: [0.1, 0.2], metadata: { tag: "example" } }]);

const results = await index.query({
  vector: [0.1, 0.2],
  topK: 5,
});

For full usage, refer to the linked skill files below.

Other Skill Files

TS SDK Reference

  • sdk-methods: Explains SDK commands: delete, fetch, info, query, range, reset, resumable-query, upsert

Features

  • features/namespaces: Explains namespaces and dataset organization.
  • features/index-structure: Covers hybrid and sparse index structures.
  • features/filtering-and-metadata: Details metadata storage and server-side filtering.

Use these files for deeper guidance on SDK usage, advanced configurations, algorithms, and integrations.

upstash의 다른 스킬

context7-cli
upstash
ctx7 CLI를 사용하여 라이브러리 문서를 가져오고, AI 코딩 스킬을 관리하며, Context7 MCP를 구성하세요. 사용자가 "ctx7" 또는 "context7"을 언급하면 활성화됩니다.
official
context7-mcp
upstash
이 스킬은 사용자가 라이브러리, 프레임워크, API 참조에 대해 묻거나 코드 예제가 필요할 때 사용해야 합니다. 설정 질문, 코드…에 대해 활성화됩니다.
official
documentation-lookup
upstash
이 스킬은 사용자가 라이브러리, 프레임워크, API 참조에 대해 묻거나 코드 예제가 필요할 때 사용되어야 합니다. 설정 질문, 코드...에 대해 활성화됩니다.
official
find-docs
upstash
Context7 CLI를 사용하여 모든 라이브러리의 최신 문서와 코드 예제를 검색합니다.
official
context7-cli
upstash
ctx7 CLI를 사용하여 라이브러리 문서를 가져오고, AI 코딩 스킬을 관리하며, Context7 MCP를 구성하세요. 사용자가 "ctx7" 또는 "context7"을 언급할 때 활성화됩니다.
official
context7-docs-lookup
upstash
Context7를 사용하여 최신 라이브러리 문서를 가져옵니다. 사용자가 라이브러리, 프레임워크, API 참조에 대해 묻거나 코드 예제가 필요할 때 활성화됩니다…
official
context7-mcp
upstash
이 스킬은 사용자가 라이브러리, 프레임워크, API 참조에 대해 묻거나 코드 예제가 필요할 때 사용해야 합니다. 설정 질문, 코드…에 대해 활성화됩니다.
official
ctx7-cli
upstash
ctx7 CLI를 사용하여 라이브러리 문서를 가져오고, AI 코딩 스킬을 관리하며, Context7 MCP를 구성하세요. 사용자가 "ctx7" 또는 "context7"을 언급할 때 활성화됩니다.
official