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:
Enhanced R2R with comprehensive knowledge graph construction and management features, including new scripts, core updates, and improved Neo4j provider support.
Key points:
docs/pages/cookbooks/knowledge-graph.mdx
with detailed setup and examples for knowledge graph construction using R2R and Neo4j.r2r/examples/scripts/basic_kg_cookbook.py
andr2r/examples/scripts/advanced_kg_cookbook.py
for basic and advanced knowledge graph examples.r2r/core/__init__.py
to includeVectorStoreQuery
.r2r/core/abstractions/document.py
to add default UUID generation forDocument
.r2r/core/providers/kg_provider.py
withkg_extraction_prompt
configuration.r2r/main/r2r_builder.py
to support configuration-based initialization.r2r/main/r2r_factory.py
to include knowledge graph pipes and providers.r2r/pipes/kg_pipe.py
andr2r/pipes/kg_storage_pipe.py
for improved knowledge graph extraction and storage.r2r/prompts/local/defaults.jsonl
with new prompts for knowledge graph extraction.r2r/providers/kg/neo4j/base_neo4j.py
to support dynamic prompt updates and improved schema handling.Generated with ❤️ by ellipsis.dev