Crate llguidance

Modules§

api
derivre
earley
This is the primary interface for llguidance – the one on which the others (FFI and LLInterpreter) are built. While not cleanest of these interfaces, it is the most inclusive.
ffi
output
panic_utils
substring
toktrie

Macros§

id32_type
infoln
loginfo
warn

Structs§

CommitResult
Constraint
GrammarBuilder
Instant
A measurement of a monotonically nondecreasing clock. Opaque and useful only with Duration.
JsonCompileOptions
Logger
NodeRef
ParserFactory
StopController
TokenParser

Functions§

token_bytes_from_tokenizer_json
Parse HF tokenizer.json file and return bytes for every token

Type Aliases§

HashMap
HashSet