We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5ac732 commit 6a5110bCopy full SHA for 6a5110b
docs/guide/grammar.md
@@ -184,7 +184,7 @@ import fs from "fs/promises";
184
import {getLlama, LlamaChatSession} from "node-llama-cpp";
185
186
const __dirname = path.dirname(fileURLToPath(import.meta.url));
187
-const myGrammar = await fs.readFile(path.join(__dirname, "my-json-grammar.gbnf"), "utf-8");
+const myGrammar = await fs.readFile(path.join(__dirname, "my-json-grammar.gbnf"), "utf8");
188
189
const llama = await getLlama();
190
const model = await llama.loadModel({
0 commit comments