Langfuse JS/TS SDKs
    Preparing search index...

    Interface CreateEvaluationRuleRequest

    interface CreateEvaluationRuleRequest {
        enabled: boolean;
        evaluatorAssignments: EvaluationRuleEvaluatorAssignmentInput[];
        filter?: EvaluationRuleFilter[];
        name: string;
        sampling?: number;
    }
    Index

    Properties

    enabled: boolean

    Whether live execution should start immediately. Enabled rules require at least one evaluator assignment.

    Evaluators to attach to this rule. Disabled rules may use an empty list as a draft.

    Conditions used to select observations. Defaults to an empty list, which matches every incoming observation.

    name: string

    Human-readable rule name. Names are not identifiers and do not need to be unique.

    sampling?: number

    Fraction of matching observations to evaluate. Omit this field to use the default of 1, which evaluates every match. null is not accepted.