Skip to content

Commit 274c0ec

Browse files
committed
add build instructions for windows and update script link
1 parent 7d8c170 commit 274c0ec

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/llguidance.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,15 @@ cmake -B build -DLLAMA_LLGUIDANCE=ON
1313
make -C build -j
1414
```
1515

16+
For Windows use `cmake --build build --config Release` instead of `make`.
17+
1618
This requires the Rust compiler and the `cargo` tool to be [installed](https://www.rust-lang.org/tools/install).
1719

1820
## Interface
1921

2022
There are no new command-line arguments or modifications to `common_params`. When enabled, grammars starting with `%llguidance` are passed to LLGuidance instead of the [current](../grammars/README.md) llama.cpp grammars. Additionally, JSON Schema requests (e.g., using the `-j` argument in `llama-cli`) are also passed to LLGuidance.
2123

22-
For your existing GBNF grammars, you can use [gbnf_to_lark.py script](https://github.com/guidance-ai/llguidance/blob/main/scripts/gbnf_to_lark.py) to convert them to LLGuidance Lark-like format.
24+
For your existing GBNF grammars, you can use [gbnf_to_lark.py script](https://github.com/guidance-ai/llguidance/blob/main/python/llguidance/gbnf_to_lark.py) to convert them to LLGuidance Lark-like format.
2325

2426
## Performance
2527

0 commit comments

Comments
 (0)