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

10 lines (9 loc) 291 B
import { GbnfTerminal } from "../GbnfTerminal.js"; export declare class GbnfNumber extends GbnfTerminal { readonly allowFractional: boolean; constructor({ allowFractional }: { allowFractional: boolean; }); getGrammar(): string; protected getRuleName(): string; }