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