Reified RSpaces [6/11]: In-memory VectorDB implementation#333
Open
dylon wants to merge 4 commits intofeature/reified-rspaces-05-vectordbfrom
Open
Reified RSpaces [6/11]: In-memory VectorDB implementation#333dylon wants to merge 4 commits intofeature/reified-rspaces-05-vectordbfrom
dylon wants to merge 4 commits intofeature/reified-rspaces-05-vectordbfrom
Conversation
This PR adds the complete in-memory VectorDB backend: - RholangVectorBackend: Primary backend for Rholang integration - Implements VectorBackendDyn trait - in_memory.rs: Core in-memory vector index with brute-force search - tombstone.rs: Tombstone management for soft deletions - traits.rs: VectorBackend trait definitions - config.rs: VectorDB configuration options - default.rs: Default VectorDB implementation - traits.rs: VectorDBDyn trait for dynamic dispatch - similarity.rs: Similarity computation implementations - Cosine, Euclidean, Manhattan, Hamming, Jaccard, DotProduct - ranking.rs: Result ranking and scoring strategies - registry.rs: Handler registration and lookup - traits.rs: Handler trait definitions - types.rs: Query and response types - operations.rs: SIMD-optimized vector math operations - Dot product, normalization, distance calculations - error.rs: VectorDB-specific error types - utils/binary.rs: Binary vector utilities This is PR 6 of 11 for the Reified RSpaces implementation.
…ed-rspaces-06-vectordb-inmemory
…ed-rspaces-06-vectordb-inmemory
…agmenting of in-memory VectorDB rows.
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
ndarraydoes not support efficient masked operations so the data must be defragmented)This is PR 6 of 11 in the Reified RSpaces implementation.
Depends on: Reified RSpaces [5/11]: VectorDB base support and registry interface