8000 docs: Add grammar and types to api reference · qeleb/llama-cpp-python@21abefa · GitHub
[go: up one dir, main page]

Skip to content

Commit 21abefa

Browse files
committed
docs: Add grammar and types to api reference
1 parent 6aab77d commit 21abefa

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

docs/api-reference.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,12 @@ title: API Reference
2626
- token_eos
2727
show_root_heading: true
2828

29+
::: llama_cpp.LlamaGrammar
30+
options:
31+
members:
32+
- from_string
33+
- from_json_schema
34+
2935
::: llama_cpp.LlamaCache
3036
options:
3137
show_root_heading: true
@@ -68,3 +74,9 @@ title: API Reference
6874
# filter only members starting with `LLAMA_`
6975
filters:
7076
- "^LLAMA_"
77+
78+
## Misc
79+
80+
::: llama_cpp.llama_types
81+
options:
82+
show_if_no_docstring: true

0 commit comments

Comments
 (0)
0