Skip to main content

ThreadSummarizer

@retinue/monorepo


@retinue/monorepo / backend/src / ThreadSummarizer

Interface: ThreadSummarizer

Defined in: backend/src/context/compaction.ts:18

Produces the condensed text for a batch of older messages, layering on any prior summary.

Methods​

summarize()​

summarize(input): Promise<string>

Defined in: backend/src/context/compaction.ts:19

Parameters​

input​
messages​

readonly Message[]

priorSummary?​

string

Returns​

Promise<string>