feat: Multi-Database Support (Pinecone, Qdrant, Weaviate) - #24
Merged
Conversation
Implements VEX-001 through VEX-004 from multi-db analysis: - Unified VectorDatabase interface for all three providers - Base adapter class with common functionality - Factory for creating database adapters by provider - Pinecone adapter (refactored from existing service) - Qdrant adapter (new implementation) - Weaviate adapter (new implementation) Dependencies added: - @qdrant/js-client-rest - weaviate-client All adapters implement: - Connection management - Collection/index operations (list, create, delete, stats) - Vector operations (list, fetch, query, upsert, update, delete) - Provider-specific filter translation
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
This PR implements the foundation for multi-database support, allowing the explorer to work with Pinecone, Qdrant, and Weaviate vector databases.
Changes
New Abstraction Layer (
electron/adapters/)types.ts- Unified type definitions:VectorDatabaseinterface for all providersDatabaseCapabilitiesfor feature detectionCollectionInfo,VectorRecord,QueryResult, etc.base-adapter.ts- Abstract base class with:factory.ts- Adapter factory:Provider Adapters
pinecone-adapter.ts- Pinecone implementation (refactored from existing service)qdrant-adapter.ts- New Qdrant implementationweaviate-adapter.ts- New Weaviate implementationDependencies
Capabilities Matrix
Next Steps
Testing