mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-18 01:35:48 +08:00
[Doc] Add xgrammar in doc (#11549)
Signed-off-by: ccjincong <chenjincong11@gmail.com>
This commit is contained in:
parent
7af553ea30
commit
5ce4627a7e
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# Structured Outputs
|
# Structured Outputs
|
||||||
|
|
||||||
vLLM supports the generation of structured outputs using [outlines](https://github.com/dottxt-ai/outlines) or [lm-format-enforcer](https://github.com/noamgat/lm-format-enforcer) as backends for the guided decoding.
|
vLLM supports the generation of structured outputs using [outlines](https://github.com/dottxt-ai/outlines), [lm-format-enforcer](https://github.com/noamgat/lm-format-enforcer), or [xgrammar](https://github.com/mlc-ai/xgrammar) as backends for the guided decoding.
|
||||||
This document shows you some examples of the different options that are available to generate structured outputs.
|
This document shows you some examples of the different options that are available to generate structured outputs.
|
||||||
|
|
||||||
## Online Inference (OpenAI API)
|
## Online Inference (OpenAI API)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user