Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ On [LoCoMo](https://arxiv.org/abs/2402.17753), the public long-context memory be

- 📥 **Captures** every session's prompts, tool calls, and responses as structured traces in Deeplake
- 🧠 **Codifies** patterns into reusable `SKILL.md` files, available to every agent on your team
- 🔍 **Searches** traces and skills with hybrid lexical + semantic retrieval (BM25 fallback when embeddings off)
- 🔍 **Searches** traces and skills with hybrid lexical + semantic retrieval: a `UNION ALL` of `LIKE`/`ILIKE` substring rows (sentinel score 1.0, capped by `HIVEMIND_HYBRID_LEXICAL_LIMIT`) and cosine-similarity rows (real 0–1 score), ordered by score — so exact keyword matches always lead while semantic hits fill in below. When embeddings are off, falls back to lexical `LIKE`/`ILIKE` only. (BM25 was evaluated but dropped: its score scale (~1–3) overwhelmed cosine in a shared `ORDER BY`, requiring rank-based fusion (RRF) or score normalisation to use safely.)
- 🔗 **Propagates** capability across sessions, agents, teammates, and machines in real time
- 📁 **Intercepts** file operations on `~/.deeplake/memory/` through a virtual filesystem backed by SQL
- 📝 **Summarizes** sessions into AI-generated wiki pages via a background worker at session end
Expand Down
4 changes: 3 additions & 1 deletion src/embeddings/disable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ import { getEmbeddingsEnabled } from "../user-config.js";
*
* In either case: SessionStart skips the warmup, capture / wiki-worker
* write rows with NULL in the embedding column, and `Grep` falls back to
* BM25 / ILIKE matching on text columns. Existing rows' embeddings remain
* lexical `LIKE`/`ILIKE` matching on text columns (BM25 was evaluated but
* dropped — its score scale (~1..3) is incompatible with cosine in a single
* ORDER BY without RRF or normalisation; see grep-core.ts PR-NOTES F4c).
* readable.
*
* Read-once: the status is cached for the lifetime of the (short-lived)
Expand Down