SAP AI SDK for JavaScript - v2.18.0
    Preparing search index...

    Type Alias AfterLastRoleTargetSelector

    Representation of the 'AfterLastRoleTargetSelector' schema.

    type AfterLastRoleTargetSelector = {
        after_last_role: "system" | "user" | "assistant" | "developer" | "tool";
    }
    Index
    after_last_role: "system" | "user" | "assistant" | "developer" | "tool"

    Filter all messages after the last message with this role in the combined message list. If no message is scoped after applying this filter, then the filter is skipped.