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

17 lines (16 loc) • 962 B
/** * @description Registers the function that starts NeuroLink's tracing. The shared tracers call it through `startTelemetry`, so they depend on this module and on `@opentelemetry/api` only, and the OpenTelemetry SDK loads with the entries that register a starter. * @param start {() => void} - Starts tracing once per process; safe to call repeatedly. * @returns {void} Nothing. */ export declare function registerTelemetryStarter(start: () => void): void; /** * @description Starts NeuroLink's tracing through the registered starter. Without one nothing starts and spans go to whatever provider the host registered. * @returns {void} Nothing. */ export declare function startTelemetry(): void; /** * @description Reports whether a TracerProvider other than the API's placeholder is registered globally, whoever registered it. * @returns {boolean} `true` when spans reach a real provider. */ export declare function hasHostTracerProvider(): boolean;