Interface RecallOptions

Options for querying memory traces via Memory.recall().

interface RecallOptions {
    limit?: number;
    type?: string;
    scope?: string;
    scopeId?: string;
    minStrength?: number;
    after?: number;
    before?: number;
}

Properties

limit?: number

Maximum number of traces to return.

Default

10
type?: string

Filter by Tulving memory type.

scope?: string

Filter by visibility scope.

scopeId?: string

Filter by scope ID.

minStrength?: number

Minimum retrieval strength (Ebbinghaus current strength) to include. Traces below this value are considered too weak/forgotten.

Default

0
after?: number

Only return traces created after this Unix-ms timestamp. Part of the three-date temporal model for time-ranged recall.

before?: number

Only return traces created before this Unix-ms timestamp. Part of the three-date temporal model for time-ranged recall.