Repository navigation
feat: Add Neo4j backend implementation for decision graph materializa… - #14
Closed
araadhay-py wants to merge 3 commits into
Closed
araadhay-py wants to merge 3 commits into
araadhay-py wants to merge 3 commits into
Conversation
…tion - Implement Neo4jGraphStore with full GraphStore protocol compliance - Create comprehensive graph model with Cluster, Decision, Topic, Entity, Constraint, Fact, and Initiator nodes - Add idempotent operations using MERGE for safe upserts - Include 7 unique constraints for data integrity - Support batch processing for performance optimization - Add comprehensive error handling and logging - Create complete test suite with 20+ test cases - Add ready-to-run demo with mock and real data support - Update documentation with Neo4j usage examples - Fix Python 3.9 compatibility issues across core modules - Add neo4j dependency to pyproject.toml Files added: - src/decision_graph/backends/neo4j/__init__.py - src/decision_graph/backends/neo4j/stores.py - tests/test_neo4j_graphstore.py - examples/complete_neo4j_demo.py - examples/neo4j_demo.py - NEO4J_IMPLEMENTATION_SUMMARY.md - NEO4J_IMPLEMENTATION_EMAIL.md Files modified: - README.md (Neo4j documentation and examples) - pyproject.toml (neo4j dependency) - src/decision_graph/core/domain.py (Python 3.9 compatibility) - src/decision_graph/enrichment_service.py (Python 3.9 compatibility) - src/decision_graph/retrieval.py (Python 3.9 compatibility) - src/decision_graph/core/decision_trace_profiles.py (Python 3.9 compatibility) The Neo4j backend enables persistent graph storage with powerful Cypher queries for decision analytics while maintaining seamless integration with existing pipeline.
- Merge latest changes from main branch - Include viewer.html and run.py updates - Resolve merge conflicts
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.
…tion
Files added:
Files modified:
The Neo4j backend enables persistent graph storage with powerful Cypher queries for decision analytics while maintaining seamless integration with existing pipeline.
What does this PR do?
Why?
Checklist
PYTHONPATH=src:tests python -m unittest discover -s tests -p 'test_*.py')[Unreleased](if user-facing)