Skip to main content

@elizaos/core v1.0.0-beta.51 / MemoryScope

Type Alias: MemoryScope

MemoryScope: "shared" | "private" | "room"

Defines the scope of a memory, indicating its visibility and accessibility.

  • shared: The memory is accessible to multiple entities or across different contexts (e.g., a public fact).
  • private: The memory is specific to a single entity or a private context (e.g., a user's personal preference).
  • room: The memory is scoped to a specific room or channel. This is used in MemoryMetadata to control how memories are stored and retrieved based on context.

Defined in​

packages/core/src/types.ts:178