Member Junction
    Preparing search index...

    The JSON object AIPromptRunner writes to AIPromptRun.Messages.

    interface StoredPromptRunMessages {
        data?: unknown;
        dataCapture: TemplateDataCaptureMode;
        dataCaptureNote?: string;
        dataShape?: TemplateDataShape;
        messages: ChatMessage[];
        parallelExecution?: StoredParallelExecutionInfo;
        templateData?: unknown;
    }
    Index

    Properties

    data?: unknown

    Set in Referenced and Full mode when the caller passed data. Normally an object; a caller can pass any JSON value, and a value that is not a key/value object is stored as passed.

    The capture mode applied to this run.

    dataCaptureNote?: string

    Why the stored data differs from what the requested mode stores: a Referenced run stored as Full, or a run whose capture step failed (stored as None, with no shape).

    dataShape?: TemplateDataShape

    Set in None mode when the caller passed data or templateData.

    messages: ChatMessage[]

    The messages the model received.

    parallelExecution?: StoredParallelExecutionInfo

    Set on consolidated parallel runs.

    templateData?: unknown

    Set in Referenced and Full mode when the caller passed templateData. Stored like data.