Member Junction
    Preparing search index...

    Interface AIMediaRunOutcome<TOutput>

    A media runner's result as the shared lifecycle produces it: the common fields and the driver's output.

    interface AIMediaRunOutcome<TOutput> {
        DriverClass?: string;
        ErrorMessage?: string;
        ExecutionTimeMS: number;
        ModelID?: string;
        ModelName?: string;
        Output?: TOutput;
        PromptRunID?: string;
        Success: boolean;
    }

    Type Parameters

    • TOutput

    Hierarchy (View Summary)

    Index

    Properties

    DriverClass?: string

    The driver class of that model's vendor.

    ErrorMessage?: string

    Why the call failed, when it did.

    ExecutionTimeMS: number

    Wall-clock time for the whole call, in milliseconds.

    ModelID?: string

    The model that answered after any failover, or the last one tried when the call failed.

    ModelName?: string

    The name of that model.

    Output?: TOutput

    The driver's result. Absent when the call never reached a model.

    PromptRunID?: string

    The MJ: AI Prompt Runs row for this call. Absent when the call never reached a model.

    Success: boolean

    Whether the driver reported success.