utkarsh240799
6d8875c196
test: add score normalization integration tests for vector stores
...
Level 1 tests validate each vector store's search() returns similarity
scores (higher = better) with correct ordering using known vectors.
Level 2 tests validate the full Memory.add() + Memory.search(threshold=...)
pipeline end-to-end. Both levels are standalone scripts run via CLI args
(e.g., `python test_score_normalization.py faiss`), not collected by pytest.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-28 21:57:40 +05:30
utkarsh240799
224fd6c7d8
fix: normalize vector store scores to similarity (higher = better)
...
The threshold parameter in Memory.search() was silently broken for 11
vector stores because they returned raw distance scores (lower = better)
while the threshold check assumed similarity scores (higher = better).
This caused threshold filtering to be inverted — good matches got
dropped and bad matches passed through.
Convert all affected vector stores to return similarity scores:
- Cosine distance stores: score = max(0.0, 1.0 - distance)
- L2 distance stores: score = 1.0 / (1.0 + distance)
- Stores computing similarity then discarding it: return similarity directly
Fixes #4453
Related: #3283
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-28 21:57:40 +05:30
Utkarsh
431cba20e9
fix(ts): work around Qdrant Cloud "Illegal host" error ( #4565 )
...
Co-authored-by: utkarsh240799 <utkarsh240799@users.noreply.github.com >
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
Co-authored-by: kartik-mem0 <kartik.labhshetwar@mem0.ai >
2026-03-28 21:50:36 +05:30
Kartik
4482228383
chore: fix failing CI lint errors ( #4584 )
2026-03-28 21:45:47 +05:30
Himanshu
ae49edec44
fix(memory): centralize entity cleanup and skip malformed LLM relation dicts ( #4515 )
2026-03-28 21:23:05 +05:30
Kartik
4b7f51d194
docs: add installation and configuration guide for email automation with Mem0 open source ( #4567 )
2026-03-28 21:12:31 +05:30
Kartik
41abb571a2
feat: adding oss version of companion cookbook ( #4564 )
2026-03-28 21:11:59 +05:30
Anchi Li
e280665578
fix: remove README.md from wheel shared-data ( #4052 )
2026-03-28 20:57:51 +05:30
Br1an
27a6e7863e
fix: rebuild FAISS index on vector deletion ( #4178 )
2026-03-28 20:56:39 +05:30
Kartik
ae8e03c6b7
docs: add content-writing cookbook to operations ( #4566 )
2026-03-28 20:52:54 +05:30
Dan Siwiec
376be3b6d4
[docs] fix python quickstart code snippet #3770 ( #3771 )
2026-03-28 20:40:10 +05:30
Kartik
cd2dd7cc54
refactor: update default Gemini and Vertex AI embedder model to gemini-embedding-001 ( #4571 )
2026-03-28 20:39:27 +05:30
Agam Pandey
ece654811a
fix(docs): add Token prefix to Events API code examples ( #3927 )
2026-03-28 20:38:42 +05:30
Saket Aryan
13d42a99e9
docs: improve CLI dev workflow and prioritize Node.js installation ( #4579 )
2026-03-27 17:50:03 -07:00
Saket Aryan
3225e30859
feat: add official mem0 CLI (Python & TypeScript) ( #4575 )
2026-03-28 05:03:01 +05:30
Kartik
88fd0e77d0
docs: add navigation links for platform features in docs ( #4572 )
2026-03-28 01:43:44 +05:30
Kartik
c2698f2b71
fix: preserve original actor_id during memory update ( #4570 )
2026-03-28 00:02:58 +05:30
Utkarsh
e87240d4d9
fix(vector_stores): handle vector=None in Milvus and Qdrant update methods ( #4568 )
...
Co-authored-by: utkarsh240799 <utkarsh240799@users.noreply.github.com >
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-27 21:50:54 +05:30
Gopal Bagaswar
68cf4e118d
feat: add reasoning_effort parameter support for reasoning models ( #4461 )
2026-03-27 17:54:44 +05:30
Utkarsh
12624555b4
fix(memory): set updated_at on creation and preserve pre-existing created_at ( #4499 )
...
Co-authored-by: utkarsh240799 <utkarsh240799@users.noreply.github.com >
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-27 16:59:44 +05:30
Kartik
e8004b93db
chore: updating the sdk version and changelog ( #4561 )
...
Co-authored-by: Saket Aryan <saketaryan2002@gmail.com >
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
v1.0.8
2026-03-26 22:21:31 +05:30
Gabriel Stein
4e414e4015
fix(plugin): make Cursor plugin fully functional ( #4547 )
2026-03-26 09:46:42 -07:00
mintlify[bot]
16455789d4
Fix short SEO description in integration guide template ( #4551 )
2026-03-26 09:39:54 -07:00
Utkarsh
3ac4e047de
fix: merge multiple filter operators for same key ( #4559 )
...
Co-authored-by: utkarsh240799 <utkarsh240799@users.noreply.github.com >
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-26 20:28:37 +05:30
Utkarsh
a2ffca3266
fix: prevent SQL injection in Databricks vector store ( #4558 )
...
Co-authored-by: utkarsh240799 <utkarsh240799@users.noreply.github.com >
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-26 20:22:34 +05:30
Felippe Mercurio
3a9fcdbec2
fix(oss): make pgvector pg import compatible with ESM ( #4544 )
2026-03-26 20:07:39 +05:30
Utkarsh
515f87b6bd
docs: fix OSS REST API endpoint discrepancies ( #4555 )
...
Co-authored-by: utkarsh240799 <utkarsh240799@users.noreply.github.com >
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-26 20:05:23 +05:30
zaid khan
5edc0cc99f
fix: update parameter added to the update function which is exposed t… ( #3799 )
...
Co-authored-by: utkarsh240799 <utkarsh240799@users.noreply.github.com >
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-26 20:02:33 +05:30
Utkarsh
7fff26f374
docs: fix LLM reranker config examples and field names ( #4539 )
...
Co-authored-by: utkarsh240799 <utkarsh240799@users.noreply.github.com >
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-26 19:58:05 +05:30
VictorECDSA
1aecfadf45
fix: add timestamps for DELETE operations in history ( #4492 )
2026-03-26 18:52:10 +05:30
Chaithanya Kumar
7e06aeeada
fix(openclaw): improve credential detection in extraction instructions ( #4552 )
...
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-26 17:28:18 +05:30
Utkarsh
2a59c9fd99
fix: handle chatty LLM responses in JSON parsing ( #4525 )
...
Co-authored-by: utkarsh240799 <utkarsh240799@users.noreply.github.com >
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-26 16:39:17 +05:30
Chaithanya Kumar
669ed184e4
fix(openclaw): prevent extraction of standalone timestamps as memories ( #4550 )
...
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-26 15:19:50 +05:30
Gabriel Stein
3c2683c1b5
feat: add Mem0 plugin for Claude Code and Cursor ( #4518 )
2026-03-25 14:45:59 -07:00
Himanshu
f06e2d744d
Fix/OpenAI embedding dimensions 4153 ( #4481 )
2026-03-25 19:59:28 +05:30
lamost423
f9e30304d7
fix: sanitize hyphens in Neo4j Cypher relationship names ( #4154 )
2026-03-25 19:58:27 +05:30
Varun Chawla
7e3b727528
Fix: prevent double embedding in mem0.add ( fixes #3723 ) ( #3996 )
...
Co-authored-by: utkarsh240799 <utkarsh240799@users.noreply.github.com >
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-25 18:14:48 +05:30
Lev Neiman
13c7f84eec
MCP: add Streamable HTTP transport endpoint ( #4122 )
...
Co-authored-by: utkarsh240799 <utkarsh240799@users.noreply.github.com >
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-25 16:36:37 +05:30
Utkarsh
924ac00c52
feat: expose infer param in MCP add_memories tool ( #4517 )
...
Co-authored-by: utkarsh240799 <utkarsh240799@users.noreply.github.com >
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-25 15:53:50 +05:30
Utkarsh
2a36960f4c
fix: prevent in-place mutation of metadata in _create_memory ( #4529 )
...
Co-authored-by: utkarsh240799 <utkarsh240799@users.noreply.github.com >
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-25 13:56:30 +05:30
Himanshu
2e0f91e70d
fix(bedrock): omit topP for Anthropic Converse; use AWSBedrockConfig in LlmFactory ( #4469 )
2026-03-25 11:22:52 +05:30
Saket Aryan
d1b4b304c7
chore: replace local MCP and Smithery with cloud MCP server ( #4532 )
2026-03-25 04:58:00 +05:30
Saket Aryan
2868bfe749
docs: remove OpenMemory references from docs, README, and issue templates ( #4520 )
2026-03-25 04:24:13 +05:30
Kartik
5431badfd4
fix: preserve custom metadata when updating memory ( #4495 )
2026-03-24 10:58:21 +05:30
Utkarsh
bda5b726bd
fix: avoid sending both temperature and top_p to Anthropic API ( #4471 )
...
Co-authored-by: utkarsh240799 <utkarsh240799@users.noreply.github.com >
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-23 21:00:41 +05:30
Kartik
16bcc91716
chore: remove benchmark submission issue template and label matcher ( #4514 )
2026-03-23 20:32:55 +05:30
Kartik
ba63ea4528
docs: add Vibecoding guide with Mem0 integration ( #4511 )
2026-03-23 19:36:21 +05:30
Utkarsh
5332741961
fix: clean up graph store data on Memory.delete() ( #4505 )
...
Co-authored-by: utkarsh240799 <utkarsh240799@users.noreply.github.com >
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-23 19:27:38 +05:30
Utkarsh
d8a6960b4a
fix: align Databricks docs with config and fix query mode selection ( #4477 )
...
Co-authored-by: utkarsh240799 <utkarsh240799@users.noreply.github.com >
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-23 19:20:11 +05:30
Himanshu
316dc67a0a
fix(ts-oss): register pgvector in VectorStoreFactory ( #3367 ) ( #4502 )
2026-03-23 18:52:19 +05:30