@launchdarkly/server-sdk-ai - v2.0.21
    Preparing search index...

    Interface LDJudgeResult

    Result from a judge evaluation containing score, reasoning, and metadata.

    interface LDJudgeResult {
        errorMessage?: string;
        judgeConfigKey?: string;
        metricKey?: string;
        reasoning?: string;
        sampled: boolean;
        score?: number;
        success: boolean;
    }
    Index
    errorMessage?: string

    Error message if evaluation failed

    judgeConfigKey?: string

    The key of the judge configuration that was used to generate this result

    metricKey?: string

    The metric key for this evaluation

    reasoning?: string

    Reasoning behind the provided score

    sampled: boolean

    Whether this evaluation was sampled (i.e. actually run). False when skipped by sampling.

    score?: number

    Score between 0.0 and 1.0 indicating the evaluation result

    success: boolean

    Whether the evaluation completed successfully