CommunitySummary

Models & Types · AiDotNet.RetrievalAugmentedGeneration.Graph.Communities

Represents a summary of a detected community within a knowledge graph.

For Beginners

After detecting communities, each one gets a summary describing:

  • Which entities belong to it
  • What the most important entities are (by connection count)
  • What types of relationships dominate
  • A human-readable description of what the community represents

Constructors

Constructor Summary
CommunitySummary()

Properties

Property Summary
List<string> EntityIds { get; set; } IDs of all entities belonging to this community.
List<string> KeyEntities { get; set; } IDs of the most central/important entities in the community (by degree centrality).
List<string> KeyRelations { get; set; } Most frequent relation types within the community.
int CommunityId { get; set; } Unique identifier for this community.
int Level { get; set; } Hierarchy level at which this community was detected (0 = finest).
string Description { get; set; } Structured text description of the community’s content and themes.