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