Skip to content

SearchOptions

Defined in: src/memory/types.ts:31

Options passed to MemoryStore.search.

Store implementations may extend this with backend-specific fields (e.g. a metadata filter or search-type override) in their own search signature. Note that MemoryManager.search only forwards the base fields here across its (potentially heterogeneous) stores — to use a store’s extended options, call that store’s search directly, or set them as per-instance defaults on the store.

optional maxSearchResults?: number;

Defined in: src/memory/types.ts:33

Maximum number of results to return from this store.