llama : add enum for built-in chat templates (#10623)
* llama : add enum for supported chat templates * use "built-in" instead of "supported" * arg: print list of built-in templates * fix test * update server README
This commit is contained in:
parent
8648c52101
commit
642330ac7c
5 changed files with 310 additions and 107 deletions
|
@ -990,6 +990,9 @@ extern "C" {
|
|||
char * buf,
|
||||
int32_t length);
|
||||
|
||||
// Get list of built-in chat templates
|
||||
int32_t llama_chat_builtin_templates(const char ** output, size_t len);
|
||||
|
||||
//
|
||||
// Sampling API
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue