Skip to content

Interface: MemoryFact

@kortexya/reasoninglayer


@kortexya/reasoninglayer / MemoryFact

Defined in: src/types/memory.ts:51

A fact: subject.attribute = value over an interval.

attribute: string

Defined in: src/types/memory.ts:55

The feature, e.g. lives_in.


subject: string

Defined in: src/types/memory.ts:53

The entity (names differing only in case or spacing are one entity).


optional validFrom?: string | null

Defined in: src/types/memory.ts:62

When the fact started to hold: an ISO 8601 date-time with its offset; a date or a zone-less time is refused 400. Default: now.


optional validTo?: string | null

Defined in: src/types/memory.ts:64

When it stopped holding (exclusive), as validFrom. Default: it still holds.


value: string

Defined in: src/types/memory.ts:57

The value.