Skip to main content

Variable: RECALL_CONSTANTS

const RECALL_CONSTANTS: object

Defined in: packages/agentos/src/cognition/memory/retrieval/recall/fuse.ts:17

The starting constants of the hybrid recall, each AgentOS's own: HybridRetriever's k, weights, over-fetch and recall size, and the store's topK. recencyWeight 0 lets the recency leg add candidates without moving the fused order of the other two. nearDuplicate is the token-set Jaccard index at which two memories are one. They move only through measured runs.

Type Declaration​

denseWeight​

readonly denseWeight: 0.7 = 0.7

nearDuplicate​

readonly nearDuplicate: 0.8 = 0.8

overFetch​

readonly overFetch: 3 = 3

recencyWeight​

readonly recencyWeight: 0 = 0

recentTopK​

readonly recentTopK: 10 = 10

rrfK​

readonly rrfK: 60 = 60

sparseWeight​

readonly sparseWeight: 0.3 = 0.3

topK​

readonly topK: 20 = 20