Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.memmachine.ai/llms.txt

Use this file to discover all available pages before exploring further.

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'
};