Skip to content

Interface: DocumentGraphEdge

@kortexya/reasoninglayer


@kortexya/reasoninglayer / DocumentGraphEdge

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

One relation edge of a document’s knowledge graph.

predicate: string

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

Feature name holding the reference — the relation predicate.


source: string

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

Source entity term id.


target: string

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

Target entity term id.


weight: number

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

Edge weight.