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

27 lines (26 loc) • 919 B
/** * LangSmith Exporter * Exports spans to LangSmith observability platform */ import type { ExporterHealthStatus, ExportResult, LangSmithExporterConfig, SpanData } from "../../types/index.js"; import { BaseExporter } from "./baseExporter.js"; /** * LangSmith exporter for LangChain ecosystem observability * Supports runs with proper type mapping */ export declare class LangSmithExporter extends BaseExporter { private readonly apiKey; private readonly projectName; private readonly endpoint; constructor(config: LangSmithExporterConfig); initialize(): Promise<void>; exportSpan(span: SpanData): Promise<ExportResult>; exportBatch(spans: SpanData[]): Promise<ExportResult>; flush(): Promise<void>; shutdown(): Promise<void>; healthCheck(): Promise<ExporterHealthStatus>; /** * Verify connectivity to LangSmith API */ protected ping(): Promise<void>; }