/** * fozikio nli — run the bundled NLI cross-encoder service from an installed * package, no repo clone required. * * The Python service ships in the npm package under scripts/nli-service/. * On first run this creates a virtualenv at ~/.fozikio/nli-venv, installs * the service's requirements into it, and starts the server; later runs * reuse the venv. The venv lives outside node_modules so package * reinstalls/upgrades don't wipe the (large) torch install. * * Flags: * --port Listen port (default 11435 — matches LocalNLIProvider) * --host Bind address (default 127.0.0.1; keep loopback — no auth) * --model HF cross-encoder id (default cross-encoder/nli-roberta-base) * --venv Virtualenv location (default ~/.fozikio/nli-venv) * --reinstall Recreate the virtualenv from scratch */ /** Directory holding serve.py/requirements.txt, resolved relative to dist/bin/. */ export declare function serviceDir(): string; /** Path to the python executable inside a venv, per platform. */ export declare function venvPython(venvDir: string): string; /** Find a usable system Python 3 launcher. Returns null if none responds. */ export declare function findSystemPython(): string[] | null; export declare function runNliCmd(args: string[]): Promise; //# sourceMappingURL=nli-cmd.d.ts.map