OptionalassetsCLI-generated asset directory, including its manifest and workers.
Enables self-hosting with no upstream fallback. Cannot be combined with
modelUrl or wasmUrl. A trailing slash is added when necessary.
OptionalcacheUse verified IndexedDB asset persistence or disable SDK persistence.
Storage unavailability falls back to ordinary loading. none does not disable HTTP caching.
OptionalmodelMirror of the exact pinned model bytes. Defaults to the immutable official model URL.
OptionalonObserver for asset loading and readiness; exceptions in the callback are ignored.
OptionalsignalInitialization-only cancellation; detached when the factory resolves.
OptionalwasmMirror of the exact pinned WASM bytes. Defaults to packaged needle.wasm.
OptionalworkerMatching module-worker URL; normally same-origin. Defaults to the packaged/asset-directory worker.
Browser factory configuration; all URLs resolve relative to
document.baseURI.