Skip to content

Interface: DocumentGraphEdge

@kortexya/reasoninglayer


@kortexya/reasoninglayer / Documents / DocumentGraphEdge

Interface: DocumentGraphEdge

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

One relation edge of a document’s knowledge graph.

Properties

predicate

predicate: string

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

Feature name holding the reference — the relation predicate.


source

source: string

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

Source entity term id.


target

target: string

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

Target entity term id.


weight

weight: number

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

Edge weight.