(feat): MMR and temporal decay / bring back schema changes (openclaw#18786) thanks @rodrigouroz

Verified:
- pnpm install --frozen-lockfile
- pnpm build
- pnpm check
- pnpm test:macmini

Co-authored-by: rodrigouroz <384037+rodrigouroz@users.noreply.github.com>
Co-authored-by: Tak Hoffman <781889+Takhoffman@users.noreply.github.com>
This commit is contained in:
Rodrigo Uroz
2026-02-19 23:20:02 -03:00
committed by GitHub
parent 164d478652
commit a87b5fb009
3 changed files with 14 additions and 0 deletions

View File

@@ -215,6 +215,14 @@ export const FIELD_HELP: Record<string, string> = {
"Weight for BM25 text relevance when merging results (0-1).",
"agents.defaults.memorySearch.query.hybrid.candidateMultiplier":
"Multiplier for candidate pool size (default: 4).",
"agents.defaults.memorySearch.query.hybrid.mmr.enabled":
"Enable MMR re-ranking to reduce near-duplicate memory hits (default: false).",
"agents.defaults.memorySearch.query.hybrid.mmr.lambda":
"MMR relevance/diversity balance (0 = max diversity, 1 = max relevance, default: 0.7).",
"agents.defaults.memorySearch.query.hybrid.temporalDecay.enabled":
"Enable exponential recency decay for hybrid scoring (default: false).",
"agents.defaults.memorySearch.query.hybrid.temporalDecay.halfLifeDays":
"Half-life in days for temporal decay (default: 30).",
"agents.defaults.memorySearch.cache.enabled":
"Cache chunk embeddings in SQLite to speed up reindexing and frequent updates (default: true).",
memory: "Memory backend configuration (global).",