Skip to main content

KnowledgeRelationship

@forge/monorepo


@forge/monorepo / backend/src / KnowledgeRelationship

Type Alias: KnowledgeRelationship

KnowledgeRelationship = object

Defined in: backend/src/persistence/index.ts:1605

Properties

description?

readonly optional description?: string

Defined in: backend/src/persistence/index.ts:1611


fromId

readonly fromId: string

Defined in: backend/src/persistence/index.ts:1608


id

readonly id: string

Defined in: backend/src/persistence/index.ts:1607

Deterministic: fromId|type|toId.


provenance

readonly provenance: readonly string[]

Defined in: backend/src/persistence/index.ts:1615

Chunk ids this edge was extracted from, sorted. Never empty.


toId

readonly toId: string

Defined in: backend/src/persistence/index.ts:1609


type

readonly type: string

Defined in: backend/src/persistence/index.ts:1610


weight

readonly weight: number

Defined in: backend/src/persistence/index.ts:1613

How many chunks asserted this edge. The obvious traversal ordering, and it needs no calibration.