Documents that stay current, answers that stay connected
Save a document under a stable name and it becomes the one current version, with every earlier revision still readable. Retrieve by matching text — then follow the relationships around it, instead of stopping at the nearest chunk.
Graph-grounded retrieval. A query matches a few records by meaning — the seeds — then the answer expands outward along your relationships, one or two hops, so it carries the connected context, not just the closest passage.
One call: gds.semanticMatchExpand finds the seeds by vector similarity and returns the records reached from them, with how far out each one sits.
One current version, with its history
Save under a stable name.
Save a document under a stable uri. The newest save is the current version whatever its label, and every earlier revision stays in history.
Any revision, by date.
List every revision with when it was current, and fetch any past one by date — so a citation resolves to the text that was actually in force then.
get_document(uri, atValid)Answers carry context.
Start from the best-matching records, then expand across your relationships in one call — the answer arrives with its connected evidence, not just the nearest chunk.
gds.semanticMatchExpandPut a document in
A document is stored as a Document node with Chunk nodes linked to it, as a background job. Save the same uri with a new revision and it becomes current.
Or over MCP, the same three operations an assistant calls itself:
Match by meaning, then follow the relationships
Find the closest records by vector similarity, then expand across the relationship types you choose — in one query.
distance is 0 for a seed and 1 to hops for an expanded record; score is the seed's similarity. Optional threshold, scopeFilter and maxNodes bound the walk.
Or recall over the saved store directly:
Recall searches what was saved with remember and save_document — not records written directly with Cypher.
Organized in your own words
Set the categories the store uses once with set_ontology, and describe_memory shows what it is keeping. The categories are yours — your terms, not a generic schema — and they organize the saved memories and documents you can search and recall.