API Reference
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
import { knowledgeGraphReducerBundle } from "@graphrefly/ts/patterns";
Signature
function knowledgeGraphReducerBundle(
graph: Graph,
opts: KnowledgeGraphReducerBundleOptions,
): KnowledgeGraphReducerBundle
Parameters
| Parameter | Type | Description |
|---|---|---|
graph | Graph | Graph that owns the created nodes or projector. |
opts | KnowledgeGraphReducerBundleOptions | Options that configure the helper. |
Returns
A bundle of graph-visible nodes for the recipe.
Example
import { knowledgeGraphReducerBundle } from "@graphrefly/ts/patterns";
Source
packages/ts/src/patterns/semantic-memory-graph.ts