@ai16z/eliza v0.1.3 / Memory
Interface: Memory
Represents a memory record, which could be a message or any other piece of information remembered by the system, including its content, associated user IDs, and optionally, its embedding vector for similarity comparisons.
Properties
id?
optional
id: `${string}-${string}-${string}-${string}-${string}`
Defined in
packages/core/src/types.ts:170
userId
userId: `${string}-${string}-${string}-${string}-${string}`
Defined in
packages/core/src/types.ts:171
agentId
agentId: `${string}-${string}-${string}-${string}-${string}`
Defined in
packages/core/src/types.ts:172
createdAt?
optional
createdAt:number
Defined in
packages/core/src/types.ts:173
content
content:
Content
Defined in
packages/core/src/types.ts:174
embedding?
optional
embedding:number
[]
Defined in
packages/core/src/types.ts:175
roomId
roomId: `${string}-${string}-${string}-${string}-${string}`
Defined in
packages/core/src/types.ts:176
unique?
optional
unique:boolean