GraphReFlyTS

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

ParameterTypeDescription
graphGraphGraph that owns the created nodes or projector.
optsAgenticMemoryContextPackingBundleOptions<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