Skip to main content

Overview

ProjectContext is the primary scoping mechanism in the SDK. It ensures that memories added or searched are isolated within the correct organizational and project boundaries.

Properties

PropertyTypeDescription
org_idstringThe unique identifier for your organization.
project_idstringThe unique identifier for the specific project workspace.

Usage Example

import { ProjectContext } from '@memmachine/client';

const context: ProjectContext = {
  org_id: 'acme_corp',
  project_id: 'customer_support_bot'
};