Langfuse JS/TS SDKs
    Preparing search index...

    Interface LlmAsJudgeEvaluator

    interface LlmAsJudgeEvaluator {
        createdAt: string;
        evaluationRuleCount: number;
        id: string;
        mapping: null | unstable.PromptVariableMappingRead[];
        modelConfig: null | unstable.EvaluatorModelConfig;
        name: string;
        outputDefinition: unstable.PublicEvaluatorOutputDefinition;
        prompt: string;
        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.

    modelConfig: null | unstable.EvaluatorModelConfig

    Explicit model configuration, or null when the project default evaluation model is used.

    name: string

    Evaluator name.

    Structured output schema returned by this evaluator.

    Responses always include dataType and omit the internal output-definition version. Use dataType to decide how future scores should be interpreted.

    prompt: string

    Prompt template used during evaluation.

    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.