@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
17 lines (16 loc) • 609 B
TypeScript
/**
* Deterministic experiment log parser.
*
* Extracts metrics from run.log output. Never throws — returns
* crashed/timedOut summary on parse failure.
*/
import type { ExperimentSummary, MetricConfig, MemoryMetricConfig } from "../types/index.js";
/**
* Parse experiment output into a structured summary.
*
* This function is deterministic and pure — no side effects, no throws.
*/
export declare function parseExperimentSummary(logContent: string, metricConfig: MetricConfig, memoryConfig?: MemoryMetricConfig, options?: {
timedOut?: boolean;
exitCode?: number;
}): ExperimentSummary;