agrag.ingestion.reports.community_detection_report.CommunityDetectionReport
Bases: BaseModel
Report from Graph.detect_communities().
Attributes:
- communities (
list[Community]) – The communities this call found, whether applied or not. - applied (
bool) – Whether the communities were written. - failures (
list[StageFailure]) – Failures generating an applied community's LLM report or embedding its report text. A failed community still gets written, with a heuristic report or a missing embedding in place of the failed step. Always empty when apply is False.
applied
applied: bool = False
communities
communities: list[Community] = Field(default_factory=list)
failures
failures: list[StageFailure] = Field(default_factory=list)