UNPKG

@juspay/neurolink

Version:

The pipe layer of an AI nervous system: one interface connecting provider neurons to your application, across three inference types — generate, stream and decide. `decide` returns typed, calibrated judgements from a non-generative model (~400ms, ~$0.00002

21 lines (20 loc) • 777 B
/** * Experiment result recording — TSV + optional JSONL. */ import type { ExperimentRecord, ExperimentStats, ResearchConfig } from "../types/index.js"; export declare class ResultRecorder { private config; private tsvPath; private jsonlPath; constructor(config: ResearchConfig); /** Creates results.tsv with header if it doesn't exist */ ensureResultsFile(): Promise<void>; /** Appends one TSV row to results.tsv */ appendTsv(record: ExperimentRecord): Promise<void>; /** Appends one JSON line to runs.jsonl */ appendJsonl(record: ExperimentRecord): Promise<void>; /** Reads all records from results.tsv */ readAll(): Promise<ExperimentRecord[]>; /** Returns summary stats */ getStats(): Promise<ExperimentStats>; }