Skip to content

Graphorin API reference v0.1.0


Graphorin API reference / @graphorin/evals / loaders / groupAndExtract

Function: groupAndExtract()

ts
function groupAndExtract<I, O>(text, options): Dataset<I, O>;

Defined in: evals/src/loaders/from-traces.ts:48

Pure parser for the trace JSONL format. Exported so tests can exercise the extraction without touching the filesystem.

Type Parameters

Type Parameter
I
O

Parameters

ParameterType
textstring
optionsFromTracesOptions&lt;I, O&gt;

Returns

Dataset&lt;I, O&gt;

Stable