Home
Github
Other Resources
MLC Blog
Other Resources
MLC Blog
XGrammar
0.1.0
Get Started
Installation
Quick Start
How To
JSON Generation
EBNF-Guided Generation
Integration with LLM Engine
Portable API
API Reference
xgrammar
Table of Contents
Docs
>
Index
Edit on GitHub
Index
A
|
B
|
C
|
D
|
F
|
G
|
I
|
M
|
P
|
R
|
S
|
T
|
V
|
X
A
accept_token() (xgrammar.GrammarMatcher method)
allocate_token_bitmask() (in module xgrammar)
apply_token_bitmask_inplace() (in module xgrammar)
B
builtin_json_grammar() (xgrammar.Grammar static method)
C
clear_cache() (xgrammar.GrammarCompiler method)
compile_builtin_json_grammar() (xgrammar.GrammarCompiler method)
compile_json_schema() (xgrammar.GrammarCompiler method)
CompiledGrammar (class in xgrammar)
concat() (xgrammar.Grammar static method)
D
decoded_vocab (xgrammar.TokenizerInfo property)
dump_metadata() (xgrammar.TokenizerInfo method)
F
fill_next_token_bitmask() (xgrammar.GrammarMatcher method)
find_jump_forward_string() (xgrammar.GrammarMatcher method)
from_ebnf() (xgrammar.Grammar static method)
from_huggingface() (xgrammar.TokenizerInfo static method)
from_json_schema() (xgrammar.Grammar static method)
from_regex() (xgrammar.Grammar static method)
from_vocab_and_metadata() (xgrammar.TokenizerInfo static method)
G
get_bitmask_shape() (in module xgrammar)
Grammar (class in xgrammar)
grammar (xgrammar.CompiledGrammar property)
GrammarCompiler (class in xgrammar)
GrammarMatcher (class in xgrammar)
I
is_terminated() (xgrammar.GrammarMatcher method)
M
max_rollback_tokens (xgrammar.GrammarMatcher property)
module
xgrammar
P
prepend_space_in_tokenization (xgrammar.TokenizerInfo property)
R
reset() (xgrammar.GrammarMatcher method)
reset_token_bitmask() (in module xgrammar)
rollback() (xgrammar.GrammarMatcher method)
S
special_token_ids (xgrammar.TokenizerInfo property)
stop_token_ids (xgrammar.GrammarMatcher property)
(xgrammar.TokenizerInfo property)
T
tokenizer_info (xgrammar.CompiledGrammar property)
TokenizerInfo (class in xgrammar)
V
vocab_size (xgrammar.TokenizerInfo property)
vocab_type (xgrammar.TokenizerInfo property)
VocabType (class in xgrammar)
X
xgrammar
module