agenticMemoryContextPackingBundle()
Creates an agentic memory context packing bundle.
Import
Section titled “Import”import { agenticMemoryContextPackingBundle } from "@graphrefly/ts/solutions";Signature
Section titled “Signature”function agenticMemoryContextPackingBundle( graph: Graph, opts: AgenticMemoryContextPackingBundleOptions<T>,): AgenticMemoryContextPackingBundle<T>Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
graph | Graph | Graph that owns the created nodes or projector. |
opts | AgenticMemoryContextPackingBundleOptions<T> | Options that configure the helper. |
Returns
Section titled “Returns”A bundle of graph-visible nodes for the recipe.
Example
Section titled “Example”import { agenticMemoryContextPackingBundle } from "@graphrefly/ts/solutions/agentic-memory";Source
Section titled “Source”packages/ts/src/solutions/agentic-memory/context-packing.ts