@langwatch/scenario
    Preparing search index...

    Type Alias StateMapping

    StateMapping: (state: ScenarioExecutionStateLike) => unknown & {
        expression: string;
    }

    A mapping helper: a function of the state that names its expression.

    Type Declaration

    • expression: string

      The state expression the helper stands for, for example state.field("golden_sql").