Skip to main content

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

agentId

agentId: `${string}-${string}-${string}-${string}-${string}`

Defined in

packages/core/src/types.ts:169


content

content: Content

Defined in

packages/core/src/types.ts:171


createdAt?

optional createdAt: number

Defined in

packages/core/src/types.ts:170


embedding?

optional embedding: number[]

Defined in

packages/core/src/types.ts:172


id?

optional id: `${string}-${string}-${string}-${string}-${string}`

Defined in

packages/core/src/types.ts:167


roomId

roomId: `${string}-${string}-${string}-${string}-${string}`

Defined in

packages/core/src/types.ts:173


unique?

optional unique: boolean

Defined in

packages/core/src/types.ts:174


userId

userId: `${string}-${string}-${string}-${string}-${string}`

Defined in

packages/core/src/types.ts:168