Langfuse JS/TS SDKs
    Preparing search index...

    Type Alias RegressionErrorOptions<Input, ExpectedOutput, Metadata>

    type RegressionErrorOptions<
        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