Skip to main content

Module community

Module community 

Source

Structs§

GraphEvictionStats
Stats returned from graph eviction.

Functions§

assign_to_community
Assign a single entity to an existing community via neighbor majority vote.
cleanup_stale_entity_embeddings
Remove Qdrant points for entities that no longer exist in SQLite.
detect_communities
Run label propagation on the full entity graph, generate community summaries via LLM, and upsert results to SQLite.
run_graph_eviction
Run graph eviction: clean expired edges, orphan entities, and cap entity count.