@eidentic/pinecone
v0.2.2
Published
Pinecone vector store adapter for Eidentic — fully-managed vector search for agent memory via the Pinecone API.
Maintainers
Readme
@eidentic/pinecone
Pinecone vector store adapter for Eidentic — fully-managed vector search for agent memory
using the Pinecone API. Implements VectorPort from @eidentic/types. The Pinecone index
must be pre-created with the matching dimension and cosine metric; the adapter does not
create indexes.
Install
pnpm add @eidentic/pinecone @pinecone-database/pineconeUsage
import { PineconeVectorStore } from "@eidentic/pinecone";
import { Pinecone } from "@pinecone-database/pinecone";
const pinecone = new Pinecone({ apiKey: process.env.PINECONE_API_KEY! });
const index = pinecone.index("eidentic-memory");
const vector = PineconeVectorStore.create({
index,
dim: 1536,
});
// Use with Memory
import { Memory } from "@eidentic/memory";
const memory = new Memory({ store, vector, embedder });Links
Apache-2.0
