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

2 lines (1 loc) 114 B
export declare function padSafeContextSize(value: number, padDirection: "up" | "down", padding?: number): number;