Langfuse JS/TS SDKs
    Preparing search index...

    Type Alias RegressionErrorMetricOptions<Input, ExpectedOutput, Metadata>

    type RegressionErrorMetricOptions<
        Input = any,
        ExpectedOutput = any,
        Metadata extends Record<string, any> = Record<string, any>,
    > = {
        message?: string;
        metric: string;
        result: ExperimentResult<Input, ExpectedOutput, Metadata>;
        threshold?: number;
        value: number;
    }

    Type Parameters

    • Input = any
    • ExpectedOutput = any
    • Metadata extends Record<string, any> = Record<string, any>
    Index

    Properties

    message?: string
    metric: string
    threshold?: number
    value: number