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
| Parameter | Type |
|---|---|
text | string |
options | FromTracesOptions<I, O> |
Returns
Dataset<I, O>