Member Junction
    Preparing search index...

    Interface EvaluateRecordInput

    interface EvaluateRecordInput {
        agent?: EvaluationAgentRunner;
        content?: RubricSubjectContent;
        contextEntityName?: string;
        contextRecordId?: string;
        evaluator?: string;
        evaluatorConfig?: unknown;
        passThreshold?: number;
        promptMode?: RubricPromptMode;
        rubricId?: string;
        rubricName?: string;
        settings?: RubricEvaluatorSettings;
        subjectEntityName: string;
        subjectRecordId: string;
        versionId?: string;
    }
    Index

    Properties

    Used by the Agent evaluator in place of the engine's agent runner.

    Subject text already in memory. When set, EvaluateRecord does not load the stored row. Self-check uses this because FinalPayload is written later.

    contextEntityName?: string
    contextRecordId?: string
    evaluator?: string

    A registered evaluator name or alias. LLM when neither this nor evaluatorConfig names one.

    evaluatorConfig?: unknown

    An evaluator selection in the AIAgentRubric.EvaluatorConfig shape, parsed or as JSON text. See ResolveRubricEvaluatorSelection. evaluator and settings override what it names.

    passThreshold?: number
    promptMode?: RubricPromptMode

    SinglePass when omitted. Shorthand for settings.Mode.

    rubricId?: string
    rubricName?: string

    Merged over the settings evaluatorConfig resolves to.

    subjectEntityName: string
    subjectRecordId: string
    versionId?: string

    When set, this version is used instead of the latest Published version.