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) 130 B
export declare function scoreLevels(num: number, levels: { start: number; end?: number; points: number; }[]): number;