Install
openclaw skills install vector-databasesDeep vector database workflow—embedding choice, index algorithms, recall/latency trade-offs, hybrid search, filtering, operational tuning, and cost. Use when selecting or optimizing Pinecone, Milvus, Qdrant, Weaviate, pgvector, OpenSearch kNN, etc.
openclaw skills install vector-databasesVector search is approximate nearest neighbor (ANN) at scale—not magic semantic understanding. Success requires embedding model alignment, index parameters, metadata filters, and evaluation against real queries.
Trigger conditions:
Initial offer:
Use six stages: (1) problem & metrics, (2) embeddings & schema, (3) index & parameters, (4) hybrid & filtering, (5) operations & cost, (6) evaluation & iteration. Confirm scale (vectors, QPS, dimension) and latency SLO.
Goal: Define what “similar” means for the product—not only cosine similarity.
Exit condition: Success metric and minimum acceptable recall/latency stated.
Goal: Stable embedding pipeline with versioning and metadata design.
doc_id, tenant_id, acl, source, timestampsExit condition: ID strategy + metadata filter needs documented.
Goal: Pick index type and build params for data size and recall.
efConstruction, MExit condition: Benchmark results: p95 latency vs recall at fixed k.
Goal: Combine vector similarity with structured constraints—most production needs this.
Exit condition: Query plan documented: ANN → filter → rerank (as applicable).
Goal: Reliable ingestion, monitoring, and predictable bills.
Exit condition: Runbook for reindex, scaling, and incident “search degraded.”
Goal: Continuous improvement with labeled or proxy eval.