Skip to content

Commit e1ce945

Browse files
committed
feat: keep default min-group-size 3
1 parent 3cbf46d commit e1ce945

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/memos/memories/textual/tree_text_memory/organize/reorganizer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ def _local_subcluster(self, cluster_nodes: list[GraphDBNode]) -> list[list[Graph
378378

379379
return result_subclusters
380380

381-
def _partition(self, nodes, min_cluster_size: int = 1, max_cluster_size: int = 20):
381+
def _partition(self, nodes, min_cluster_size: int = 3, max_cluster_size: int = 20):
382382
"""
383383
Partition nodes by:
384384
1) Frequent tags (top N & above threshold)

0 commit comments

Comments
 (0)