Skip to content

feat: add Pinecone and Milvus vector store adapters - #3

Closed
indrazm wants to merge 3 commits into
mainfrom
feat/pinecone-milvus
Closed

feat: add Pinecone and Milvus vector store adapters#3
indrazm wants to merge 3 commits into
mainfrom
feat/pinecone-milvus

Conversation

@indrazm

@indrazm indrazm commented Jun 16, 2026

Copy link
Copy Markdown
Owner

Summary

Add @anvia/pinecone and @anvia/milvus vector store adapters following the existing pattern (Chroma, PgVector, Qdrant). Also refactors all 5 vector store packages from monolithic single-file modules into focused flat-file structures.

Changes

New packages

  • @anvia/pinecone -- Pinecone adapter with serverless index auto-creation, namespace support, and native filter translation
  • @anvia/milvus -- Milvus adapter with collection auto-creation (HNSW index), and boolean expression filter translation

Both implement VectorSearchIndex<T, Metadata> from @anvia/core with full multi-embedding support, deduplication, and asTool() integration.

Refactoring

All 5 vector store packages split from single src/index.ts into flat-file modules (types, store, search-index, filters, helpers, barrel). Public API surface unchanged.

Docs

  • Reference docs for both new packages
  • Registered in reference coverage check
  • Fixed pre-existing missing ChromaCollectionLike docs

Changeset

Minor bump for @anvia/pinecone and @anvia/milvus.

indrazm and others added 3 commits June 16, 2026 14:57
Add @anvia/pinecone and @anvia/milvus packages following the existing
adapter pattern (Chroma, PgVector, Qdrant). Both implement the
VectorSearchIndex interface from @anvia/core with full filter
translation, multi-embedding support, and asTool() integration.

Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
Split each monolithic src/index.ts (220-364 lines) into focused modules:
- types.ts (client interfaces, config types)
- store.ts (*VectorStore class)
- search-index.ts (*VectorIndex class)
- filters.ts (VectorFilter translation)
- helpers.ts (serialization, parsing, ID generation)
- index.ts (barrel re-exports)

Applied to all 5 packages: chroma, qdrant, pgvector, pinecone, milvus.
Public API surface unchanged -- all exports preserved via barrel.

Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
Add reference documentation for @anvia/pinecone and @anvia/milvus,
register them in the reference coverage check, and create a minor
changeset for both new packages.

Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
@indrazm indrazm closed this Jun 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant