Interface SearchOptions

interface SearchOptions {
    limit?: number;
    types?: MemoryType[];
    tags?: string[];
    minConfidence?: number;
    usableFor?: TrustCapability | TrustCapability[];
    policy?: MemoryRetrievalPolicy;
    currentMood?: PADState;
}

Properties

limit?: number

Maximum results. Default: 10.

types?: MemoryType[]

Memory type filter.

tags?: string[]

Tags filter.

minConfidence?: number

Minimum confidence. Default: 0.

Restrict results to traces whose trust policy permits the listed capability (or all of them when given an array). Use when the recall is going into an auth-sensitive prompt or a fact-claim assertion.

Shared retrieval policy surface.

currentMood?: PADState

Live PAD mood for mood-congruent recall ranking. Omitted → neutral (no bias).