Update docs

This commit is contained in:
Andrei Betlen 2023-06-27 12:45:31 -04:00
parent 452929404f
commit dae983342a
2 changed files with 37 additions and 36 deletions

37
docs/api-reference.md Normal file
View file

@ -0,0 +1,37 @@
---
title: API Reference
---
::: llama_cpp.Llama
options:
members:
- __init__
- tokenize
- detokenize
- reset
- eval
- sample
- generate
- create_embedding
- embed
- create_completion
- __call__
- create_chat_completion
- set_cache
- save_state
- load_state
- token_bos
- token_eos
show_root_heading: true
::: llama_cpp.LlamaCache
options:
show_root_heading: true
::: llama_cpp.LlamaState
options:
show_root_heading: true
::: llama_cpp.llama_cpp
options:
show_if_no_docstring: true

View file

@ -87,42 +87,6 @@ git submodule update --init --recursive
python3 setup.py develop python3 setup.py develop
``` ```
## API Reference
::: llama_cpp.Llama
options:
members:
- __init__
- tokenize
- detokenize
- reset
- eval
- sample
- generate
- create_embedding
- embed
- create_completion
- __call__
- create_chat_completion
- set_cache
- save_state
- load_state
- token_bos
- token_eos
show_root_heading: true
::: llama_cpp.LlamaCache
options:
show_root_heading: true
::: llama_cpp.LlamaState
options:
show_root_heading: true
::: llama_cpp.llama_cpp
options:
show_if_no_docstring: true
## License ## License
This project is licensed under the terms of the MIT license. This project is licensed under the terms of the MIT license.