Interface: MemoryFact
@kortexya/reasoninglayer / MemoryFact
Interface: MemoryFact
Section titled “Interface: MemoryFact”Defined in: src/types/memory.ts:51
A fact: subject.attribute = value over an interval.
Properties
Section titled “Properties”attribute
Section titled “attribute”attribute:
string
Defined in: src/types/memory.ts:55
The feature, e.g. lives_in.
subject
Section titled “subject”subject:
string
Defined in: src/types/memory.ts:53
The entity (names differing only in case or spacing are one entity).
validFrom?
Section titled “validFrom?”
optionalvalidFrom?: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.
validTo?
Section titled “validTo?”
optionalvalidTo?: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.