add guide for adding template
This commit is contained in:
parent
f1a93548aa
commit
3222b4b8e5
1 changed files with 1 additions and 0 deletions
|
@ -17185,6 +17185,7 @@ LLAMA_API int32_t llama_chat_get_prefix(
|
||||||
return output;
|
return output;
|
||||||
};
|
};
|
||||||
// ttmpl means "typed template"
|
// ttmpl means "typed template"
|
||||||
|
// before adding a new template, please see the guide here: https://github.com/ggerganov/llama.cpp/wiki/Templates-supported-by-llama_chat_apply_template#how-to-add-a-new-template
|
||||||
switch (ttmpl) {
|
switch (ttmpl) {
|
||||||
case LLAMA_CHAT_TEMPLATE_NOT_SUPPORTED:
|
case LLAMA_CHAT_TEMPLATE_NOT_SUPPORTED:
|
||||||
return -1;
|
return -1;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue