feat: add Pinecone and Milvus vector store adapters - #3
Closed
indrazm wants to merge 3 commits into
Closed
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add
@anvia/pineconeand@anvia/milvusvector 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 translationBoth implement
VectorSearchIndex<T, Metadata>from@anvia/corewith full multi-embedding support, deduplication, andasTool()integration.Refactoring
All 5 vector store packages split from single
src/index.tsinto flat-file modules (types, store, search-index, filters, helpers, barrel). Public API surface unchanged.Docs
ChromaCollectionLikedocsChangeset
Minor bump for
@anvia/pineconeand@anvia/milvus.