Member Junction
    Preparing search index...

    Scores RunQuery result rows with a trained ML model, appending the prediction column. Registered on the MJGlobal ClassFactory so MJCore's RunQuery can resolve it by key without a static dependency.

    Hierarchy (View Summary)

    Index

    Constructors

    Methods

    • Enrich (append columns to) the query result rows. Implementations should return a row array of the same length and order, mutating/cloning each row to add their derived column(s). On any unrecoverable condition they may throw — RunQuery's guard will log and fall back to the original rows.

      Parameters

      • opts: {
            config: Record<string, unknown>;
            contextUser?: UserInfo;
            provider?: IMetadataProvider;
            query?: QueryInfo;
            rows: Record<string, unknown>[];
        }

      Returns Promise<Record<string, unknown>[]>