@amemhq/core 1.0.1 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -17,7 +17,7 @@ Unlike a flat vector store, A-MEM maintains memory as a living, self-evolving se
17
17
  1. **Note Construction** — an LLM extracts keywords, tags, and a context summary; categorizes the note; and classifies it as `memory` (episodic) or `knowledge` (durable), extracting 1–5 `topics` for knowledge notes.
18
18
  2. **Link Generation** — retrieves top-6 candidates; the LLM judges whether to link bidirectionally (similarity > 0.3).
19
19
  3. **Memory Evolution** — up to 3 linked notes have their attributes evolved from the new context, possibly triggering further links.
20
- 4. **Hybrid Retrieval** — fuses dense vectors (Transformers.js `paraphrase-multilingual-MiniLM-L12-v2`, 384-dim) and BM25 via Reciprocal Rank Fusion (RRF), boosted by retrieval heat.
20
+ 4. **Hybrid Retrieval** — fuses dense vectors (Transformers.js `bge-m3`, 1024-dim) and BM25 via Reciprocal Rank Fusion (RRF), boosted by retrieval heat.
21
21
  5. **2-hop BFS Graph Expansion** — after RRF top-K, BFS walks the link graph up to 2 hops, admitting up to 8 graph-connected notes that pass an embedding relevance gate (cos-sim ≥ 0.25). This is the key advantage over flat vector systems.
22
22
 
23
23
  ## Features
@@ -47,7 +47,7 @@ host (OpenClaw plugin / amem-api / game agent)
47
47
 
48
48
  @amemhq/core (TypeScript)
49
49
  ├── LLM (Anthropic) note construction · link judgment · CRUD · evolution
50
- ├── Transformers.js (ONNX) 384-dim local embeddings + Jieba BM25
50
+ ├── Transformers.js (ONNX) local embeddings + Jieba BM25
51
51
  └── Qdrant :6333 vector store · owner/readers/writers · agent_id isolation
52
52
  ```
53
53