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

11 lines (10 loc) • 506 B
/** * Safe metadata filtering for observability exporters. * * Only these attribute keys are forwarded to third-party backends as trace * metadata. User prompts (input), LLM responses (output), error stacks, and * any other potentially sensitive data are excluded to prevent PII leaks. */ import type { SpanAttributes } from "../../types/index.js"; export declare const SAFE_METADATA_KEYS: Set<string>; export declare function filterSafeMetadata(attributes: SpanAttributes): Record<string, unknown>;