@arizeai/phoenix-evals
Version:
A library for running evaluations for AI use cases
20 lines (17 loc) • 457 B
text/typescript
import type { Tracer } from "@opentelemetry/api";
export type TelemetryConfig = {
/**
* Whether OpenTelemetry is enabled on the call.
* Defaults to true for visibility into the evals calls.
* @default true
*/
isEnabled?: boolean;
/**
* The tracer to use for the call.
* If not provided, the traces will get picked up by the global tracer.
*/
tracer?: Tracer;
};
export type WithTelemetry = {
telemetry?: TelemetryConfig;
};