Langfuse JS/TS SDKs
    Preparing search index...
    interface Code {
        createdAt: string;
        evaluationRuleCount: number;
        id: string;
        name: string;
        scope: unstable.EvaluatorScope;
        sourceCode: string;
        sourceCodeLanguage: unstable.CodeEvaluatorSourceCodeLanguage;
        type: "code";
        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 version.

    id: string

    Identifier of this evaluator.

    name: string

    Evaluator name.

    Where this evaluator comes from: your project or Langfuse-managed defaults.

    sourceCode: string

    Source code executed for each matched observation.

    Runtime language for sourceCode.

    type: "code"
    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.