@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
10 lines (9 loc) • 316 B
TypeScript
/**
* Extract the current OTel trace context for use by Pipeline B spans.
* Returns undefined values when no OTel context is active, allowing
* Pipeline B spans to share the same trace as Pipeline A spans.
*/
export declare function getActiveTraceContext(): {
traceId?: string;
parentSpanId?: string;
};