@langwatch/scenario
    Preparing search index...

    Interface InterruptionConfigInit

    interface InterruptionConfigInit {
        delayRange?: readonly [number, number];
        phrases?: readonly string[];
        probability?: number;
        strategy?: InterruptionStrategy;
    }
    Index

    Properties

    delayRange?: readonly [number, number]

    Inclusive low/high seconds to wait before injecting the interruption.

    phrases?: readonly string[]

    Phrase pool used by "random_phrase" (and as few-shots for contextual).

    probability?: number

    Probability in [0, 1] that any given turn gets interrupted. Default 0.3.

    "contextual" uses an LLM; "random_phrase" picks from phrases.