Interface: SearchOptions
Defined in: packages/agentos/src/cognition/memory/AgentMemory.ts:87
Properties
limit?
optionallimit:number
Defined in: packages/agentos/src/cognition/memory/AgentMemory.ts:89
Maximum results. Default: 10.
minConfidence?
optionalminConfidence:number
Defined in: packages/agentos/src/cognition/memory/AgentMemory.ts:95
Minimum confidence. Default: 0.
policy?
optionalpolicy:MemoryRetrievalPolicy
Defined in: packages/agentos/src/cognition/memory/AgentMemory.ts:103
Shared retrieval policy surface.
tags?
optionaltags:string[]
Defined in: packages/agentos/src/cognition/memory/AgentMemory.ts:93
Tags filter.
types?
optionaltypes:MemoryType[]
Defined in: packages/agentos/src/cognition/memory/AgentMemory.ts:91
Memory type filter.
usableFor?
optionalusableFor:TrustCapability|TrustCapability[]
Defined in: packages/agentos/src/cognition/memory/AgentMemory.ts:101
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.