Interface: DocumentGraphEdge
@kortexya/reasoninglayer / DocumentGraphEdge
Interface: DocumentGraphEdge
Section titled “Interface: DocumentGraphEdge”Defined in: src/types/documents.ts:408
One relation edge of a document’s knowledge graph.
Properties
Section titled “Properties”predicate
Section titled “predicate”predicate:
string
Defined in: src/types/documents.ts:414
Feature name holding the reference — the relation predicate.
source
Section titled “source”source:
string
Defined in: src/types/documents.ts:410
Source entity term id.
target
Section titled “target”target:
string
Defined in: src/types/documents.ts:412
Target entity term id.
weight
Section titled “weight”weight:
number
Defined in: src/types/documents.ts:416
Edge weight.