Skip to content
PACKAGES

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 { knowledgeGraphReducerBundle } from "@graphrefly/ts/patterns";
function knowledgeGraphReducerBundle(
graph: Graph,
opts: KnowledgeGraphReducerBundleOptions,
): KnowledgeGraphReducerBundle
ParameterTypeDescription
graphGraphGraph that owns the created nodes or projector.
optsKnowledgeGraphReducerBundleOptionsOptions that configure the helper.

A bundle of graph-visible nodes for the recipe.

import { knowledgeGraphReducerBundle } from "@graphrefly/ts/patterns";

packages/ts/src/patterns/semantic-memory-graph.ts