Skip to content

Interface: CorpusCommunitiesResponse

@kortexya/reasoninglayer


@kortexya/reasoninglayer / CorpusCommunitiesResponse

Defined in: src/types/corpus.ts:178

Corpus communities + treemap rows.

communities: CorpusCommunity[]

Defined in: src/types/corpus.ts:180

Communities, largest first.


modularity: number

Defined in: src/types/corpus.ts:184

Leiden modularity of the partition.


scopeTruncated: boolean

Defined in: src/types/corpus.ts:186

True when the scope was truncated by the document cap.


treemap: CorpusTreemapRow[]

Defined in: src/types/corpus.ts:182

Flat treemap rows, one per community.