For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /max/get-started.md).
Python class
StructuredOutputRegionDelimiters
StructuredOutputRegionDelimitersโ
class max.pipelines.context.StructuredOutputRegionDelimiters(start_token_ids=None, end_token_ids=None)
Bases: object
Token ID sequences that define structured output boundaries.
Used for conditional grammar enforcement: when the start sequence is detected, grammar enforcement activates. When the end sequence is detected, enforcement deactivates.
end_token_idsโ
Token ID sequence marking the end of a structured output region.
start_token_idsโ
Token ID sequence marking the start of a structured output region.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!