Variable: RERANK_DEFAULTS
constRERANK_DEFAULTS:object
Defined in: packages/agentos/src/cognition/memory/retrieval/recall/rerank.ts:22
The memory rerank's bounds and blend. localTimeoutMs and llmTimeoutMs are the defaults of timeoutMs (the judge
makes two phases of model calls, so it gets longer); maxCandidates is how many memories reach the provider, the
recall's best; after failuresToBackOff failures or timeouts in a row the rerank is skipped for backoffMs; and a
reranked candidate's place is blendScore × its recall score + blendRerank × its rerank score.
Type Declaration
backoffMs
readonlybackoffMs:60000=60_000
blendRerank
readonlyblendRerank:0.3=0.3
blendScore
readonlyblendScore:0.7=0.7
failuresToBackOff
readonlyfailuresToBackOff:3=3
llmTimeoutMs
readonlyllmTimeoutMs:10000=10_000
localTimeoutMs
readonlylocalTimeoutMs:1500=1500
maxCandidates
readonlymaxCandidates:20=20