37 lines
No EOL
745 B
Markdown
37 lines
No EOL
745 B
Markdown
---
|
|
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 |