WOLBΛRG

Graph memory

Graph memory was removed in Wolbarg 0.6.0. Use metadata or an external store for relationships.

Removed in 0.6.0

Graph memory is no longer part of the Wolbarg core SDK.

The following APIs and factories were removed:

  • sqliteGraph / neo4jGraph
  • linkMemories / getRelated
  • recall({ includeGraph: true })
  • neo4j-driver peer dependency

This page is kept so existing links and bookmarks resolve. Full release notes: What's New · Migration.

What to use instead

NeedApproach
Tag related factsStore relation ids / keys in metadata and filter with meta.*
Explicit graph walksUse an external graph database or your own edge tables outside Wolbarg
Similarity + keywordsSemantic search + hybrid BM25
await ctx.remember({
  agent: "support",
  content: { text: "Refund SLA is 5 business days." },
  metadata: { topic: "billing", relatedTo: ["pref-email"] },
});

const hits = await ctx.recall({
  query: "refund timeline",
  filter: { metadata: meta.eq("topic", "billing") },
});

Upgrade checklist

  1. Remove graph, sqliteGraph, neo4jGraph, linkMemories, getRelated, and includeGraph from your code
  2. Uninstall neo4j-driver if you only used it for Wolbarg
  3. Install wolbarg@0.6.0
  4. Re-express relationships with metadata or an external store