Appearance
ema / @internals/db / LongTermMemoryEntity
Interface: LongTermMemoryEntity
Defined in: db/base.ts:425
Represents long term memory data structure
Extends
Properties
actorId
ts
actorId: number;Defined in: db/base.ts:429
The owner of the long term memory
createdAt?
ts
optional createdAt: number;Defined in: db/base.ts:14
The date and time the entity was created
Inherited from
id?
ts
optional id: number;Defined in: db/base.ts:10
The unique identifier for the entity
Inherited from
index0
ts
index0: string;Defined in: db/base.ts:433
The 0-index to search, a.k.a. 一级分类
index1
ts
index1: string;Defined in: db/base.ts:437
The 1-index to search, a.k.a. 二级分类
keywords
ts
keywords: string[];Defined in: db/base.ts:441
The keywords to search
messages?
ts
optional messages: number[];Defined in: db/base.ts:453
The messages ids facilitating the long term memory, for debugging purpose.
os
ts
os: string;Defined in: db/base.ts:445
The os when the actor saw the messages.
statement
ts
statement: string;Defined in: db/base.ts:449
The statement when the actor saw the messages.