API Reference / chartBrief · function

Function: chartBrief()

function chartBrief(ctx, opts?): Brief;

Render an InterpretationContext as a compact, id-tagged Brief for an LLM to interpret and cite.

Parameters

ParameterTypeDescription
ctxInterpretationContextA projection from interpretationContext.
optsBriefOptionsCapping, kind filter, an optional Reading to fold in, and whether to prepend BRIEF_INSTRUCTIONS.

Returns

Brief

The Brief: a ranked facts list and a ready prompt.

Start building

Quickstart →