Braintrust ✅
Braintrust is an evaluation and monitoring platform for LLM applications.
Configuration ✅
To use Braintrust with Kastrax, configure these environment variables:
OTEL_EXPORTER_OTLP_ENDPOINT=https://api.braintrust.dev/otel
OTEL_EXPORTER_OTLP_HEADERS="Authorization=Bearer <Your API Key>, x-bt-parent=project_id:<Your Project ID>"
Implementation ✅
Here’s how to configure Kastrax to use Braintrust:
import { Kastrax } from "@kastrax/core";
export const kastrax = new Kastrax({
// ... other config
telemetry: {
serviceName: "your-service-name",
enabled: true,
export: {
type: "otlp",
},
},
});
Dashboard ✅
Access your Braintrust dashboard at braintrust.dev
Last updated on