IMPORTANT: To view this page as Markdown, append `.md` to the URL (e.g. /get-started.md). For the complete documentation index, see llms.txt.
Skip to main content
For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /get-started.md).

Python data

DEFAULT_STRUCTURED_OUTPUT_BACKEND

DEFAULT_STRUCTURED_OUTPUT_BACKEND​

max.pipelines.sampling.DEFAULT_STRUCTURED_OUTPUT_BACKEND = 'xgrammar'

source

Structured-output backend used when neither the user nor the resolved architecture specifies one. Single source of truth for the fallback in PipelineConfig._resolve_default_structured_output_backend and StructuredOutputHelper.from_tokenizer.