Module llama_cpp_2::grammar
source · Expand description
The grammar module contains the grammar parser and the grammar struct.
This allows creating a llama-cpp grammar. This is essentially a translation of the parser in
common to rust
Structs§
- Details of extraneous characters after a rule error.
- A grammar for llama-cpp.
Enums§
- There was an error parsing the grammar.
- An error that can occur creating a grammar from a string.