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

15 lines (14 loc) • 821 B
import type { ServerSTTEvalBatchRequest, ServerSTTEvalLangfuseConfig, ServerSTTEvalReport } from "../../types/index.js"; /** The export configuration from the environment, or `undefined` when it is not set up. */ export declare function sttEvalLangfuseConfigFromEnv(env?: NodeJS.ProcessEnv): ServerSTTEvalLangfuseConfig | undefined; export declare class STTEvalLangfuseExporter { private readonly _config; private _tail; constructor(config: ServerSTTEvalLangfuseConfig); /** Queues one batch (and the call's comparison after it) for export. Never throws. */ export(batch: ServerSTTEvalBatchRequest, report: ServerSTTEvalReport | undefined): Promise<void>; /** Resolves once every export queued so far has been attempted. */ flush(): Promise<void>; private _eventsFor; private _send; }