knowledgeGraphReducerBundle()
D170 lower semantic-memory KG materializer.
Assertion, entity, relation, and topic ids remain DATA keys. The bundle has static describe-visible topology and owns no storage, LLM extraction, scheduler, agent runtime, or dynamic graph node lifecycle.
Import
Section titled “Import”import { knowledgeGraphReducerBundle } from "@graphrefly/ts/patterns";Signature
Section titled “Signature”function knowledgeGraphReducerBundle( graph: Graph, opts: KnowledgeGraphReducerBundleOptions,): KnowledgeGraphReducerBundleParameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
graph | Graph | Graph that owns the created nodes or projector. |
opts | KnowledgeGraphReducerBundleOptions | Options that configure the helper. |
Returns
Section titled “Returns”A bundle of graph-visible nodes for the recipe.
Example
Section titled “Example”import { knowledgeGraphReducerBundle } from "@graphrefly/ts/patterns";Source
Section titled “Source”packages/ts/src/patterns/semantic-memory-graph.ts