source clear
command
Clear files created by node-llama-cpp
Programmatically calling the source clear
command in your code
To programmatically call this command in your code, call the ClearLlamaCppBuildCommand
function:
typescript
import {ClearLlamaCppBuildCommand} from "node-llama-cpp/commands";
await ClearLlamaCppBuildCommand({type: "all"});
Note: The
node-llama-cpp/commands
import is subject to change and is unsupported inside Electron
Usage
shell
npx --no node-llama-cpp source clear [type]