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) 215 B
import { BatchItem, PrioritizedBatchItem } from "../../types.js"; export declare function maximumParallelismStrategy({ items, size }: { items: readonly BatchItem[]; size: number; }): PrioritizedBatchItem[];