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
9 lines (8 loc) • 346 B
TypeScript
import { GbnfTerminal } from "../GbnfTerminal.js";
import { GbnfGrammarGenerator } from "../GbnfGrammarGenerator.js";
export declare class GbnfStringValue extends GbnfTerminal {
readonly value: string;
constructor(value: string);
getGrammar(): string;
protected generateRuleName(grammarGenerator: GbnfGrammarGenerator): string;
}