actrone-memory
    Preparing search index...

    Function buildLocalEmbedder

    • Return the best available local, offline, zero-egress embedder, degrading gracefully: in-process ONNX (FastEmbedEmbedder, the fastembed peer) → dependency-free lexical hashing (LocalEmbedder). An import failure (peer absent) or a model-fetch failure (air-gapped first run) falls through to hashing, with a one-time process warning that says why, so this never throws and never makes an unavoidable network call.

      Parameters

      • opts: { modelName?: string; cacheDir?: string; hashingDimensions?: number } = {}

      Returns Promise<Embedder>