Create a "collection" — in Pinecone this maps to a namespace. Namespaces are created implicitly on first upsert, so this is a no-op.
Optional _options: CreateCollectionOptionsUpsert vectors into Pinecone. Batches automatically in chunks of 100 (Pinecone's max batch size).
Optional options: UpsertOptionsQuery for top-K nearest neighbors via Pinecone's query endpoint. Supports metadata filtering via Pinecone's native filter syntax.
Optional options: QueryOptionsHybrid search is not natively supported by Pinecone in a single call. Falls back to dense-only query. For true hybrid search, use Postgres or Qdrant backends which support server-side RRF fusion.
Optional options: QueryOptions & { Delete vectors by ID or delete all in namespace.
Optional ids: string[]Optional options: DeleteOptions
Interface
IVectorStore
Description
Defines the contract for interacting with a specific vector database or storage backend. Implementations will wrap specific clients (e.g., Pinecone client, Weaviate client, in-memory store logic).