@obyflow/adapter-vectordb
v1.1.2
Published
Vector-database and embedding instrumentation adapters for [Obyflow](https://github.com/Obyflow/obyflow) — wraps client calls to Pinecone, Qdrant, Weaviate, Chroma, pgvector, and Milvus, plus OpenAI/Anthropic/Cohere embedding calls, and emits `vector_op`/
Readme
@obyflow/adapter-vectordb
Vector-database and embedding instrumentation adapters for Obyflow — wraps client calls to Pinecone, Qdrant, Weaviate, Chroma, pgvector, and Milvus, plus OpenAI/Anthropic/Cohere embedding calls, and emits vector_op/embedding events.
This package is consumed internally by @obyflow/node's instrument.pinecone()/.qdrant()/.weaviate()/.chroma()/.pgvector()/.milvus() helpers. Install it directly only if you're wiring vector-DB instrumentation into a custom setup outside the Node SDK.
Install
npm install @obyflow/adapter-vectordbRequires Node.js ≥ 22.
Usage
import { instrumentPineconeIndex } from "@obyflow/adapter-vectordb";
const instrumentedIndex = instrumentPineconeIndex(index, {
service: "checkout-api",
emit: (event) => store.append(event),
});Links
License
MIT © Anupam Kumar
