graphragzen.merge.merge_nodes

Description

Functions

contain_date(input)

Check if string contains a date

find_similar_nodes(nodes, feature_names, ...)

Finds nodes who's embedding vectors are > min_similarity.

isempty(input)

Check if string is empty or None

merge_similar_graph_nodes(graph, embedding_model)

Merge nodes in a graph that are very similar to each other, using text embeddings of the node names and selected features.