dd-trace
    Preparing search index...

    Interface EvaluationOptions

    interface EvaluationOptions {
        assessment?: "pass" | "fail";
        label: string;
        metadata?: { [key: string]: any };
        metricType: "boolean" | "categorical" | "score" | "json";
        mlApp?: string;
        reasoning?: string;
        tags?: { [key: string]: any };
        timestampMs?: number;
        value: string | number | boolean | { [key: string]: any };
    }
    Index

    Properties

    assessment?: "pass" | "fail"

    Whether the evaluation passed or failed. Valid values are pass and fail.

    label: string

    The name of the evaluation metric

    metadata?: { [key: string]: any }

    Arbitrary JSON data associated with the evaluation.

    metricType: "boolean" | "categorical" | "score" | "json"

    The type of evaluation metric, one of 'categorical', 'score', or 'boolean'

    mlApp?: string

    The name of the ML application

    reasoning?: string

    Reasoning for the evaluation result.

    tags?: { [key: string]: any }

    An object of string key-value pairs to tag the evaluation metric with.

    timestampMs?: number

    The timestamp in milliseconds when the evaluation metric result was generated.

    value: string | number | boolean | { [key: string]: any }

    The value of the evaluation metric. Must be string for 'categorical' metrics, number for 'score' metrics, boolean for 'boolean' metrics and a JSON object for 'json' metrics.