Member Junction
    Preparing search index...

    Interface MJTaskEntity_ITaskLoopPromptBody

    A prompt run once per loop iteration.

    The cheapest loop body there is — one model call per item, with no agent wrapper, no reasoning loop and no run record. Right when an iteration is a single transformation (classify this, describe this column); wrong the moment an iteration has to decide what to do next.

    interface MJTaskEntity_ITaskLoopPromptBody {
        name: string;
        outputMapping?: string;
        templateParameters?: Record<string, string>;
    }
    Index

    Properties

    name: string

    Prompt name. Resolved to Task.PromptID at submission, so it is a real foreign key.

    outputMapping?: string

    JSON mapping from the prompt's response into the payload, applied per iteration.

    templateParameters?: Record<string, string>

    Values bound into the template, alongside the loop's own item and index bindings.