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

11 lines 302 B
import { GbnfTerminal } from "../GbnfTerminal.js"; import { reservedRuleNames } from "./gbnfConsts.js"; export class GbnfNull extends GbnfTerminal { getGrammar() { return '"null"'; } getRuleName() { return reservedRuleNames.null; } } //# sourceMappingURL=GbnfNull.js.map