8000 Add expansion filters by ricopinazo · Pull Request #1387 · Pometry/Raphtory · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add expansion filters #1387

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

Merged
merged 12 commits into from
Nov 21, 2023
Merged

Add expansion filters #1387

merged 12 commits into from
Nov 21, 2023

Conversation

ricopinazo
Copy link
Collaborator
@ricopinazo ricopinazo commented Nov 21, 2023

What changes were proposed in this pull request?

Two new function were added to VectorisedGraph:

  • expand_nodes_by_similarity
  • expand_edge_by_similarity

This PR also fixes a bug in the function split_text_with_constant_size

Why are the changes needed?

These are needed for cases were users want to carry out an expansion but they want to travel through only onw type of entities.

Does this PR introduce any user-facing change? If yes is this documented?

Yes. It is not documented because the documentation for the vectors module is still a pending task to be addressed as a batch.

How was this patch tested?

A new python test was added for these two new functions

Issues

Are there any further changes required?

No

@miratepuffin miratepuffin merged commit 61b763e into master Nov 21, 2023
@miratepuffin miratepuffin deleted the feature/expansion-filters branch November 21, 2023 17:35
fabianmurariu pushed a commit that referenced this pull request May 21, 2024
* add new functions to expand using only nodes or edges

* add logs to vectorizing

* fix bug on split_text_with_constant_size()

* fix compilation error

* remove some printlines

* add verbose paramer to vectorise

* remove comments

* small fixes inside split_text_by_line_breaks

* Remove ScoredDocument struct

* fix bug in expansion filters and add test

* remove comments from python tests
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.

2 participants
0