Interface WllamaCompat

Set compatibility options for Wllama. By default, these are set to URL of the latest builds on CDN, which requires internet to download. If you want to use local assets or have your own CDN, follow the instruction from @wllama/wllama-compat package.

interface WllamaCompat {
    wasm: string;
    worker: string | { code: string };
}

Properties

Properties

wasm: string
worker: string | { code: string }