Langfuse JS/TS SDKs
    Preparing search index...

    Interface LegacyEvaluationRuleMapping

    Maps one evaluator variable to a trace, dataset item, or field on a named observation in a legacy rule.

    interface LegacyEvaluationRuleMapping {
        jsonPath?: string;
        langfuseObject: unstable.LegacyEvaluationObject;
        objectName: null | string;
        source: string;
        variable: string;
    }
    Index

    Properties

    jsonPath?: string

    Optional JSONPath selector applied to the selected field.

    Trace, dataset item, or observation type from which the value is read.

    objectName: null | string

    Observation name to match, or null when langfuseObject is trace or dataset_item.

    source: string

    Stored field selected from the trace, dataset item, or observation.

    variable: string

    Evaluator prompt variable populated by this mapping.