Commit Graph
6 Commits
Author SHA1 Message Date
kartik-mem0 0842310eba fix(docs/rerankers): pass rerank=True so examples actually rerank
The reranker examples configured a `reranker` block but called
memory.search(...) without rerank=True. Memory.search() defaults rerank=False
(mem0/memory/main.py:1333) and only reranks 'if rerank and self.reranker'
(:1447), so reranking never ran:

- cohere, zero_entropy, llm, sentence_transformer print result['rerank_score'],
  which doesn't exist unless reranking runs -> KeyError on copy-paste.
- optimization (reranker benchmark) and custom-prompts (reranker-prompt test)
  silently measured un-reranked search.

Add the missing rerank=True flag to every search meant to exercise the reranker.
2026-06-27 12:31:12 +05:30
kartik-mem0 5345ed5e0b docs(rerankers): align reranker config docs with v3 SDK source 2026-06-25 11:49:24 +05:30
30469aec17 docs: new algorithm migration guides + memory evaluation (#4811)
Co-authored-by: kartik-mem0 <kartik.labhshetwar@mem0.ai>
Co-authored-by: Saket Aryan <saketaryan2002@gmail.com>
2026-04-16 17:13:13 +05:30
mintlify[bot]andGitHub f05e50d940 Improve SEO metadata across documentation pages (#4447) 2026-03-20 02:52:39 -07:00
Parth SharmaandGitHub f7d7c53001 Added improved docs index and overview pages and quickstart (#3603) 2025-10-22 10:30:45 -07:00
Parshva DaftariandGitHub ac72eb5ecc Aspen theme for 1.x (#3473) 2025-09-18 21:03:17 +05:30