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

3 lines (2 loc) 133 B
import { Token } from "../types.js"; export declare function resolveLastTokens(tokenArrays: Token[][], maxTokens?: number): Token[];