MCPcopy Create free account
hub / github.com/KnowledgeXLab/LeanRAG / perform_clustering

Method perform_clustering

_cluster_utils.py:349–350  ·  view source on GitHub ↗
(self, embeddings: np.ndarray, **kwargs)

Source from the content-addressed store, hash-verified

347class ClusteringAlgorithm(ABC):
348 @abstractmethod
349 def perform_clustering(self, embeddings: np.ndarray, **kwargs) -> List[List[int]]:
350 pass
351def _pack_single_community_describe(
352 entitys,
353 relations,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected