Soumil Rathi
b9e26acf4d
merge: integrate main into feat/v3-pipeline + port AsyncMemory to v3
...
Merge 190 commits from main including:
- limit→top_k rename across all vector store APIs
- custom_fact_extraction_prompt→custom_instructions rename
- enable_graph flag removal (use self.graph truthiness)
- US/Pacific→timezone.utc normalization
- 18 Category A bug fixes (partial updates, graph cleanup on delete,
telemetry gating, metadata mutation prevention, filter operator
merging, delete timestamps, actor_id preservation, etc.)
Conflict resolutions:
- openai.py: merged _pass_dimensions_to_api with embed_batch
- milvus.py: merged partial-update logic with BM25 text field
- qdrant.py: took main's enhanced _create_filter, merged BM25
sparse vectors with partial-update endpoints
- test_main.py: adopted main's test structure, removed obsolete
test_custom_prompts, kept hybrid search over-fetch assertion
AsyncMemory v3 port (full parity):
- Rewrote AsyncMemory._add_to_vector_store with the same 8-phase
batch pipeline as sync Memory (single LLM call, batch embed,
hash dedup, batch persist, batch entity linking, message saving)
- All blocking calls wrapped in await asyncio.to_thread()
- Moved _build_session_scope to module level for shared access
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-04-12 16:26:10 -07:00
Soumil Rathi
9c9b3d54e2
feat(oss): make spaCy an optional dependency
...
Move spacy from core dependencies to optional [nlp] extra.
The system gracefully degrades without spaCy:
- Lemmatization falls back to raw text
- Entity extraction returns empty (no entity boost)
- BM25 keyword search still works on raw text
- Semantic search and additive scoring unaffected
Install with NLP support: pip install mem0ai[nlp]
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-04-02 11:04:38 -07:00
Soumil Rathi
a33c557a25
feat(oss): port v3 pipeline with hybrid search, entity extraction, and additive scoring
...
Replace the 2-LLM-call add pipeline with a single-pass additive extraction
using ADDITIVE_EXTRACTION_PROMPT. Memories now accumulate (ADD-only) instead
of being updated/deleted during extraction.
Search pipeline upgraded to hybrid scoring combining three signals:
- Semantic similarity (vector search)
- BM25 keyword matching (native per vector store, 15 stores supported)
- Entity boost (spaCy NER with entity collection linking)
Combined score = (semantic + bm25 + entity_boost) / max_possible, where
max_possible adapts based on which signals are active.
Key changes:
- Add spaCy-based lemmatization for BM25 keyword search
- Add spaCy-based entity extraction (PROPER, QUOTED, COMPOUND, NOUN types)
- Add entity store as second vector collection ({collection}_entities)
- Add native keyword_search() to 15 vector store adapters
- Add batch embedding support (embed_batch) for OpenAI and Azure OpenAI
- Add message persistence in SQLite (rolling window of 10 per scope)
- Add additive scoring with adaptive normalization
- Add observation_date parameter to add()
- Add custom_instructions config field
- Default search threshold changed to 0.1
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-31 14:09:37 -07:00
Genaro Sanchez
82525dbf0f
docs: update Twitter references to X (formerly Twitter) ( #4432 )
2026-03-31 22:44:04 +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
Saket Aryan
2868bfe749
docs: remove OpenMemory references from docs, README, and issue templates ( #4520 )
2026-03-25 04:24:13 +05:30
Parshva Daftari
394203d1b5
Mem0 1.0.0 ( #3545 )
2025-10-16 15:50:20 +05:30
Parshva Daftari
41cfb3ab1a
[Update] Default LLM ( #3587 )
2025-10-15 11:19:52 -07:00
Vishaal LS
445286a138
fix: update license information in README and pyproject.toml ( #3522 )
2025-09-30 13:58:08 -07:00
Parshva Daftari
a7ac8bf13b
Updated discord and dashboard image ( #3344 )
2025-08-20 14:11:26 -07:00
Saket Aryan
da59412150
Remove OpenMemory Directory from pyproject and Update Link ( #2678 )
2025-05-13 21:50:56 +05:30
Prateek Chhikara
e056acb6a8
docs change ( #2606 )
2025-05-01 14:03:04 -07:00
Dev Khant
6a1ece13dc
Doc: Fix README links ( #2602 )
2025-05-01 22:00:56 +05:30
Prateek Chhikara
393a4fd5a6
Docs Update ( #2591 )
2025-04-29 08:15:25 -07:00
yanzz
2c31a930a3
Update README.md ( #2187 )
2025-03-05 12:41:43 -08:00
Mini256
80b7202db6
fix: fix sample code on README.md ( #2312 )
2025-03-06 00:00:13 +05:30
Saket Aryan
2611343cbe
Updated Docs to add Mem0 Demo Link/ Updated Mem0 Demo ( #2305 )
2025-03-05 01:11:33 -08:00
Saket Aryan
aa7ab9736d
Add Mem0 Demo ( #2291 )
2025-03-04 10:04:59 -08:00
Saket Aryan
434b555a29
Updated docs for typescript package ( #2269 )
2025-02-27 18:22:28 -08:00
Dev Khant
095189d39a
Update client in README ( #2215 )
2025-02-17 00:14:23 +05:30
Dev Khant
f9995d144f
Update README.md
2025-02-01 00:37:08 +05:30
Dev Khant
9f27b88843
Update README.md
2025-01-31 12:00:24 +05:30
Dev Khant
d2f0e23dc8
Update README.md
2025-01-31 10:42:41 +05:30
Dev Khant
6e23a6f00e
Update README.md
2025-01-30 23:51:28 +05:30
Dev Khant
a06c9a99ae
Doc changes and Storage fix ( #2181 )
2025-01-30 10:16:33 -08:00
haarishmk26
0cc528f3b1
Commit tracking ( #2127 )
2025-01-09 17:40:11 +05:30
Dev-Khant
e9188a51fe
update README
2025-01-06 11:38:57 +05:30
Deshraj Yadav
b6f9054567
Add npmjs package badge on README ( #1972 )
2024-10-17 17:33:03 -07:00
Deshraj Yadav
bf57d253a5
Update README.md ( #1949 )
2024-10-09 12:36:19 -07:00
Dev Khant
699741c760
fix links ( #1916 )
2024-09-27 01:12:21 +05:30
Deshraj Yadav
db835cdcb8
Update README.md ( #1847 )
2024-09-10 11:27:55 -07:00
Prateek Chhikara
b081e43b8d
Modified the return statement for ADD call | Added tests to main.py and graph_memory.py ( #1812 )
2024-09-09 10:04:11 -07:00
Mathew Shen
2262fadd5b
docs(readme): add pypi related badges ( #1792 )
2024-09-02 20:09:16 +05:30
Pranav Puranik
e8004537c1
get_all returns dictionary ( #1756 )
2024-08-27 16:26:54 +05:30
Prateek Chhikara
515fb86497
Readme Changes ( #1725 )
2024-08-20 22:49:44 -07:00
Prateek Chhikara
c64e0824da
[Mem0] Integrate Graph Memory ( #1718 )
...
Co-authored-by: Deshraj Yadav <deshrajdry@gmail.com >
2024-08-20 16:37:38 -07:00
Taranjeet Singh
883ffd7de0
feat: add docs about how mem0 works ( #1693 )
2024-08-13 11:31:47 +05:30
Taranjeet Singh
2dcbcdf7a5
feat: Move core features at the top ( #1665 )
2024-08-08 08:31:28 +05:30
Taranjeet Singh
874c2e96ca
Improve docs and readme ( #1663 )
2024-08-08 07:44:49 +05:30
Taranjeet Singh
4a643a8449
feat: Improve readme ( #1661 )
2024-08-08 02:50:15 +05:30
Taranjeet Singh
37cacb27ec
feat: Fix banner image ( #1660 )
2024-08-08 00:58:34 +05:30
Taranjeet Singh
7ba46ec5ec
feat: Improve readme ( #1658 )
2024-08-08 00:45:15 +05:30
Taranjeet Singh
4af6288adb
feat: update readme ( #1655 )
2024-08-07 10:38:57 +05:30
Taranjeet Singh
de7ee38e45
feat: Improve readme structure ( #1654 )
2024-08-07 09:38:17 +05:30
Dev Khant
3eff82082e
fix readme ( #1633 )
2024-08-02 21:23:00 +05:30
Dev Khant
419dc6598c
Add OpenAI proxy ( #1503 )
...
Co-authored-by: Deshraj Yadav <deshrajdry@gmail.com >
2024-08-02 20:14:27 +05:30
Taranjeet Singh
607c689cb0
feat: Improve readme and author details ( #1606 )
2024-07-30 10:05:47 +05:30
Taranjeet Singh
bb2efb8b8b
fix: substack link ( #1589 )
2024-07-26 12:53:11 +05:30
Taranjeet Singh
9148cce8fc
Feat: Add mem0 newsletter link ( #1588 )
2024-07-26 00:19:42 -07:00