Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tweak #458

Merged
merged 1 commit into from
Jun 14, 2024
Merged

tweak #458

merged 1 commit into from
Jun 14, 2024

Conversation

emrgnt-cmplxty
Copy link
Contributor

@emrgnt-cmplxty emrgnt-cmplxty commented Jun 14, 2024

🚀 This description was created by Ellipsis for commit 868706e

Summary:

Enhanced R2R with comprehensive knowledge graph construction and management features, including new scripts, core updates, and improved Neo4j provider support.

Key points:

  • Documentation Update: Enhanced docs/pages/cookbooks/knowledge-graph.mdx with detailed setup and examples for knowledge graph construction using R2R and Neo4j.
  • New Scripts: Added r2r/examples/scripts/basic_kg_cookbook.py and r2r/examples/scripts/advanced_kg_cookbook.py for basic and advanced knowledge graph examples.
  • Core Enhancements:
    • Updated r2r/core/__init__.py to include VectorStoreQuery.
    • Modified r2r/core/abstractions/document.py to add default UUID generation for Document.
    • Enhanced r2r/core/providers/kg_provider.py with kg_extraction_prompt configuration.
  • Pipeline and Provider Updates:
    • Updated r2r/main/r2r_builder.py to support configuration-based initialization.
    • Enhanced r2r/main/r2r_factory.py to include knowledge graph pipes and providers.
    • Modified r2r/pipes/kg_pipe.py and r2r/pipes/kg_storage_pipe.py for improved knowledge graph extraction and storage.
  • Prompt Configurations: Updated r2r/prompts/local/defaults.jsonl with new prompts for knowledge graph extraction.
  • Neo4j Provider: Enhanced r2r/providers/kg/neo4j/base_neo4j.py to support dynamic prompt updates and improved schema handling.

Generated with ❤️ by ellipsis.dev

Copy link

vercel bot commented Jun 14, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
r2r-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 14, 2024 7:34pm

Copy link
Contributor

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Looks good to me! Reviewed everything up to 868706e in 1 minute and 23 seconds

More details
  • Looked at 1071 lines of code in 12 files
  • Skipped 5 files when reviewing.
  • Skipped posting 1 drafted comments based on config settings.
1. r2r/core/providers/kg_provider.py:106
  • Draft comment:
    The method update_extraction_prompt is abstract and must be implemented by subclasses to ensure the extraction prompt can be dynamically updated based on the provided entity types and relations. This is crucial for adapting the extraction process to different datasets or requirements.
  • Reason this comment was not posted:
    Confidence of 0% on close inspection, compared to threshold of 50%.

Workflow ID: wflow_DF6hTvHcNdKydHQz


You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.

@emrgnt-cmplxty emrgnt-cmplxty merged commit 2a387b9 into main Jun 14, 2024
3 checks passed
@emrgnt-cmplxty emrgnt-cmplxty deleted the feature/improve-kg-cookbook branch June 14, 2024 19:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant