Skip to main content

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

Enumeration: KnowledgeScope

Defines the scope or visibility of knowledge items within the agent's system.

  • SHARED: Indicates knowledge that is broadly accessible, potentially across different agents or users if the system architecture permits.
  • PRIVATE: Indicates knowledge that is restricted, typically to the specific agent or user context it belongs to. This enum is used to manage access and retrieval of knowledge items, often in conjunction with AgentRuntime.addKnowledge or AgentRuntime.getKnowledge scopes.

Enumeration Members​

SHARED​

SHARED: "shared"

Defined in​

packages/core/src/types.ts:1280


PRIVATE​

PRIVATE: "private"

Defined in​

packages/core/src/types.ts:1281