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

Improved types #1710

Conversation

emrgnt-cmplxty
Copy link
Contributor

@emrgnt-cmplxty emrgnt-cmplxty commented Dec 18, 2024

Important

Refactor knowledge graph components by renaming 'KG' to 'Graph', improve filter handling, and enhance document deletion logic.

  • Behavior:
    • Refactor knowledge graph components by renaming 'KG' to 'Graph'.
    • Introduce apply_filters function in filters.py for consistent filter application.
    • Refactor delete_documents_and_chunks_by_filter in management_service.py for improved logic.
  • Renaming:
    • Rename KgService to GraphService.
    • Rename KGExtractionPipe to GraphExtractionPipe and similar renames for other pipes.
    • Rename kg_workflow.py to graph_workflow.py.
  • Testing:
    • Update integration tests in test_documents.py and test_retrieval.py to reflect changes in filter handling and document management.
  • Miscellaneous:
    • Remove unused code and comments across various files.
    • Update imports and references to reflect renaming changes.

This description was created by Ellipsis for e9120cd. It will automatically update as commits are pushed.

@emrgnt-cmplxty emrgnt-cmplxty changed the title a Improved types Dec 18, 2024
@emrgnt-cmplxty emrgnt-cmplxty marked this pull request as ready for review December 18, 2024 23:29
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 ae8ce44 in 1 minute and 45 seconds

More details
  • Looked at 3290 lines of code in 38 files
  • Skipped 0 files when reviewing.
  • Skipped posting 2 drafted comments based on config settings.
1. py/core/pipes/kg/deduplication.py:236
  • Draft comment:
    Typo in comment: 'deduplcated' should be 'deduplicated'.
  • Reason this comment was not posted:
    Confidence changes required: 10%
    In py/core/pipes/kg/deduplication.py, the comment on line 236 has a typo. The word 'deduplcated' should be corrected to 'deduplicated'.
2. py/core/pipes/kg/community_summary.py:265
  • Draft comment:
    Typo in comment: 'summaries' should be 'summaries'.
  • Reason this comment was not posted:
    Confidence changes required: 10%
    In py/core/pipes/kg/community_summary.py, the comment on line 265 has a typo. The word 'summaries' should be corrected to 'summaries'.

Workflow ID: wflow_b3RP3rX8MbZgLZV1


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

@emrgnt-cmplxty emrgnt-cmplxty merged commit c3cbf25 into main Dec 19, 2024
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.

👍 Looks good to me! Incremental review on e9120cd in 37 seconds

More details
  • Looked at 158 lines of code in 2 files
  • Skipped 0 files when reviewing.
  • Skipped posting 5 drafted comments based on config settings.
1. py/tests/integration/test_retrieval.py:296
  • Draft comment:
    Remove print statements used for debugging to clean up the test output.
  • Reason this comment was not posted:
    Confidence changes required: 50%
    The print statements in the test file are likely for debugging purposes and should be removed before merging.
2. py/tests/integration/test_retrieval.py:299
  • Draft comment:
    Remove print statements used for debugging to clean up the test output.
  • Reason this comment was not posted:
    Confidence changes required: 50%
    The print statements in the test file are likely for debugging purposes and should be removed before merging.
3. py/tests/integration/test_retrieval.py:300
  • Draft comment:
    Remove print statements used for debugging to clean up the test output.
  • Reason this comment was not posted:
    Confidence changes required: 50%
    The print statements in the test file are likely for debugging purposes and should be removed before merging.
4. py/tests/integration/test_retrieval.py:301
  • Draft comment:
    Remove print statements used for debugging to clean up the test output.
  • Reason this comment was not posted:
    Confidence changes required: 50%
    The print statements in the test file are likely for debugging purposes and should be removed before merging.
5. py/tests/integration/test_retrieval.py:302
  • Draft comment:
    Remove print statements used for debugging to clean up the test output.
  • Reason this comment was not posted:
    Confidence changes required: 50%
    The print statements in the test file are likely for debugging purposes and should be removed before merging.

Workflow ID: wflow_rNkKBlESAffwiLHA


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

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