Vector Store

Transient vector store service for fast similarity search (FAISS)

majiayu000 Updated 567 repo stars

File contents

Vector Store Skill

Transient vector store service for fast similarity search using FAISS (IndexFlatIP). Designed to be used by other skills (memory, edge-verifier) to accelerate KNN search.

Configuration

  • VECTOR_STORE_PORT: Port to listen on (default: 8600)

API

POST /index

Add vectors to the index.

{
  "ids": ["id1", "id2"],
  "vectors": [[0.1, 0.2, ...], [0.3, 0.4, ...]],
  "reset": false
}

POST /search

Search for nearest neighbors.

{
  "query": [0.1, 0.2, ...],
  "k": 10
}

Returns:

{
  "ids": ["id2", "id1"],
  "scores": [0.95, 0.88]
}

DELETE /reset

Clear the index.

GET /info

Get index stats.

majiayu000/claude-skill-registry-data/tree/main/ai-ml/vector-store-grahama1970-agent-skills commit 620104a9db

Frequently asked questions

npx skillmds@latest add majiayu000/vector-store-2