A high-throughput and memory-efficient inference and serving engine for LLMs
Mirrored from https://github.com/tduncan-lum/Nvidia-Optimization-Stack---VLLM.git
Synced Nov 11, 16:15 UTC
Add more docs for regex (#30106)
Signed-off-by: Xu Song <xusong.vip@gmail.com> Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Xu Song committed
Dec 11, 2025 at 08:12 UTC
25221b44bbb6856c25d7a3c01bb6f79e999927b0
1 file changed
+1
-1
docs/features/structured_outputs.md
+1
-1
@@ -61,7 +61,7 @@ Now let´s see an example for each of the cases, starting with the `choice`, as
61
print(completion.choices[0].message.content)
62
```
63
64
-The next example shows how to use the `regex`. The idea is to generate an email address, given a simple regex template:
64
+The next example shows how to use the `regex`. The supported regex syntax depends on the structured output backend. For example, `xgrammar`, `guidance`, and `outlines` use Rust-style regex, while `lm-format-enforcer` uses Python's `re` module. The idea is to generate an email address, given a simple regex template:
65
66
??? code
67