RecallOptions
@daydreamsai/core / RecallOptions
Interface: RecallOptions
Defined in: packages/core/src/memory/types.ts:379
Properties
contextId?
optionalcontextId:string
Defined in: packages/core/src/memory/types.ts:380
dedupeBy?
optionaldedupeBy:"docId"|"none"|"id"
Defined in: packages/core/src/memory/types.ts:396
Deduplication strategy
filter?
optionalfilter:Record<string,unknown>
Defined in: packages/core/src/memory/types.ts:384
groupBy?
optionalgroupBy:"docId"|"source"|"none"
Defined in: packages/core/src/memory/types.ts:394
Post-processing grouping
include?
optionalinclude:object
Defined in: packages/core/src/memory/types.ts:398
Include flags
content?
optionalcontent:boolean
diagnostics?
optionaldiagnostics:boolean
metadata?
optionalmetadata:boolean
limit?
optionallimit:number
Defined in: packages/core/src/memory/types.ts:382
minRelevance?
optionalminRelevance:number
Defined in: packages/core/src/memory/types.ts:383
minScore?
optionalminScore:number
Defined in: packages/core/src/memory/types.ts:388
Minimum score threshold (alias of minRelevance)
namespace?
optionalnamespace:string
Defined in: packages/core/src/memory/types.ts:390
Restrict search to a namespace
scope?
optionalscope:"context"|"global"|"all"
Defined in: packages/core/src/memory/types.ts:381
timeRange?
optionaltimeRange:object
Defined in: packages/core/src/memory/types.ts:392
Filter by time range (milliseconds epoch)
from?
optionalfrom:number
to?
optionalto:number
topK?
optionaltopK:number
Defined in: packages/core/src/memory/types.ts:386
Preferred results count
weighting?
optionalweighting:object
Defined in: packages/core/src/memory/types.ts:400
Simple weighting controls
recencyHalfLifeMs?
optionalrecencyHalfLifeMs:number
salience?
optionalsalience:number