UNPKG

node-llama-cpp

Version:

Run AI models locally on your machine with node.js bindings for llama.cpp. Enforce a JSON schema on the model output on the generation level

6 lines (5 loc) 270 B
/** * Returns a promise that fulfills as soon as any of the promises return `true`. * Note that this function will not throw on error and instead will log the error to the console. */ export declare function asyncSome(promises: Promise<boolean>[]): Promise<boolean>;