Member Junction
    Preparing search index...
    interface EvaluateParams {
        canRead?: (fieldName: string) => boolean;
        content?: RubricSubjectContent;
        context?: { entityId: string; entityName?: string; recordId: string };
        evaluator: string;
        loadRecord?: (
            entityName: string,
            recordId: string,
        ) => Promise<Record<string, unknown>>;
        passThreshold?: number;
        services?: RubricEvaluatorServices;
        settings?: RubricEvaluatorSettings;
        subject: { entityId: string; entityName: string; recordId: string };
        version: RubricVersionSnapshot;
    }
    Index

    Properties

    canRead?: (fieldName: string) => boolean
    context?: { entityId: string; entityName?: string; recordId: string }

    Optional context record. Stored with the evaluation when both halves are set.

    evaluator: string

    A registered evaluator name or alias: LLM, Decision, Agent, Deterministic, or a custom one.

    loadRecord?: (
        entityName: string,
        recordId: string,
    ) => Promise<Record<string, unknown>>

    Used when content is omitted. Loads the subject record so the engine can shape it.

    passThreshold?: number

    Stored on the draft as PassThresholdApplied. Null uses the version threshold.

    Replaces the engine's services for this call, one by one.

    What the evaluator reads: prompt, model, mode, samples, agent, and custom extensions.

    subject: { entityId: string; entityName: string; recordId: string }