Class ProspectiveMemoryManager

Constructors

Methods

  • Check all prospective memories against the current context. Returns items that should fire this turn.

    Parameters

    • context: {
          now?: number;
          events?: string[];
          queryText?: string;
          queryEmbedding?: number[];
          maxTierRank?: number;
      }
      • Optional now?: number
      • Optional events?: string[]
      • Optional queryText?: string
      • Optional queryEmbedding?: number[]
      • Optional maxTierRank?: number

        Optional visibility ceiling. Items whose tierRank is greater than this are withheld (not fired, not marked triggered) so they remain eligible on a later turn at a higher ceiling. Omitted / non-finite → no gating.

    Returns Promise<ProspectiveMemoryItem[]>