SongGuess
    Preparing search index...

    Class AgentMemoryProfileAbstract

    A single Agent Memory profile, scoped to a profile name.

    Returned by AgentMemoryNamespace.getProfile.

    Index

    Constructors

    Methods

    • Delete a memory by ID.

      Removes the memory and any source messages linked by the memory's source message IDs.

      Parameters

      • memoryId: string

        ULID of the memory to delete.

      Returns Promise<AgentMemoryMemory>

      if the memory does not exist.

    • Soft-delete every memory and message in this profile that is tagged with sessionId.

      Idempotent: deleting a sessionId that has no rows is a no-op.

      Parameters

      • sessionId: string

        Session to delete.

      Returns Promise<void>

    • Retrieve a memory by ID.

      Parameters

      • memoryId: string

        ULID of the memory to retrieve.

      Returns Promise<AgentMemoryMemory>

      if the memory does not exist.