langchain.js
    Preparing search index...

    Type Alias EvaluationResult

    Represents the result of an evaluation.

    type EvaluationResult = {
        comment?: string;
        correction?: Record<string, unknown>;
        evaluatorInfo?: Record<string, unknown>;
        feedbackConfig?: FeedbackConfig;
        key: string;
        score?: ScoreType;
        sourceRunId?: string;
        targetRunId?: string;
        value?: ValueType;
    }
    Index

    Properties

    comment?: string

    A comment associated with the evaluation result.

    correction?: Record<string, unknown>

    A correction record associated with the evaluation result.

    evaluatorInfo?: Record<string, unknown>

    Information about the evaluator.

    feedbackConfig?: FeedbackConfig

    The feedback config associated with the evaluation result. If set, this will be used to define how a feedback key should be interpreted.

    key: string

    The key associated with the evaluation result.

    score?: ScoreType

    The score of the evaluation result.

    sourceRunId?: string

    The source run ID of the evaluation result. If set, a link to the source run will be available in the UI.

    targetRunId?: string

    The target run ID of the evaluation result. If this is not set, the target run ID is assumed to be the root of the trace.

    value?: ValueType

    The value of the evaluation result.