Skip to main content

summariseBlocks

@forge/monorepo


@forge/monorepo / backend/src / summariseBlocks

Function: summariseBlocks()

summariseBlocks(blocks): string

Defined in: backend/src/documents/render.ts:53

A one-line description of what a document contains.

For the context section: enough for a model to decide whether reading it is worth the budget, at a cost that does not depend on the document's length.

Parameters

blocks

readonly DocumentBlock[]

Returns

string