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
11 lines • 325 B
JavaScript
/**
* Pushes all items from the given array or set to the given array.
* @param array - The array to push the items to
* @param items - The items to push to the array
*/
export function pushAll(array, items) {
for (const item of items)
array.push(item);
return array;
}
//# sourceMappingURL=pushAll.js.map