React Native Firebase
    Preparing search index...

    Interface SlidingWindowBeta

    Configures the sliding window context compression mechanism.

    The sliding window discards content at the beginning of the context window. The resulting context will always begin at the start of a user role turn. System instructions will always remain at the start of the result.

    interface SlidingWindow {
        targetTokens?: number;
    }
    Index

    Properties

    Properties

    targetTokens?: number

    The session reduction target, for example, how many tokens the model should keep.