Skip to main content

CommunityRelevance

@forge/monorepo


@forge/monorepo / backend/src / CommunityRelevance

Type Alias: CommunityRelevance

CommunityRelevance = object

Defined in: backend/src/knowledge/graph-global.ts:53

What the map phase says about one community.

A score and the points that earned it. The score is the model's own judgement of relevance, which is the only thing available — there is no embedding of "what are the main themes" that ranks a summary usefully.

Properties

communityId

readonly communityId: string

Defined in: backend/src/knowledge/graph-global.ts:54


points

readonly points: readonly string[]

Defined in: backend/src/knowledge/graph-global.ts:58

What in this community bears on the question, in the mapper's words. Empty when nothing does.


score

readonly score: number

Defined in: backend/src/knowledge/graph-global.ts:56

0–10, as the mapper reported it. Zero means the community has nothing to do with the question.