Add production-ready storage and query layers #31
Open
AdaWorldAPI wants to merge 1 commit intomainfrom
Open
Conversation
Storage (1960 lines total): - src/storage/lance.rs (524 lines) - LanceDB substrate with: - Columnar storage for thoughts, edges, fingerprints - 10K-bit fingerprint support (1250 bytes) - Vector ANN index creation - Async batch operations - src/storage/database.rs (361 lines) - Unified API with: - SQL execution via DataFusion - Cypher execution via transpilation - Hamming resonance search - Vector similarity search - Counterfactual fork/propagate/diff Query (1063 lines total): - src/query/sql.rs (403 lines) - DataFusion integration with: - Custom UDFs: hamming_similarity, nars_deduction, nars_revision, vsa_bind - Lance table registration - Arrow batch processing - src/query/cypher.rs (636 lines) - Cypher transpiler with: - MATCH pattern parsing (node-edge-node) - WHERE, RETURN, ORDER BY, LIMIT - Variable-length paths via recursive CTEs - Automatic alias generation This completes the production-ready substrate for ladybug-rs. All future variants can build on this without redesign.
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
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.
Storage (1960 lines total):
src/storage/lance.rs (524 lines) - LanceDB substrate with:
src/storage/database.rs (361 lines) - Unified API with:
Query (1063 lines total):
src/query/sql.rs (403 lines) - DataFusion integration with:
src/query/cypher.rs (636 lines) - Cypher transpiler with:
This completes the production-ready substrate for ladybug-rs.
All future variants can build on this without redesign.