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§
Structs§
- Commit
Result - Constraint
- Grammar
Builder - Instant
- A measurement of a monotonically nondecreasing clock.
Opaque and useful only with
Duration
. - Json
Compile Options - Logger
- NodeRef
- Parser
Factory - Stop
Controller - Token
Parser
Functions§
- token_
bytes_ from_ tokenizer_ json - Parse HF tokenizer.json file and return bytes for every token