Interface LDAIJudgeConfig

Judge-specific AI Config with required evaluation metric key.

Hierarchy

Properties

createTracker: (() => LDAIConfigTracker)

Type declaration

    • (): LDAIConfigTracker
    • Creates a new tracker for a fresh AI run. Each call mints a new runId (a UUIDv4) that LaunchDarkly uses to correlate the run's events in metrics views. Call this once per AI run; metrics from different runIds cannot be combined.

      Returns LDAIConfigTracker

enabled: boolean

Whether the configuration is enabled.

evaluationMetricKey?: string

Evaluation metric key for judge configurations. The key of the metric that this judge can evaluate.

key: string

The key of the AI Config.

messages?: LDMessage[]

Optional prompt data for judge configurations.

Optional model configuration.

provider?: LDProviderConfig

Optional configuration for the provider.

Generated using TypeDoc