docs: Add grammar and types to api reference

This commit is contained in:
Andrei Betlen 2023-11-23 00:27:41 -05:00
parent 6aab77de04
commit 21abefa488

View file

@ -26,6 +26,12 @@ title: API Reference
- token_eos
show_root_heading: true
::: llama_cpp.LlamaGrammar
options:
members:
- from_string
- from_json_schema
::: llama_cpp.LlamaCache
options:
show_root_heading: true
@ -68,3 +74,9 @@ title: API Reference
# filter only members starting with `LLAMA_`
filters:
- "^LLAMA_"
## Misc
::: llama_cpp.llama_types
options:
show_if_no_docstring: true