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

Feature/add missing abstractions #449

Merged
merged 2 commits into from
Jun 13, 2024

Conversation

emrgnt-cmplxty
Copy link
Contributor

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

🚀 This description was created by Ellipsis for commit 48824e1

Summary:

Added new abstractions for handling graph data and updated extract_entities to handle cases with more than two colons in the input string.

Key points:

  • Updated version in pyproject.toml to 0.2.18.
  • Modified extract_entities in r2r/core/abstractions/document.py to handle cases with more than two colons in the input string.
  • Added new file r2r/core/abstractions/llama_abstractions.py with abstractions for handling graph data, including classes like LabelledNode, EntityNode, ChunkNode, Relation, VectorStoreQuery, and PropertyGraphStore.
  • Introduced various enums and utility functions in r2r/core/abstractions/llama_abstractions.py for vector store queries and metadata filtering.

Generated with ❤️ by ellipsis.dev

@emrgnt-cmplxty emrgnt-cmplxty marked this pull request as ready for review June 13, 2024 20:30
Copy link

vercel bot commented Jun 13, 2024

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

Name Status Preview Comments Updated (UTC)
r2r-docs 🔄 Building (Inspect) Visit Preview 💬 Add feedback Jun 13, 2024 8:30pm

@emrgnt-cmplxty emrgnt-cmplxty merged commit efff384 into main Jun 13, 2024
2 of 3 checks passed
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.

❌ Changes requested. Reviewed everything up to 48824e1 in 1 minute and 38 seconds

More details
  • Looked at 476 lines of code in 3 files
  • Skipped 0 files when reviewing.
  • Skipped posting 0 drafted comments based on config settings.

Workflow ID: wflow_gbFd2iDb64JCCGFD


Want Ellipsis to fix these issues? Tag @ellipsis-dev in a comment. You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.

)
properties: Dict[str, Any] = Field(default_factory=dict)

@abstractmethod
Copy link
Contributor

Choose a reason for hiding this comment

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

The use of @abstractmethod in LabelledNode which inherits from BaseModel is incorrect because BaseModel does not support abstract methods. Consider using a different base class that supports abstract methods, such as ABC.

@emrgnt-cmplxty emrgnt-cmplxty deleted the feature/add-missing-abstractions branch June 14, 2024 19:53
iCUE-Solutions pushed a commit to DeweyLearn/DeweyLearnR2R that referenced this pull request Jul 18, 2024
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.

None yet

1 participant