@juspay/neurolink
Version:
Universal AI Development Platform with working MCP integration, multi-provider support, voice (TTS/STT/realtime), and professional CLI. 58+ external MCP servers discoverable, multimodal file processing, RAG pipelines. Build, test, and deploy AI applicatio
31 lines (30 loc) • 1.02 kB
TypeScript
/**
* Braintrust Exporter
* Exports spans to Braintrust AI evaluation platform
*/
import type { BraintrustExporterConfig, ExporterHealthStatus, ExportResult, SpanData } from "../../types/index.js";
import { BaseExporter } from "./baseExporter.js";
/**
* Braintrust exporter for AI evaluation and scoring
* Supports project logs and evaluation metrics
*/
export declare class BraintrustExporter extends BaseExporter {
private readonly apiKey;
private readonly projectName;
private readonly endpoint;
constructor(config: BraintrustExporterConfig);
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 Braintrust API
*/
protected ping(): Promise<void>;
/**
* Convert span to Braintrust log format
*/
private convertToBraintrustLog;
}