Skip to content

Graphorin API reference v0.1.0


Graphorin API reference / @graphorin/agent / filters / summary

Function: summary()

ts
function summary(text): DescribedFilter;

Defined in: packages/agent/src/filters/index.ts:158

Replace the parent's history with a single system message carrying the supplied summary. Used by callers that wire in an LLM-based summarizer outside the framework.

Parameters

ParameterType
textstring

Returns

DescribedFilter

Stable