upstash-vector-js

Fähigkeiten für Upstash Vector-Funktionen, TypeScript/JavaScript SDK-Nutzung und Integrationen. Verwenden, wenn Benutzer fragen, wie sie mit Vector, seinem TS SDK, Funktionen oder… arbeiten können.

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.

Mehr Skills von upstash

context7-docs
upstash
Aktuelle Dokumentation und Codebeispiele für jede Bibliothek, jedes Framework, SDK, CLI-Tool oder jeden Cloud-Dienst abrufen. Verwenden Sie dies, wenn der Benutzer nach einem bestimmten … fragt.
official
context7-mcp
upstash
Diese Fähigkeit sollte verwendet werden, wenn der Benutzer nach Bibliotheken, Frameworks, API-Referenzen fragt oder Codebeispiele benötigt. Aktiviert für Einrichtungsfragen, Code…
official
ctx7-cli
upstash
Verwende die ctx7 CLI, um Bibliotheksdokumentation abzurufen, KI-Codierungsfähigkeiten zu verwalten und Context7 MCP zu konfigurieren. Aktiviere, wenn der Benutzer "ctx7" oder "context7" erwähnt,…
official
docs
upstash
Ruft aktuelle Dokumentation und Codebeispiele von Context7 für jede Programmbibliothek oder jedes Framework ab und führt Abfragen durch. Verwenden Sie dies beim Schreiben von Code, der von … abhängt.
official
documentation-lookup
upstash
Ruft aktuelle Bibliotheksdokumentation und Codebeispiele ab, anstatt sich auf Trainingsdaten zu verlassen. Löst Bibliotheksnamen in Context7-Dokumentations-IDs auf und fragt dann nach Setup-, Konfigurations- und API-Referenzinformationen ab. Unterstützt wichtige Frameworks und Bibliotheken: React, Vue, Svelte, Next.js, Express, Prisma, Supabase, Tailwind und andere. Aktiviert automatisch bei Setup-Fragen, Code-Generierungsanfragen und frameworkspezifischen Anfragen. Gibt versionsbewusste Dokumentation und offiziellen Code zurück...
official
find-docs
upstash
Rufe aktuelle Dokumentation und Codebeispiele für jede Bibliothek mit der Context7 CLI ab.
official
redis-js
upstash
Arbeiten Sie mit dem Upstash Redis JavaScript/TypeScript SDK für serverlose Redis-Operationen. Verwenden Sie es für Caching, Sitzungsspeicher, Ratenbegrenzung, Bestenlisten, Volltext…
official
upstash-search-js
upstash
Einstiegspunkt für Dokumentationsfähigkeiten, die Schnellstarts, Kernkonzepte und die Nutzung des TypeScript SDKs von Upstash Search abdecken. Verwenden Sie dies, wenn ein Benutzer fragt, wie man loslegt,…
official