Skip to content

Interface: DocumentGraphEdge

@kortexya/reasoninglayer


@kortexya/reasoninglayer / DocumentGraphEdge

Defined in: src/types/documents.ts:496

One relation edge of a document’s knowledge graph.

predicate: string

Defined in: src/types/documents.ts:502

Feature name holding the reference — the relation predicate.


source: string

Defined in: src/types/documents.ts:498

Source entity term id.


target: string

Defined in: src/types/documents.ts:500

Target entity term id.


weight: number

Defined in: src/types/documents.ts:504

Edge weight.