Skip to main content

@ai16z/eliza v0.1.6-alpha.4 / Memory

Interface: Memory

Represents a stored memory/message

Properties

id?

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

Optional unique identifier

Defined in

packages/core/src/types.ts:333


userId

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

Associated user ID

Defined in

packages/core/src/types.ts:336


agentId

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

Associated agent ID

Defined in

packages/core/src/types.ts:339


createdAt?

optional createdAt: number

Optional creation timestamp

Defined in

packages/core/src/types.ts:342


content

content: Content

Memory content

Defined in

packages/core/src/types.ts:345


embedding?

optional embedding: number[]

Optional embedding vector

Defined in

packages/core/src/types.ts:348


roomId

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

Associated room ID

Defined in

packages/core/src/types.ts:351


unique?

optional unique: boolean

Whether memory is unique

Defined in

packages/core/src/types.ts:354


similarity?

optional similarity: number

Embedding similarity score

Defined in

packages/core/src/types.ts:357