@team-speed-kit/predictive-preloading
    Preparing search index...

    Type Alias MlPreloadOptions

    Options to configure which ml model to be used and what threshold to apply when identifying preload candidates.

    type MlPreloadOptions = {
        model: Model;
        threshold: number | { desktop?: number; mobile?: number };
    }
    Index

    Properties

    Properties

    model: Model
    threshold: number | { desktop?: number; mobile?: number }