Langfuse JS/TS SDKs
    Preparing search index...
    interface CodeEvaluator {
        createdAt: string;
        evaluationRuleCount: number;
        id: string;
        mapping: null | unstable.PromptVariableMappingRead[];
        name: string;
        sourceCode: string;
        sourceCodeLanguage: unstable.CodeEvaluatorSourceCodeLanguage;
        updatedAt: string;
        variables: string[];
        version: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    createdAt: string

    Timestamp when this evaluator was created.

    evaluationRuleCount: number

    Number of evaluation rules in the project that currently use this evaluator.

    id: string

    Stable identifier of this evaluator across all versions.

    Default variable mapping for this evaluator version, or null when no default is configured.

    An entry's source is null when that variable was never fully configured, and sources are not restricted by rule target here, because the default is stored on the evaluator rather than on any one rule.

    name: string

    Evaluator name.

    sourceCode: string

    Source code executed for each matched observation.

    Runtime language for sourceCode.

    updatedAt: string

    Timestamp when this evaluator was last updated.

    variables: string[]

    Variables that can be mapped when creating an evaluation rule.

    LLM evaluators require every variable to be mapped exactly once. Code evaluators always expose the fixed runtime payload fields and Langfuse maps them automatically.

    version: number

    Version number of this evaluator.