find_super_connectors
find_super_connectors(
embeddings,
global_num_bits=12,
facet_num_bits=10,
dense_percentile=75,
global_threshold_percentile=50,
local_threshold_percentile=50,
min_bucket_size=20,
seed=42,
)Find super connectors: points with high centrality in both global and local bridge networks.
Super connectors are ideal RAG anchor points because they: - Bridge across major semantic regions (high global centrality) - Connect facets within dense clusters (high local centrality) - Provide 10x better coverage efficiency than random anchors
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| embeddings | np.ndarray | Normalized embeddings (n_points, dim) | required |
| global_num_bits | int | LSH bits for global bucketing | 12 |
| facet_num_bits | int | LSH bits for facet bucketing | 10 |
| dense_percentile | float | Percentile threshold for dense buckets | 75 |
| global_threshold_percentile | float | Percentile for “high” global centrality | 50 |
| local_threshold_percentile | float | Percentile for “high” local centrality | 50 |
| min_bucket_size | int | Minimum bucket size for faceting | 20 |
| seed | int | Random seed | 42 |
Returns
| Name | Type | Description |
|---|---|---|
| SuperConnectorResult | SuperConnectorResult with indices and centrality data |